|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Vehicle
This is an interface for the GoogleBase plug in that exposes methods used for vehicles.
Method Summary | |
---|---|
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 org.rometools.feed.module.base.GlobalInterface |
---|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels |
Method Detail |
---|
void setColors(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.String[] getColors()
color | |
Details | Color of an item. |
Example | <g:color>Black</g:color> |
Attribute of | Products, Vehicles |
Content type | string |
void setCondition(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.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(String deliveryNotes)
deliveryNotes
- Additional instructions to explain the item’s delivery process.String getDeliveryNotes()
void setDeliveryRadius(FloatUnit deliveryRadius)
deliveryRadius
- The maximum distance you will deliver an item in any direction.FloatUnit getDeliveryRadius()
void setLocation(String location)
location
- Location of a property. Should include street, city, state, postal code, and country, in that order.String getLocation()
void setMake(String make)
make | |
Details | The vehicle manufacturer. |
Example | <g:make>Honda</g:make> |
Attribute of | Vehicles |
Content type | string |
make
- The vehicle manufacturer.String getMake()
make | |
Details | The vehicle manufacturer. |
Example | <g:make>Honda</g:make> |
Attribute of | Vehicles |
Content type | string |
void setMileage(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.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(String model)
model | |
Details | The vehicle model. |
Example | <g:model>Camry</g:model> |
Attribute of | Vehicles |
Content type | string |
model
- The vehicle model.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(String paymentNotes)
paymentNotes
- Additional payment information.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(Integer quantity)
quantity
- Quantity available.Integer getQuantity()
void setShipping(ShippingType[] shipping)
shipping
- Shipping options available for an item.ShippingType[] getShipping()
void setTaxPercent(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.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(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.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(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.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(String vin)
vin | |
Details | Vehicle Identification Number. |
Example | <g:vin>1M8GDM9AXKP042788</g:vin> |
Attribute of | Vehicles |
Content type | string |
vin
- Vehicle Identification Number.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |