Package com.rometools.modules.base
Interface Product
-
- All Superinterfaces:
GlobalInterface,Serializable
- All Known Subinterfaces:
GoogleBase
- All Known Implementing Classes:
GoogleBaseImpl
public interface Product extends GlobalInterface
This is an interface for the GoogleBase plug in that exposes methods used for Products.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getActors()Actor featured in the video.StringgetApparelType()The type of apparel being offered.String[]getArtists()Artist that created the work.String[]getAuthors()Author of the item.StringgetBrand()The brand name of an item.String[]getColors()Color of an item.StringgetCondition()Condition of the item.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.String[]getFormat()Format of the content.StringgetIsbn()A unique 10 or 13 digit number assigned to every printed book.StringgetLocation()Location of a property.StringgetManufacturer()Company that manufactures the item.StringgetManufacturerId()Unique product ID code assigned by its manufacturer.FloatUnitgetMegapixels()Resolution of a digital imaging device.FloatUnitgetMemory()The amount of memory included in an item.StringgetModelNumber()Model number of the product.PaymentTypeEnumeration[]getPaymentAccepted()Acceptable payment methods for item purchases.StringgetPaymentNotes()Additional instructions to explain a payment policy.BooleangetPickup()Whether or not an item is available for pick up.FloatUnitgetPrice()Price of the item.PriceTypeEnumerationgetPriceType()The type of pricing for the item.FloatUnitgetProcessorSpeed()The processor speed for the product.String[]getProductTypes()The type of product being offered.IntegergetQuantity()Quantity available.ShippingType[]getShipping()Shipping options available for an item.SizegetSize()Dimensions of the item, expressed in either two or three dimensions.FloatgetTaxPercent()Tax rate associated with the event.StringgetTaxRegion()Region where tax applies.StringgetUpc()Product UPC code (Isn't that redundant?).FloatUnitgetWeight()Weight of the item.voidsetActors(String[] actors)Actor featured in the video.voidsetApparelType(String apparelType)The type of apparel being offered.voidsetArtists(String[] artists)Artist that created the work.voidsetAuthors(String[] authors)Author of the item.voidsetBrand(String brand)The brand name of an item.voidsetColors(String[] color)Color of an item.voidsetCondition(String condition)Condition of the item.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.voidsetFormat(String[] format)Format of the content.voidsetIsbn(String isbn)A unique 10 or 13 digit number assigned to every printed book.voidsetLocation(String location)Location of a property.voidsetManufacturer(String manufacturer)Company that manufactures the item.voidsetManufacturerId(String manufacturerId)Unique product ID code assigned by its manufacturer.voidsetMegapixels(FloatUnit megapixels)Resolution of a digital imaging device.voidsetMemory(FloatUnit memory)The amount of memory included in an item.voidsetModelNumber(String modelNumber)Model number of the product.voidsetPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)Acceptable payment methods for item purchases.voidsetPaymentNotes(String paymentNotes)Additional instructions to explain a payment policy.voidsetPickup(Boolean pickup)Whether or not an item is available for pick up.voidsetPrice(FloatUnit price)Price of the item.voidsetPriceType(PriceTypeEnumeration priceType)The type of pricing for the item.voidsetProcessorSpeed(FloatUnit processorSpeed)The processor speed for the product.voidsetProductTypes(String[] productTypes)The type of product being offered.voidsetQuantity(Integer quantity)Quantity available.voidsetShipping(ShippingType[] shipping)Shipping options available for an item.voidsetSize(Size size)Dimensions of the item, expressed in either two or three dimensions.voidsetTaxPercent(Float taxPercent)Tax rate associated with the event.voidsetTaxRegion(String taxRegion)Region where tax applies.voidsetUpc(String upc)Product UPC code (Isn't that redundant?).voidsetWeight(FloatUnit weight)Weight of the item.-
Methods inherited from interface com.rometools.modules.base.GlobalInterface
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
-
-
-
-
Method Detail
-
setActors
void setActors(String[] actors)
Actor featured in the video.actor Details Actor featured in the video. Example <g:actor>Charlie Chaplin</g:actor> Attribute of Products Content type string - Parameters:
actors- Actor featured in the video.
-
getActors
String[] getActors()
Actor featured in the video.actor Details Actor featured in the video. Example <g:actor>Charlie Chaplin</g:actor> Attribute of Products Content type string - Returns:
- Actor featured in the video.
-
setApparelType
void setApparelType(String apparelType)
The type of apparel being offered.
apparel_type Details The type of apparel being offered. Skirt, pants, sleepwear, etc. Example <g:apparel_type>sweater</g:apparel_type> Attribute of Products Content type string - Parameters:
apparelType- The type of apparel being offered.
-
getApparelType
String getApparelType()
The type of apparel being offered.
apparel_type Details The type of apparel being offered. Skirt, pants, sleepwear, etc. Example <g:apparel_type>sweater</g:apparel_type> Attribute of Products Content type string - Returns:
- The type of apparel being offered.
-
setArtists
void setArtists(String[] artists)
Artist that created the work.artist Details Artist that created the work. Example <g:artist>Vincent van Gogh</g:artist> Attribute of Products Content type string - Parameters:
artists- Artist that created the work.
-
getArtists
String[] getArtists()
Artist that created the work.artist Details Artist that created the work. Example <g:artist>Vincent van Gogh</g:artist> Attribute of Products Content type string - Returns:
- Artist that created the work.
-
setAuthors
void setAuthors(String[] authors)
Author of the item.author Details Author of the item. Example <g:author>John Steinbeck</g:author> Attribute of Reference Items, News and Articles Content type string - Parameters:
authors- Author of the item.
-
getAuthors
String[] getAuthors()
Author of the item.author Details Author of the item. Example <g:author>John Steinbeck</g:author> Attribute of Reference Items, News and Articles Content type string - Returns:
- Author of the item.
-
setBrand
void setBrand(String brand)
The brand name of an item.brand Details The brand name of an item. Example <g:brand>Acme</g:brand> Attribute of Products Content type string - Parameters:
brand- The brand name of an item.
-
getBrand
String getBrand()
The brand name of an item.brand Details The brand name of an item. Example <g:brand>Acme</g:brand> Attribute of Products Content type string - Returns:
- The brand name of an item.
-
setColors
void setColors(String[] color)
Color of an item.color Details Color of an item. Example <g:color>Black</g:color> Attribute of Products, Vehicles Content type string - Parameters:
color- Color of an item.
-
getColors
String[] getColors()
Color of an item.color Details Color of an item. Example <g:color>Black</g:color> Attribute of Products, Vehicles Content type string - Returns:
- Color of an item.
-
setCondition
void setCondition(String condition)
Condition of the item. For example: new, used, or refurbished.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 - Parameters:
condition- Condition of the item. For example: new, used, or refurbished.
-
getCondition
String getCondition()
Condition of the item. For example: new, used, or refurbished.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 - Returns:
- Condition of the item. For example: new, used, or refurbished.
-
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.
-
setFormat
void setFormat(String[] format)
Format of the content.format Details Format of the content. Example <g:format>DVD</g:format>
<g:format>CD</g:format>Attribute of Products Content type string - Parameters:
format- Format of the content.
-
getFormat
String[] getFormat()
Format of the content.format Details Format of the content. Example <g:format>DVD</g:format>
<g:format>CD</g:format>Attribute of Products Content type string - Returns:
- Format of the content.
-
setIsbn
void setIsbn(String isbn)
A unique 10 or 13 digit number assigned to every printed book.isbn Details A unique 10 or 13 digit number assigned to every printed book. Example <g:isbn>0451524233</g:isbn> Attribute of Products Content type string - Parameters:
isbn- A unique 10 or 13 digit number assigned to every printed book.
-
getIsbn
String getIsbn()
A unique 10 or 13 digit number assigned to every printed book.isbn Details A unique 10 or 13 digit number assigned to every printed book. Example <g:isbn>0451524233</g:isbn> Attribute of Products Content type string - Returns:
- A unique 10 or 13 digit number assigned to every printed book.
-
setLocation
void setLocation(String location)
Location of a property. Should include street, city, state, postal code, and country, in that order.- Parameters:
location- Location of a property. Should include street, city, state, postal code, and country, in that order.
-
getLocation
String getLocation()
Location of a property. Should include street, city, state, postal code, and country, in that order.- Returns:
- Location of a property. Should include street, city, state, postal code, and country, in that order.
-
setManufacturer
void setManufacturer(String manufacturer)
Company that manufactures the item.manufacturer Details Company that manufactures the item. Example <g:manufacturer>Acme, Inc</g:manufacturer> Attribute of Products Content type string - Parameters:
manufacturer- Company that manufactures the item.
-
getManufacturer
String getManufacturer()
Company that manufactures the item.manufacturer Details Company that manufactures the item. Example <g:manufacturer>Acme, Inc</g:manufacturer> Attribute of Products Content type string - Returns:
- Company that manufactures the item.
-
setManufacturerId
void setManufacturerId(String manufacturerId)
Unique product ID code assigned by its manufacturer.manufacturer_id Details Unique product ID code assigned by its manufacturer. Example <g:manufacturer_id>030779A</g:manufacturer_id> Attribute of Products Content type string - Parameters:
manufacturerId- Unique product ID code assigned by its manufacturer.
-
getManufacturerId
String getManufacturerId()
Unique product ID code assigned by its manufacturer.manufacturer_id Details Unique product ID code assigned by its manufacturer. Example <g:manufacturer_id>030779A</g:manufacturer_id> Attribute of Products Content type string - Returns:
- Unique product ID code assigned by its manufacturer.
-
setMegapixels
void setMegapixels(FloatUnit megapixels)
Resolution of a digital imaging device.megapixels Details Resolution of a digital imaging device. Example <g:megapixels>5.2 MP</g:megapixels> Attribute of Products Content type floatUnit - Parameters:
megapixels- Resolution of a digital imaging device.
-
getMegapixels
FloatUnit getMegapixels()
Resolution of a digital imaging device.megapixels Details Resolution of a digital imaging device. Example <g:megapixels>5.2 MP</g:megapixels> Attribute of Products Content type floatUnit - Returns:
- Resolution of a digital imaging device.
-
setMemory
void setMemory(FloatUnit memory)
The amount of memory included in an item.memory Details The amount of memory included in an item. Example <g:memory>128 MB</g:memory> Attribute of Products Content type floatUnit - Parameters:
memory- The amount of memory included in an item.
-
getMemory
FloatUnit getMemory()
The amount of memory included in an item.memory Details The amount of memory included in an item. Example <g:memory>128 MB</g:memory> Attribute of Products Content type floatUnit - Returns:
- The amount of memory included in an item.
-
setModelNumber
void setModelNumber(String modelNumber)
Model number of the product.model_number Details Model number of the product. Example <g:model_number>1924863</g:model_number> Attribute of Products Content type string - Parameters:
modelNumber- Model number of the product.
-
getModelNumber
String getModelNumber()
Model number of the product.model_number Details Model number of the product. Example <g:model_number>1924863</g:model_number> Attribute of Products Content type string - Returns:
- Model number of the product.
-
setPaymentAccepted
void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
Acceptable payment methods for item purchases.- Parameters:
paymentAccepted- Acceptable payment methods for item purchases.
-
getPaymentAccepted
PaymentTypeEnumeration[] getPaymentAccepted()
Acceptable payment methods for item purchases.- Returns:
- Acceptable payment methods for item purchases.
-
setPaymentNotes
void setPaymentNotes(String paymentNotes)
Additional instructions to explain a payment policy.- Parameters:
paymentNotes- Additional instructions to explain a payment policy.
-
getPaymentNotes
String getPaymentNotes()
Additional instructions to explain a payment policy.- Returns:
- Additional instructions to explain a payment policy.
-
setPickup
void setPickup(Boolean pickup)
Whether or not an item is available for pick up.- Parameters:
pickup- Whether or not an item is available for pick up.
-
getPickup
Boolean getPickup()
Whether or not an item is available for pick up.- Returns:
- Whether or not an item is available for pick up.
-
setPrice
void setPrice(FloatUnit price)
Price of the item.- Parameters:
price- Price of the item.
-
getPrice
FloatUnit getPrice()
Price of the item.- Returns:
- Price of the item.
-
setPriceType
void setPriceType(PriceTypeEnumeration priceType)
The type of pricing for the item.- Parameters:
priceType- The type of pricing for the item.
-
getPriceType
PriceTypeEnumeration getPriceType()
The type of pricing for the item.- Returns:
- The type of pricing for the item.
-
setProcessorSpeed
void setProcessorSpeed(FloatUnit processorSpeed)
The processor speed for the product.processor_speed Details The processor speed for the product. Example <g:processor_speed>2</g:processor_speed> Attribute of Products Content type floatUnit - Parameters:
processorSpeed- The processor speed for the product.
-
getProcessorSpeed
FloatUnit getProcessorSpeed()
The processor speed for the product.processor_speed Details The processor speed for the product. Example <g:processor_speed>2</g:processor_speed> Attribute of Products Content type floatUnit - Returns:
- The processor speed for the product.
-
setProductTypes
void setProductTypes(String[] productTypes)
The type of product being offered.product_type Details The type of product being offered. Toys, books, flowers, etc. Example <g:product_type>electronics</g:product_type> Attribute of Products Content type string - Parameters:
productTypes- The type of product being offered.
-
getProductTypes
String[] getProductTypes()
The type of product being offered.product_type Details The type of product being offered. Toys, books, flowers, etc. Example <g:product_type>electronics</g:product_type> Attribute of Products Content type string - Returns:
- The type of product being offered.
-
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 options available for an item.- Parameters:
shipping- Shipping options available for an item.
-
getShipping
ShippingType[] getShipping()
Shipping options available for an item.- Returns:
- Shipping options available for an item.
-
setSize
void setSize(Size size)
Dimensions of the item, expressed in either two or three dimensions.size Details Dimensions of the item, expressed in either two or three dimensions. Example <g:size>12x10x4</g:size> Attribute of Products Content type string - Parameters:
size- Dimensions of the item, expressed in either two or three dimensions.
-
getSize
Size getSize()
Dimensions of the item, expressed in either two or three dimensions.size Details Dimensions of the item, expressed in either two or three dimensions. Example <g:size>12x10x4</g:size> Attribute of Products Content type string - Returns:
- Dimensions of the item, expressed in either two or three dimensions.
-
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.
-
setUpc
void setUpc(String upc)
Product UPC code (Isn't that redundant?).upc Details Product UPC code. Example <g:upc>834721479305</g:upc> Attribute of Products Content type string - Parameters:
upc- Product UPC code (Isn't that redundant?).
-
getUpc
String getUpc()
Product UPC code (Isn't that redundant?).upc Details Product UPC code. Example <g:upc>834721479305</g:upc> Attribute of Products Content type string - Returns:
- Product UPC code (Isn't that redundant?).
-
setWeight
void setWeight(FloatUnit weight)
Weight of the item.weight Details Weight of the item. Example <g:weight>5</g:weight> Attribute of Products Content type floatUnit - Parameters:
weight- Weight of the item.
-
getWeight
FloatUnit getWeight()
Weight of the item.weight Details Weight of the item. Example <g:weight>5</g:weight> Attribute of Products Content type floatUnit - Returns:
- Weight of the item.
-
-