public interface Service 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 |
getLocation()
Location of the where the service is offered.
|
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.
|
String |
getServiceType()
The type of service being offered.
|
ShippingType[] |
getShipping()
Shipping options available for an item.
|
Float |
getTaxPercent()
Tax rate associated with the service.
|
String |
getTaxRegion()
Region where tax applies.
|
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 the where the service is offered.
|
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 |
setServiceType(String serviceType)
The type of service being offered.
|
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.
|
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 setLocation(String location)
location
- Location of the where the service is offered.String getLocation()
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 setServiceType(String serviceType)
service_type | |
Details | The type of service being offered. Web hosting, legal, gardening, etc. |
Example | <g:service_type>consulting</g:service_type> |
Attribute of | Housing |
Content type | string |
serviceType
- The type of service being offered.String getServiceType()
service_type | |
Details | The type of service being offered. Web hosting, legal, gardening, etc. |
Example | <g:service_type>consulting</g:service_type> |
Attribute of | Housing |
Content type | string |
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 |
Copyright © 2023. All rights reserved.