|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Product
This is an interface for the GoogleBase plug in that exposes methods used for Products.
Method Summary | |
---|---|
String[] |
getActors()
Actor featured in the video. |
String |
getApparelType()
The type of apparel being offered. |
String[] |
getArtists()
Artist that created the work. |
String[] |
getAuthors()
Author of the item. |
String |
getBrand()
The brand name of an item. |
String[] |
getColors()
Color of an item. |
String |
getCondition()
Condition of the item. |
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[] |
getFormat()
Format of the content. |
String |
getIsbn()
A unique 10 or 13 digit number assigned to every printed book. |
String |
getLocation()
Location of a property. |
String |
getManufacturer()
Company that manufactures the item. |
String |
getManufacturerId()
Unique product ID code assigned by its manufacturer. |
FloatUnit |
getMegapixels()
Resolution of a digital imaging device. |
FloatUnit |
getMemory()
The amount of memory included in an item. |
String |
getModelNumber()
Model number of the product. |
PaymentTypeEnumeration[] |
getPaymentAccepted()
Acceptable payment methods for item purchases. |
String |
getPaymentNotes()
Additional instructions to explain a payment policy. |
Boolean |
getPickup()
Whether or not an item is available for pick up. |
FloatUnit |
getPrice()
Price of the item. |
PriceTypeEnumeration |
getPriceType()
The type of pricing for the item. |
FloatUnit |
getProcessorSpeed()
The processor speed for the product. |
String[] |
getProductTypes()
The type of product being offered. |
Integer |
getQuantity()
Quantity available. |
ShippingType[] |
getShipping()
Shipping options available for an item. |
Size |
getSize()
Dimensions of the item, expressed in either two or three dimensions. |
Float |
getTaxPercent()
Tax rate associated with the event. |
String |
getTaxRegion()
Region where tax applies. |
String |
getUpc()
Product UPC code (Isn't that redundant?). |
FloatUnit |
getWeight()
Weight of the item. |
void |
setActors(String[] actors)
Actor featured in the video. |
void |
setApparelType(String apparelType)
The type of apparel being offered. |
void |
setArtists(String[] artists)
Artist that created the work. |
void |
setAuthors(String[] authors)
Author of the item. |
void |
setBrand(String brand)
The brand name of an item. |
void |
setColors(String[] color)
Color of an item. |
void |
setCondition(String condition)
Condition of the item. |
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 |
setFormat(String[] format)
Format of the content. |
void |
setIsbn(String isbn)
A unique 10 or 13 digit number assigned to every printed book. |
void |
setLocation(String location)
Location of a property. |
void |
setManufacturer(String manufacturer)
Company that manufactures the item. |
void |
setManufacturerId(String manufacturerId)
Unique product ID code assigned by its manufacturer. |
void |
setMegapixels(FloatUnit megapixels)
Resolution of a digital imaging device. |
void |
setMemory(FloatUnit memory)
The amount of memory included in an item. |
void |
setModelNumber(String modelNumber)
Model number of the product. |
void |
setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted)
Acceptable payment methods for item purchases. |
void |
setPaymentNotes(String paymentNotes)
Additional instructions to explain a payment policy. |
void |
setPickup(Boolean pickup)
Whether or not an item is available for pick up. |
void |
setPrice(FloatUnit price)
Price of the item. |
void |
setPriceType(PriceTypeEnumeration priceType)
The type of pricing for the item. |
void |
setProcessorSpeed(FloatUnit processorSpeed)
The processor speed for the product. |
void |
setProductTypes(String[] productTypes)
The type of product being offered. |
void |
setQuantity(Integer quantity)
Quantity available. |
void |
setShipping(ShippingType[] shipping)
Shipping options available for an item. |
void |
setSize(Size size)
Dimensions of the item, expressed in either two or three dimensions. |
void |
setTaxPercent(Float taxPercent)
Tax rate associated with the event. |
void |
setTaxRegion(String taxRegion)
Region where tax applies. |
void |
setUpc(String upc)
Product UPC code (Isn't that redundant?). |
void |
setWeight(FloatUnit weight)
Weight of the item. |
Methods inherited from interface org.rometools.feed.module.base.GlobalInterface |
---|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels |
Method Detail |
---|
void setActors(String[] actors)
actor | |
Details | Actor featured in the video. |
Example | <g:actor>Charlie Chaplin</g:actor> |
Attribute of | Products |
Content type | string |
actors
- Actor featured in the video.String[] getActors()
actor | |
Details | Actor featured in the video. |
Example | <g:actor>Charlie Chaplin</g:actor> |
Attribute of | Products |
Content type | string |
void setApparelType(String apparelType)
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 |
apparelType
- The type of apparel being offered.String getApparelType()
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 |
void setArtists(String[] artists)
artist | |
Details | Artist that created the work. |
Example | <g:artist>Vincent van Gogh</g:artist> |
Attribute of | Products |
Content type | string |
artists
- Artist that created the work.String[] getArtists()
artist | |
Details | Artist that created the work. |
Example | <g:artist>Vincent van Gogh</g:artist> |
Attribute of | Products |
Content type | string |
void setAuthors(String[] authors)
author | |
Details | Author of the item. |
Example | <g:author>John Steinbeck</g:author> |
Attribute of | Reference Items, News and Articles |
Content type | string |
authors
- Author of the item.String[] getAuthors()
author | |
Details | Author of the item. |
Example | <g:author>John Steinbeck</g:author> |
Attribute of | Reference Items, News and Articles |
Content type | string |
void setBrand(String brand)
brand | |
Details | The brand name of an item. |
Example | <g:brand>Acme</g:brand> |
Attribute of | Products |
Content type | string |
brand
- The brand name of an item.String getBrand()
brand | |
Details | The brand name of an item. |
Example | <g:brand>Acme</g:brand> |
Attribute of | Products |
Content type | string |
void setColors(String[] color)
color | |
Details | Color of an item. |
Example | <g:color>Black</g:color> |
Attribute of | Products, Vehicles |
Content type | string |
color
- Color of an item.String[] getColors()
color | |
Details | Color of an item. |
Example | <g:color>Black</g:color> |
Attribute of | Products, Vehicles |
Content type | string |
void setCondition(String condition)
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 |
condition
- Condition of the item. For example: new, used, or refurbished.String getCondition()
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 |
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 setFormat(String[] format)
format | |
Details | Format of the content. |
Example | <g:format>DVD</g:format> <g:format>CD</g:format> |
Attribute of | Products |
Content type | string |
format
- Format of the content.String[] getFormat()
format | |
Details | Format of the content. |
Example | <g:format>DVD</g:format> <g:format>CD</g:format> |
Attribute of | Products |
Content type | string |
void setIsbn(String isbn)
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 |
isbn
- A unique 10 or 13 digit number assigned to every printed book.String getIsbn()
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 |
void setLocation(String location)
location
- Location of a property. Should include street, city, state, postal code, and country, in that order.String getLocation()
void setManufacturer(String manufacturer)
manufacturer | |
Details | Company that manufactures the item. |
Example | <g:manufacturer>Acme, Inc</g:manufacturer> |
Attribute of | Products |
Content type | string |
manufacturer
- Company that manufactures the item.String getManufacturer()
manufacturer | |
Details | Company that manufactures the item. |
Example | <g:manufacturer>Acme, Inc</g:manufacturer> |
Attribute of | Products |
Content type | string |
void setManufacturerId(String manufacturerId)
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 |
manufacturerId
- Unique product ID code assigned by its manufacturer.String getManufacturerId()
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 |
void setMegapixels(FloatUnit megapixels)
megapixels | |
Details | Resolution of a digital imaging device. |
Example | <g:megapixels>5.2 MP</g:megapixels> |
Attribute of | Products |
Content type | floatUnit |
megapixels
- Resolution of a digital imaging device.FloatUnit getMegapixels()
megapixels | |
Details | Resolution of a digital imaging device. |
Example | <g:megapixels>5.2 MP</g:megapixels> |
Attribute of | Products |
Content type | floatUnit |
void setMemory(FloatUnit memory)
memory | |
Details | The amount of memory included in an item. |
Example | <g:memory>128 MB</g:memory> |
Attribute of | Products |
Content type | floatUnit |
memory
- The amount of memory included in an item.FloatUnit getMemory()
memory | |
Details | The amount of memory included in an item. |
Example | <g:memory>128 MB</g:memory> |
Attribute of | Products |
Content type | floatUnit |
void setModelNumber(String modelNumber)
model_number | |
Details | Model number of the product. |
Example | <g:model_number>1924863</g:model_number> |
Attribute of | Products |
Content type | string |
modelNumber
- Model number of the product.String getModelNumber()
model_number | |
Details | Model number of the product. |
Example | <g:model_number>1924863</g:model_number> |
Attribute of | Products |
Content type | string |
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()
void setPickup(Boolean pickup)
pickup
- Whether or not an item is available for pick up.Boolean getPickup()
void setPrice(FloatUnit price)
price
- Price of the item.FloatUnit getPrice()
void setPriceType(PriceTypeEnumeration priceType)
priceType
- The type of pricing for the item.PriceTypeEnumeration getPriceType()
void setProcessorSpeed(FloatUnit processorSpeed)
processor_speed | |
Details | The processor speed for the product. |
Example | <g:processor_speed>2</g:processor_speed> |
Attribute of | Products |
Content type | floatUnit |
processorSpeed
- The processor speed for the product.FloatUnit getProcessorSpeed()
processor_speed | |
Details | The processor speed for the product. |
Example | <g:processor_speed>2</g:processor_speed> |
Attribute of | Products |
Content type | floatUnit |
void setProductTypes(String[] productTypes)
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 |
productTypes
- The type of product being offered.String[] getProductTypes()
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 |
void setQuantity(Integer quantity)
quantity
- Quantity available.Integer getQuantity()
void setShipping(ShippingType[] shipping)
shipping
- Shipping options available for an item.ShippingType[] getShipping()
void setSize(Size size)
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 |
size
- Dimensions of the item, expressed in either two or three dimensions.Size getSize()
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 |
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 setUpc(String upc)
upc | |
Details | Product UPC code. |
Example | <g:upc>834721479305</g:upc> |
Attribute of | Products |
Content type | string |
upc
- Product UPC code (Isn't that redundant?).String getUpc()
upc | |
Details | Product UPC code. |
Example | <g:upc>834721479305</g:upc> |
Attribute of | Products |
Content type | string |
void setWeight(FloatUnit weight)
weight | |
Details | Weight of the item. |
Example | <g:weight>5</g:weight> |
Attribute of | Products |
Content type | floatUnit |
weight
- Weight of the item.FloatUnit getWeight()
weight | |
Details | Weight of the item. |
Example | <g:weight>5</g:weight> |
Attribute of | Products |
Content type | floatUnit |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |