public interface Travel extends GlobalInterface
Modifier and Type | Method and Description |
---|---|
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 |
getFromLocation()
Starting city and state/country of the trip.
|
String |
getLocation()
Location of the property.
|
PaymentTypeEnumeration[] |
getPaymentAccepted()
Acceptable payment methods for item purchases.
|
String |
getPaymentNotes()
Additional instructions to explain a payment policy.
|
FloatUnit |
getPrice()
Price of the item.
|
PriceTypeEnumeration |
getPriceType()
The type of pricing for the item.
|
Integer |
getQuantity()
Quantity available.
|
ShippingType[] |
getShipping()
Shipping options available for an item.
|
Float |
getTaxPercent()
Tax rate associated with the service.
|
String |
getTaxRegion()
Region where tax applies.
|
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(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(String fromLocation)
Starting city and state/country of the trip.
|
void |
setLocation(String location)
Location of the property.
|
void |
setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
Acceptable payment methods for item purchases.
|
void |
setPaymentNotes(String paymentNotes)
Additional instructions to explain a payment policy.
|
void |
setPriceType(PriceTypeEnumeration priceType)
The type of pricing for the item.
|
void |
setQuantity(Integer quantity)
Quantity available.
|
void |
setTaxPercent(Float taxPercent)
Tax rate associated with the event.
|
void |
setTaxRegion(String taxRegion)
Region where tax applies.
|
void |
setToLocation(String toLocation)
Destination city and state/country of the trip.
|
void |
setTravelDateRange(DateTimeRange travelDateRange)
Departure date and time of the trip.
|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
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 setFromLocation(String fromLocation)
fromLocation
- Starting city and state/country of the trip.String getFromLocation()
void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
paymentAccepted
- Acceptable payment methods for item purchases.PaymentTypeEnumeration[] getPaymentAccepted()
void setPaymentNotes(String paymentNotes)
paymentNotes
- Additional instructions to explain a payment policy.String getPaymentNotes()
FloatUnit getPrice()
void setPriceType(PriceTypeEnumeration priceType)
priceType
- The type of pricing for the item.PriceTypeEnumeration getPriceType()
void setQuantity(Integer quantity)
quantity
- Quantity available.Integer getQuantity()
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 setToLocation(String toLocation)
toLocation
- Destination city and state/country of the trip.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(String location)
location
- Location of the property.String getLocation()
ShippingType[] getShipping()
Copyright © 2020. All rights reserved.