transport
vehicleName​
Description​
Method that generate random vehicle model with random vehicle manufacturer
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.vehicleName());
- result
'Chrysler CTS'
vehicleManufacturer​
Description​
Method that generate random vehicle manufacturer
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.vehicleManufacturer());
- result
'Honda'
vehicleModel​
Description​
Method that generate random vehicle model
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.vehicleModel());
- result
'Grand Caravan'
vehicleType​
Description​
Method that generate random vehicle type
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.vehicleType());
- result
'SUV'
vehicleFuel​
Description​
Method that generate random vehicle fuel
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.vehicleFuel());
- result
'Gasoline'
vehicleVin​
Description​
Method that generate random vehicle VIN (Vehicle Identification Number)
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.vehicleVin());
- result
'D43YP09DGDJV39737'
vehicleColor​
Description​
Method that generate random vehicle color. It is the same as pure.commerce.color
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.vehicleColor());
- result
'salmon'
vehicleRM​
Description​
Method that generate random vehicle RM (Registration Mark) typically found in UK
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.vehicleRM());
- result
'HC92MHZ'
airportName​
Description​
Method that generate random airport name
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.airportName());
- result
'Cork Airport'
airportIata​
Description​
Method that generate random IATA (International Air Transport Association) airport code
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.airportIata());
- result
'XTD'
airportIcao​
Description​
Method that generate random ICAO (International Civil Aviation Organization) airport code
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.transport.airportIcao());
- result
'BO'