Skip to main content

transport

vehicleName​

Description​

Method that generate random vehicle model with random vehicle manufacturer

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.vehicleName());
    1. result
    'Chrysler CTS'

vehicleManufacturer​

Description​

Method that generate random vehicle manufacturer

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.vehicleManufacturer());
    1. result
    'Honda'

vehicleModel​

Description​

Method that generate random vehicle model

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.vehicleModel());
    1. result
    'Grand Caravan'

vehicleType​

Description​

Method that generate random vehicle type

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.vehicleType());
    1. result
    'SUV'

vehicleFuel​

Description​

Method that generate random vehicle fuel

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.vehicleFuel());
    1. result
    'Gasoline'

vehicleVin​

Description​

Method that generate random vehicle VIN (Vehicle Identification Number)

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.vehicleVin());
    1. result
    'D43YP09DGDJV39737'

vehicleColor​

Description​

Method that generate random vehicle color. It is the same as pure.commerce.color

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.vehicleColor());
    1. result
    'salmon'

vehicleRM​

Description​

Method that generate random vehicle RM (Registration Mark) typically found in UK

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.vehicleRM());
    1. result
    'HC92MHZ'

airportName​

Description​

Method that generate random airport name

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.airportName());
    1. result
    'Cork Airport'

airportIata​

Description​

Method that generate random IATA (International Air Transport Association) airport code

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.airportIata());
    1. result
    'XTD'

airportIcao​

Description​

Method that generate random ICAO (International Civil Aviation Organization) airport code

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.transport.airportIcao());
    1. result
    'BO'