-
- 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.String
getCondition()
Condition of the item.CurrencyEnumeration
getCurrency()
Currency of the price amount for an item.String
getDeliveryNotes()
Additional instructions to explain the item’s delivery process.FloatUnit
getDeliveryRadius()
The maximum distance you will deliver an item in any direction.String
getLocation()
Location of a property.String
getMake()
The vehicle manufacturer.Integer
getMileage()
Current mileage of the vehicle.String
getModel()
The vehicle model.PaymentTypeEnumeration[]
getPaymentAccepted()
Payment Methods acceptable for the service.String
getPaymentNotes()
Additional payment information.FloatUnit
getPrice()
Price for the service.PriceTypeEnumeration
getPriceType()
Price type information.Integer
getQuantity()
Quantity available.ShippingType[]
getShipping()
Shipping options available for an item.Float
getTaxPercent()
Tax rate associated with the item.String
getTaxRegion()
Region where tax applies.String
getVehicleType()
The type of vehicle: Car, motorcycle, scooter, etc.String
getVin()
Vehicle Identification Number.YearType
getYear()
The four digit model year or year built.void
setColors(String[] color)
Color of an item.void
setCondition(String condition)
Condition of the item.void
setCurrency(CurrencyEnumeration value)
Currency of the price amount for an item.void
setDeliveryNotes(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(String location)
Location of a property.void
setMake(String make)
The vehicle manufacturer.void
setMileage(Integer mileage)
Current mileage of the vehicle.void
setModel(String model)
The vehicle model.void
setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
Payment Methods acceptable for the service.void
setPaymentNotes(String paymentNotes)
Additional payment information.void
setPrice(FloatUnit price)
Price for the service.void
setPriceType(PriceTypeEnumeration priceType)
Price type information.void
setQuantity(Integer quantity)
Quantity available.void
setShipping(ShippingType[] shipping)
Shipping options available for an item.void
setTaxPercent(Float taxPercent)
Tax rate associated with the item.void
setTaxRegion(String taxRegion)
Region where tax applies.void
setVehicleType(String vehicleType)
The type of vehicle: Car, motorcycle, scooter, etc.void
setVin(String vin)
Vehicle Identification Number.void
setYear(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.
-
-