Package com.rometools.modules.base
Interface Event
-
- All Superinterfaces:
GlobalInterface,Serializable
- All Known Subinterfaces:
GoogleBase
- All Known Implementing Classes:
GoogleBaseImpl
public interface Event extends GlobalInterface
This is an interface for the GoogleBase plug in that exposes methods used for Event entry types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CurrencyEnumerationgetCurrency()Currency of the price amount for an item.StringgetDeliveryNotes()Additional instructions to explain the item’s delivery process.FloatUnitgetDeliveryRadius()The maximum distance you will deliver an item in any direction.DateTimeRangegetEventDateRange()The time during which this event takes place.StringgetLocation()Location where the event will be held.PaymentTypeEnumeration[]getPaymentAccepted()Payment Methods acceptable for the event.StringgetPaymentNotes()Additional information about payment.FloatUnitgetPrice()Price of the event.PriceTypeEnumerationgetPriceType()Price qualifier for the even cost.IntegergetQuantity()Quantity available.ShippingType[]getShipping()Shipping information related to the event.FloatgetTaxPercent()Tax rate associated with the event.StringgetTaxRegion()Region where tax applies.voidsetCurrency(CurrencyEnumeration value)Currency of the price amount for an item.voidsetDeliveryNotes(String deliveryNotes)Additional instructions to explain the item’s delivery process.voidsetDeliveryRadius(FloatUnit deliveryRadius)The maximum distance you will deliver an item in any direction.voidsetEventDateRange(DateTimeRange eventDateRange)The time during which this event takes place.voidsetLocation(String location)Location where the event will be held.voidsetPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)Payment Methods acceptable for the event.voidsetPaymentNotes(String paymentNotes)Additional information about payment.voidsetPrice(FloatUnit price)Price of the event.voidsetPriceType(PriceTypeEnumeration priceType)Price qualifier for the even cost.voidsetQuantity(Integer quantity)Quantity available.voidsetShipping(ShippingType[] shipping)Shipping information related to the event.voidsetTaxPercent(Float taxPercent)Tax rate associated with the event.voidsetTaxRegion(String taxRegion)Region where tax applies.-
Methods inherited from interface com.rometools.modules.base.GlobalInterface
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
-
-
-
-
Method Detail
-
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.
-
setEventDateRange
void setEventDateRange(DateTimeRange eventDateRange)
The time during which this event takes place.event_date_range Details Information on the date and time an event will take place, in ISO 8601 format. Two sub-attributes are included in the event_date_range attribute: - from = Date and time an event will begin in format YYYY-MM-DDThh:mm:ss
- to = (Optional). Date and time an event will end, in format YYYY-MM-DDThh:mm:ss
Example <g:event_dateTime>
<g:from>2005-12-20T14:00:00</g:from>
<g:to>2005-12-20T19:00:00</g:to>
</g:eventdateTime>Attribute of Events Content type dateTimeRange - Parameters:
eventDateRange- The time during which this event takes place.
-
getEventDateRange
DateTimeRange getEventDateRange()
The time during which this event takes place.event_date_range Details Information on the date and time an event will take place, in ISO 8601 format. Two sub-attributes are included in the event_date_range attribute: - from = Date and time an event will begin in format YYYY-MM-DDThh:mm:ss
- to = (Optional). Date and time an event will end, in format YYYY-MM-DDThh:mm:ss
Example <g:event_dateTime>
<g:from>2005-12-20T14:00:00</g:from>
<g:to>2005-12-20T19:00:00</g:to>
</g:eventdateTime>Attribute of Events Content type dateTimeRange - Returns:
- The time during which this event takes place.
-
setLocation
void setLocation(String location)
Location where the event will be held.- Parameters:
location- Location where the event will be held.
-
getLocation
String getLocation()
Location where the event will be held.- Returns:
- Location where the event will be held.
-
setPaymentAccepted
void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
Payment Methods acceptable for the event.- Parameters:
paymentAccepted- Payment Methods acceptable for the event.
-
getPaymentAccepted
PaymentTypeEnumeration[] getPaymentAccepted()
Payment Methods acceptable for the event.- Returns:
- Payment Methods acceptable for the event.
-
setPaymentNotes
void setPaymentNotes(String paymentNotes)
Additional information about payment.- Parameters:
paymentNotes- Additional information about payment.
-
getPaymentNotes
String getPaymentNotes()
Additional information about payment.- Returns:
- Additional information about payment.
-
setPrice
void setPrice(FloatUnit price)
Price of the event.- Parameters:
price- Price of the event.
-
getPrice
FloatUnit getPrice()
Price of the event.- Returns:
- Price of the event.
-
setPriceType
void setPriceType(PriceTypeEnumeration priceType)
Price qualifier for the even cost.- Parameters:
priceType- Price qualifier for the even cost.
-
getPriceType
PriceTypeEnumeration getPriceType()
Price qualifier for the even cost.- Returns:
- Price qualifier for the even cost.
-
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 information related to the event.- Parameters:
shipping- Shipping information related to the event.
-
getShipping
ShippingType[] getShipping()
Shipping information related to the event.- Returns:
- Shipping information related to the event.
-
setTaxPercent
void setTaxPercent(Float taxPercent)
Tax rate associated with the event.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 event.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.
-
-