|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Travel
This is an interface for the GoogleBase plug in that exposes methods used for travel items.
Method Summary | |
---|---|
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 |
getFromLocation()
Starting city and state/country of the trip. |
java.lang.String |
getLocation()
Location of the property. |
PaymentTypeEnumeration[] |
getPaymentAccepted()
Acceptable payment methods for item purchases. |
java.lang.String |
getPaymentNotes()
Additional instructions to explain a payment policy. |
FloatUnit |
getPrice()
Price of the item. |
PriceTypeEnumeration |
getPriceType()
The type of pricing for the item. |
java.lang.Integer |
getQuantity()
Quantity available. |
ShippingType[] |
getShipping()
Shipping options available for an item. |
java.lang.Float |
getTaxPercent()
Tax rate associated with the service. |
java.lang.String |
getTaxRegion()
Region where tax applies. |
java.lang.String |
getToLocation()
Destination city and state/country of the trip. |
DateTimeRange |
getTravelDateRange()
Departure date and time of the trip. |
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 |
setFromLocation(java.lang.String fromLocation)
Starting city and state/country of the trip. |
void |
setLocation(java.lang.String location)
Location of the property. |
void |
setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
Acceptable payment methods for item purchases. |
void |
setPaymentNotes(java.lang.String paymentNotes)
Additional instructions to explain a payment policy. |
void |
setPriceType(PriceTypeEnumeration priceType)
The type of pricing for the item. |
void |
setQuantity(java.lang.Integer quantity)
Quantity available. |
void |
setTaxPercent(java.lang.Float taxPercent)
Tax rate associated with the event. |
void |
setTaxRegion(java.lang.String taxRegion)
Region where tax applies. |
void |
setToLocation(java.lang.String toLocation)
Destination city and state/country of the trip. |
void |
setTravelDateRange(DateTimeRange travelDateRange)
Departure date and time of the trip. |
Methods inherited from interface com.sun.syndication.feed.module.base.GlobalInterface |
---|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels |
Method Detail |
---|
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 setFromLocation(java.lang.String fromLocation)
fromLocation
- Starting city and state/country of the trip.java.lang.String getFromLocation()
void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
paymentAccepted
- Acceptable payment methods for item purchases.PaymentTypeEnumeration[] getPaymentAccepted()
void setPaymentNotes(java.lang.String paymentNotes)
paymentNotes
- Additional instructions to explain a payment policy.java.lang.String getPaymentNotes()
FloatUnit getPrice()
void setPriceType(PriceTypeEnumeration priceType)
priceType
- The type of pricing for the item.PriceTypeEnumeration getPriceType()
void setQuantity(java.lang.Integer quantity)
quantity
- Quantity available.java.lang.Integer getQuantity()
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 setToLocation(java.lang.String toLocation)
toLocation
- Destination city and state/country of the trip.java.lang.String getToLocation()
void setTravelDateRange(DateTimeRange travelDateRange)
travel_date_range | |
Details |
Departure date and time of the trip in ISO 8601 format: YYYY-MM-DD,hh:mmAM (12 hour
clock) or YYYY-MM-DD,hh:mm (24 hour clock). Two sub-attributes
are included in travel_date_range attribute.
|
Example | <g:travel_date_range> <g:start>2005-12-20T06:00:00</g:start> <g:end>2005-12-29T13:00:00</g:end> </g:travel_date_range> |
Attribute of | Travel |
Content type | dateTimeRange |
travelDateRange
- Departure date and time of the trip.DateTimeRange getTravelDateRange()
travel_date_range | |
Details |
Departure date and time of the trip in ISO 8601 format: YYYY-MM-DD,hh:mmAM (12 hour
clock) or YYYY-MM-DD,hh:mm (24 hour clock). Two sub-attributes
are included in travel_date_range attribute.
|
Example | <g:travel_date_range> <g:start>2005-12-20T06:00:00</g:start> <g:end>2005-12-29T13:00:00</g:end> </g:travel_date_range> |
Attribute of | Travel |
Content type | dateTimeRange |
void setLocation(java.lang.String location)
location
- Location of the property.java.lang.String getLocation()
ShippingType[] getShipping()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |