Package com.rometools.modules.base
Interface Vehicle
-
- All Superinterfaces:
GlobalInterface,Serializable
- All Known Subinterfaces:
GoogleBase
- All Known Implementing Classes:
GoogleBaseImpl
public interface Vehicle extends GlobalInterface
This is an interface for the GoogleBase plug in that exposes methods used for vehicles.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getColors()Color of an item.StringgetCondition()Condition of the item.CurrencyEnumerationgetCurrency()Currency of the price amount for an item.StringgetDeliveryNotes()Additional instructions to explain the item’s delivery process.FloatUnitgetDeliveryRadius()The maximum distance you will deliver an item in any direction.StringgetLocation()Location of a property.StringgetMake()The vehicle manufacturer.IntegergetMileage()Current mileage of the vehicle.StringgetModel()The vehicle model.PaymentTypeEnumeration[]getPaymentAccepted()Payment Methods acceptable for the service.StringgetPaymentNotes()Additional payment information.FloatUnitgetPrice()Price for the service.PriceTypeEnumerationgetPriceType()Price type information.IntegergetQuantity()Quantity available.ShippingType[]getShipping()Shipping options available for an item.FloatgetTaxPercent()Tax rate associated with the item.StringgetTaxRegion()Region where tax applies.StringgetVehicleType()The type of vehicle: Car, motorcycle, scooter, etc.StringgetVin()Vehicle Identification Number.YearTypegetYear()The four digit model year or year built.voidsetColors(String[] color)Color of an item.voidsetCondition(String condition)Condition of the item.voidsetCurrency(CurrencyEnumeration value)Currency of the price amount for an item.voidsetDeliveryNotes(String deliveryNotes)Additional instructions to explain the item’s delivery process.voidsetDeliveryRadius(FloatUnit deliveryRadius)The maximum distance you will deliver an item in any direction.voidsetLocation(String location)Location of a property.voidsetMake(String make)The vehicle manufacturer.voidsetMileage(Integer mileage)Current mileage of the vehicle.voidsetModel(String model)The vehicle model.voidsetPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)Payment Methods acceptable for the service.voidsetPaymentNotes(String paymentNotes)Additional payment information.voidsetPrice(FloatUnit price)Price for the service.voidsetPriceType(PriceTypeEnumeration priceType)Price type information.voidsetQuantity(Integer quantity)Quantity available.voidsetShipping(ShippingType[] shipping)Shipping options available for an item.voidsetTaxPercent(Float taxPercent)Tax rate associated with the item.voidsetTaxRegion(String taxRegion)Region where tax applies.voidsetVehicleType(String vehicleType)The type of vehicle: Car, motorcycle, scooter, etc.voidsetVin(String vin)Vehicle Identification Number.voidsetYear(YearType year)The four digit model year or year built.-
Methods inherited from interface com.rometools.modules.base.GlobalInterface
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
-
-
-
-
Method Detail
-
setColors
void setColors(String[] color)
Color of an item.color Details Color of an item. Example <g:color>Black</g:color> Attribute of Products, Vehicles Content type string - Parameters:
color- Color of an item.
-
getColors
String[] getColors()
Color of an item.color Details Color of an item. Example <g:color>Black</g:color> Attribute of Products, Vehicles Content type string - Returns:
- Color of an item.
-
setCondition
void setCondition(String condition)
Condition of the item. For example: new, used, or refurbished.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 - Parameters:
condition- Condition of the item. For example: new, used, or refurbished.
-
getCondition
String getCondition()
Condition of the item. For example: new, used, or refurbished.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 - Returns:
- Condition of the item. For example: new, used, or refurbished.
-
setCurrency
void setCurrency(CurrencyEnumeration value)
Currency of the price amount for an item.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 - Parameters:
value- Currency of the price amount for an item.
-
getCurrency
CurrencyEnumeration getCurrency()
Currency of the price amount for an item.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 - Returns:
- Currency of the price amount for an item.
-
setDeliveryNotes
void setDeliveryNotes(String deliveryNotes)
Additional instructions to explain the item’s delivery process.- Parameters:
deliveryNotes- Additional instructions to explain the item’s delivery process.
-
getDeliveryNotes
String getDeliveryNotes()
Additional instructions to explain the item’s delivery process.- Returns:
- Additional instructions to explain the item’s delivery process.
-
setDeliveryRadius
void setDeliveryRadius(FloatUnit deliveryRadius)
The maximum distance you will deliver an item in any direction.- Parameters:
deliveryRadius- The maximum distance you will deliver an item in any direction.
-
getDeliveryRadius
FloatUnit getDeliveryRadius()
The maximum distance you will deliver an item in any direction.- Returns:
- The maximum distance you will deliver an item in any direction.
-
setLocation
void setLocation(String location)
Location of a property. Should include street, city, state, postal code, and country, in that order.- Parameters:
location- Location of a property. Should include street, city, state, postal code, and country, in that order.
-
getLocation
String getLocation()
Location of a property. Should include street, city, state, postal code, and country, in that order.- Returns:
- Location of a property. Should include street, city, state, postal code, and country, in that order.
-
setMake
void setMake(String make)
The vehicle manufacturer.make Details The vehicle manufacturer. Example <g:make>Honda</g:make> Attribute of Vehicles Content type string - Parameters:
make- The vehicle manufacturer.
-
getMake
String getMake()
The vehicle manufacturer.make Details The vehicle manufacturer. Example <g:make>Honda</g:make> Attribute of Vehicles Content type string - Returns:
- The vehicle manufacturer.
-
setMileage
void setMileage(Integer mileage)
Current mileage of the vehicle.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 - Parameters:
mileage- Current mileage of the vehicle.
-
getMileage
Integer getMileage()
Current mileage of the vehicle.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 - Returns:
- Current mileage of the vehicle.
-
setModel
void setModel(String model)
The vehicle model.model Details The vehicle model. Example <g:model>Camry</g:model> Attribute of Vehicles Content type string - Parameters:
model- The vehicle model.
-
getModel
String getModel()
The vehicle model.model Details The vehicle model. Example <g:model>Camry</g:model> Attribute of Vehicles Content type string - Returns:
- The vehicle model.
-
setPaymentAccepted
void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
Payment Methods acceptable for the service.- Parameters:
paymentAccepted- Payment Methods acceptable for the service.
-
getPaymentAccepted
PaymentTypeEnumeration[] getPaymentAccepted()
Payment Methods acceptable for the service.- Returns:
- Payment Methods acceptable for the service.
-
setPaymentNotes
void setPaymentNotes(String paymentNotes)
Additional payment information.- Parameters:
paymentNotes- Additional payment information.
-
getPaymentNotes
String getPaymentNotes()
Additional payment information.- Returns:
- Additional payment information.
-
setPrice
void setPrice(FloatUnit price)
Price for the service.
- Parameters:
price- Price for the service.
-
getPrice
FloatUnit getPrice()
Price for the service.
- Returns:
- Price for the service.
-
setPriceType
void setPriceType(PriceTypeEnumeration priceType)
Price type information.- Parameters:
priceType- Price type information.
-
getPriceType
PriceTypeEnumeration getPriceType()
Price type information.- Returns:
- Price type information.
-
setQuantity
void setQuantity(Integer quantity)
Quantity available.- Parameters:
quantity- Quantity available.
-
getQuantity
Integer getQuantity()
Quantity available.- Returns:
- Quantity available.
-
setShipping
void setShipping(ShippingType[] shipping)
Shipping options available for an item.- Parameters:
shipping- Shipping options available for an item.
-
getShipping
ShippingType[] getShipping()
Shipping options available for an item.- Returns:
- Shipping options available for an item.
-
setTaxPercent
void setTaxPercent(Float taxPercent)
Tax rate associated with the item.tax_percent Details Tax rate as a percentage. Example <g:tax_percent>8.2<g:/tax_percent> Attribute of Products, Events Content type percentType - Parameters:
taxPercent- Tax rate associated with the event.
-
getTaxPercent
Float getTaxPercent()
Tax rate associated with the item.tax_percent Details Tax rate as a percentage. Example <g:tax_percent>8.2<g:/tax_percent> Attribute of Products, Events Content type percentType - Returns:
- Tax rate associated with the event.
-
setTaxRegion
void setTaxRegion(String taxRegion)
Region where tax applies.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 - Parameters:
taxRegion- Region where tax applies.
-
getTaxRegion
String getTaxRegion()
Region where tax applies.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 - Returns:
- Region where tax applies.
-
setVehicleType
void setVehicleType(String vehicleType)
The type of vehicle: Car, motorcycle, scooter, etc.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 - Parameters:
vehicleType- The type of vehicle: Car, motorcycle, scooter, etc.
-
getVehicleType
String getVehicleType()
The type of vehicle: Car, motorcycle, scooter, etc.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 - Returns:
- The type of vehicle: Car, motorcycle, scooter, etc.
-
setVin
void setVin(String vin)
Vehicle Identification Number.vin Details Vehicle Identification Number. Example <g:vin>1M8GDM9AXKP042788</g:vin> Attribute of Vehicles Content type string - Parameters:
vin- Vehicle Identification Number.
-
getVin
String getVin()
Vehicle Identification Number.vin Details Vehicle Identification Number. Example <g:vin>1M8GDM9AXKP042788</g:vin> Attribute of Vehicles Content type string - Returns:
- Vehicle Identification Number.
-
setYear
void setYear(YearType year)
The four digit model year or year built.- Parameters:
year- The four digit model year or year built.
-
getYear
YearType getYear()
The four digit model year or year built.- Returns:
- The four digit model year or year built.
-
-