public interface Vehicle extends GlobalInterface
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getColors()
Color of an item.
|
java.lang.String |
getCondition()
Condition of the item.
|
CurrencyEnumeration |
getCurrency()
Currency of the price amount for an item.
|
java.lang.String |
getDeliveryNotes()
Additional instructions to explain the item’s delivery process.
|
FloatUnit |
getDeliveryRadius()
The maximum distance you will deliver an item in any direction.
|
java.lang.String |
getLocation()
Location of a property.
|
java.lang.String |
getMake()
The vehicle manufacturer.
|
java.lang.Integer |
getMileage()
Current mileage of the vehicle.
|
java.lang.String |
getModel()
The vehicle model.
|
PaymentTypeEnumeration[] |
getPaymentAccepted()
Payment Methods acceptable for the service.
|
java.lang.String |
getPaymentNotes()
Additional payment information.
|
FloatUnit |
getPrice()
Price for the service.
|
PriceTypeEnumeration |
getPriceType()
Price type information.
|
java.lang.Integer |
getQuantity()
Quantity available.
|
ShippingType[] |
getShipping()
Shipping options available for an item.
|
java.lang.Float |
getTaxPercent()
Tax rate associated with the item.
|
java.lang.String |
getTaxRegion()
Region where tax applies.
|
java.lang.String |
getVehicleType()
The type of vehicle: Car, motorcycle, scooter, etc.
|
java.lang.String |
getVin()
Vehicle Identification Number.
|
YearType |
getYear()
The four digit model year or year built.
|
void |
setColors(java.lang.String[] color)
Color of an item.
|
void |
setCondition(java.lang.String condition)
Condition of the item.
|
void |
setCurrency(CurrencyEnumeration value)
Currency of the price amount for an item.
|
void |
setDeliveryNotes(java.lang.String deliveryNotes)
Additional instructions to explain the item’s delivery process.
|
void |
setDeliveryRadius(FloatUnit deliveryRadius)
The maximum distance you will deliver an item in any direction.
|
void |
setLocation(java.lang.String location)
Location of a property.
|
void |
setMake(java.lang.String make)
The vehicle manufacturer.
|
void |
setMileage(java.lang.Integer mileage)
Current mileage of the vehicle.
|
void |
setModel(java.lang.String model)
The vehicle model.
|
void |
setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
Payment Methods acceptable for the service.
|
void |
setPaymentNotes(java.lang.String paymentNotes)
Additional payment information.
|
void |
setPrice(FloatUnit price)
Price for the service.
|
void |
setPriceType(PriceTypeEnumeration priceType)
Price type information.
|
void |
setQuantity(java.lang.Integer quantity)
Quantity available.
|
void |
setShipping(ShippingType[] shipping)
Shipping options available for an item.
|
void |
setTaxPercent(java.lang.Float taxPercent)
Tax rate associated with the item.
|
void |
setTaxRegion(java.lang.String taxRegion)
Region where tax applies.
|
void |
setVehicleType(java.lang.String vehicleType)
The type of vehicle: Car, motorcycle, scooter, etc.
|
void |
setVin(java.lang.String vin)
Vehicle Identification Number.
|
void |
setYear(YearType year)
The four digit model year or year built.
|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
void setColors(java.lang.String[] color)
color | |
Details | Color of an item. |
Example | <g:color>Black</g:color> |
Attribute of | Products, Vehicles |
Content type | string |
color
- Color of an item.java.lang.String[] getColors()
color | |
Details | Color of an item. |
Example | <g:color>Black</g:color> |
Attribute of | Products, Vehicles |
Content type | string |
void setCondition(java.lang.String condition)
condition | |
Details | Condition of the item. For example: new, used, or refurbished. |
Example | <g:condition>refurbished</g:condition> |
Attribute of | Products, Vehicles |
Content type | string |
condition
- Condition of the item. For example: new, used, or refurbished.java.lang.String getCondition()
condition | |
Details | Condition of the item. For example: new, used, or refurbished. |
Example | <g:condition>refurbished</g:condition> |
Attribute of | Products, Vehicles |
Content type | string |
void setCurrency(CurrencyEnumeration value)
currency | |
Details | Currency of the price amount for an item. Values must be in ISO 4217 currency code format. |
Example | Acceptable: <g:currency>USD</g:currency> Not acceptable: <g:currency>US Dollars</g:currency> |
Attribute of | Events, Housing, Products, Services, Travel, Vehicles |
Content type | currencyEnumeration |
value
- Currency of the price amount for an item.CurrencyEnumeration getCurrency()
currency | |
Details | Currency of the price amount for an item. Values must be in ISO 4217 currency code format. |
Example | Acceptable: <g:currency>USD</g:currency> Not acceptable: <g:currency>US Dollars</g:currency> |
Attribute of | Events, Housing, Products, Services, Travel, Vehicles |
Content type | currencyEnumeration |
void setDeliveryNotes(java.lang.String deliveryNotes)
deliveryNotes
- Additional instructions to explain the item’s delivery process.java.lang.String getDeliveryNotes()
void setDeliveryRadius(FloatUnit deliveryRadius)
deliveryRadius
- The maximum distance you will deliver an item in any direction.FloatUnit getDeliveryRadius()
void setLocation(java.lang.String location)
location
- Location of a property. Should include street, city, state, postal code, and
country, in that order.java.lang.String getLocation()
void setMake(java.lang.String make)
make | |
Details | The vehicle manufacturer. |
Example | <g:make>Honda</g:make> |
Attribute of | Vehicles |
Content type | string |
make
- The vehicle manufacturer.java.lang.String getMake()
make | |
Details | The vehicle manufacturer. |
Example | <g:make>Honda</g:make> |
Attribute of | Vehicles |
Content type | string |
void setMileage(java.lang.Integer mileage)
mileage | |
Details | Current mileage of the vehicle. |
Example | <g:mileage>1700</g:mileage> <g:mileage>1,700 miles</g:mileage> |
Attribute of | Vehicles |
Content type | intUnit |
mileage
- Current mileage of the vehicle.java.lang.Integer getMileage()
mileage | |
Details | Current mileage of the vehicle. |
Example | <g:mileage>1700</g:mileage> <g:mileage>1,700 miles</g:mileage> |
Attribute of | Vehicles |
Content type | intUnit |
void setModel(java.lang.String model)
model | |
Details | The vehicle model. |
Example | <g:model>Camry</g:model> |
Attribute of | Vehicles |
Content type | string |
model
- The vehicle model.java.lang.String getModel()
model | |
Details | The vehicle model. |
Example | <g:model>Camry</g:model> |
Attribute of | Vehicles |
Content type | string |
void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
paymentAccepted
- Payment Methods acceptable for the service.PaymentTypeEnumeration[] getPaymentAccepted()
void setPaymentNotes(java.lang.String paymentNotes)
paymentNotes
- Additional payment information.java.lang.String getPaymentNotes()
void setPrice(FloatUnit price)
price
- Price for the service.FloatUnit getPrice()
void setPriceType(PriceTypeEnumeration priceType)
priceType
- Price type information.PriceTypeEnumeration getPriceType()
void setQuantity(java.lang.Integer quantity)
quantity
- Quantity available.java.lang.Integer getQuantity()
void setShipping(ShippingType[] shipping)
shipping
- Shipping options available for an item.ShippingType[] getShipping()
void setTaxPercent(java.lang.Float taxPercent)
tax_percent | |
Details | Tax rate as a percentage. |
Example | <g:tax_percent>8.2<g:/tax_percent> |
Attribute of | Products, Events |
Content type | percentType |
taxPercent
- Tax rate associated with the event.java.lang.Float getTaxPercent()
tax_percent | |
Details | Tax rate as a percentage. |
Example | <g:tax_percent>8.2<g:/tax_percent> |
Attribute of | Products, Events |
Content type | percentType |
void setTaxRegion(java.lang.String taxRegion)
tax_region | |
Details | Geographical region a tax rate applies to. |
Example | <g:tax_region>California</g:tax_region> |
Attribute of | Product, Events, |
Content type | string |
taxRegion
- Region where tax applies.java.lang.String getTaxRegion()
tax_region | |
Details | Geographical region a tax rate applies to. |
Example | <g:tax_region>California</g:tax_region> |
Attribute of | Product, Events, |
Content type | string |
void setVehicleType(java.lang.String vehicleType)
vehicle_type | |
Details | The type of vehicle: Car, motorcycle, scooter, etc. |
Example | <g:vehicle_type>truck</g:vehicle_type> |
Attribute of | Products |
Content type | string |
vehicleType
- The type of vehicle: Car, motorcycle, scooter, etc.java.lang.String getVehicleType()
vehicle_type | |
Details | The type of vehicle: Car, motorcycle, scooter, etc. |
Example | <g:vehicle_type>truck</g:vehicle_type> |
Attribute of | Products |
Content type | string |
void setVin(java.lang.String vin)
vin | |
Details | Vehicle Identification Number. |
Example | <g:vin>1M8GDM9AXKP042788</g:vin> |
Attribute of | Vehicles |
Content type | string |
vin
- Vehicle Identification Number.java.lang.String getVin()
vin | |
Details | Vehicle Identification Number. |
Example | <g:vin>1M8GDM9AXKP042788</g:vin> |
Attribute of | Vehicles |
Content type | string |
void setYear(YearType year)
year
- The four digit model year or year built.YearType getYear()