Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Product.java
*
* Created on November 16, 2005, 1:39 PM
*
* This library is provided under dual licenses.
* You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion.
*
* Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.sun.syndication.feed.module.base;
import com.sun.syndication.feed.module.base.types.CurrencyEnumeration;
import com.sun.syndication.feed.module.base.types.FloatUnit;
import com.sun.syndication.feed.module.base.types.PaymentTypeEnumeration;
import com.sun.syndication.feed.module.base.types.PriceTypeEnumeration;
import com.sun.syndication.feed.module.base.types.ShippingType;
import com.sun.syndication.feed.module.base.types.Size;
/**
* This is an interface for the GoogleBase plug in that exposes methods used for
* Products.
* @author Robert "kebernet" Cooper
* @version $Revision: 1.1 $
*/
public interface Product extends GlobalInterface {
/**
* 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
*
*
* @param actors Actor featured in the video.
*/
public 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
*
*
* @return Actor featured in the video.
*/
public String[] getActors();
/**
* 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
*
*
* @param apparelType The type of apparel being offered.
*/
public 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
*
*
* @return The type of apparel being offered.
*/
public String getApparelType();
/**
* 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
*
*
* @param artists Artist that created the work.
*/
public 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
*
*
* @return Artist that created the work.
*/
public String[] getArtists();
/**
* 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
*
*
* @param authors Author of the item.
*/
public 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
*
*
* @return Author of the item.
*/
public String[] getAuthors();
/**
* 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
*
*
* @param brand The brand name of an item.
*/
public 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
*
*
* @return The brand name of an item.
*/
public String getBrand();
/**
* Color of an item.
*
*
*
*
*
* color
*
*
*
*
* Details
*
*
* Color of an item.
*
*
*
*
* Example
*
<g:color>Black</g:color>
*
*
*
*
*
* Attribute of
*
* Products, Vehicles
*
*
*
*
* Content type
*
*
* string
*
*
* @param color Color of an item.
*/
public 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
*
*
* @return Color of an item.
*/
public String[] getColors();
/**
* 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
*
*
*
* @param condition Condition of the item. For example: new, used, or refurbished.
*/
public 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
*
*
*
* @return Condition of the item. For example: new, used, or refurbished.
*/
public String getCondition();
/**
* 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>
* @param value Currency of the price amount for an item.
*/
public 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>
* @return Currency of the price amount for an item.
*/
public CurrencyEnumeration getCurrency();
/**
* Additional instructions to explain the item’s delivery process.
*
*
*
*
delivery_notes
*
*
*
Details
*
*
Additional instructions to explain the item’s delivery process.
*
*
*
Example
*
* <g:delivery_notes>Items usually shipped within 24 hours.<g:/delivery_notes>
*
*
* @return Additional instructions to explain the item�s delivery process.
*/
public String getDeliveryNotes();
/**
* The maximum distance you will deliver an item in any direction.
*
*
*
delivery_radius
*
*
*
*
Details
*
The maximum
* distance you will deliver an item in any direction.
* @param deliveryRadius The maximum distance you will deliver an item in any direction.
*/
public void setDeliveryRadius(FloatUnit deliveryRadius);
/**
* The maximum distance you will deliver an item in any direction.
*
*
*
delivery_radius
*
*
*
*
Details
*
The maximum
* distance you will deliver an item in any direction.
* @return Format of the content.
*/
public String[] getFormat();
/**
* 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
*
*
*
* @param isbn A unique 10 or 13 digit number assigned to every printed book.
*/
public 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
*
*
*
* @return A unique 10 or 13 digit number assigned to every printed book.
*/
public String getIsbn();
/**
* Location of a property. Should include street, city, state, postal code, and country, in that order.
*
*
*
*
* location
*
*
*
*
* Details
*
Location of a property. Should
* include street, city, state, postal code, and country, in that order.
*
*
*
*
* Example
*
*
* Acceptable:
* <g:location>123 Main St, Anytown, CA, 12345, USA</g:location>
*
* Not acceptable:
* <g:location>123 Main St,, CA, 12345, USA</g:location>
* <g:location>
* Anytown, CA, 12345, USA</g:location>
*
*
*
*
* Attribute of
*
* Reference Items, Events, Housing, Jobs, News and Articles,
* People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads.
*
*
*
*
*
* Content type
*
* locationType
*
*
* @param location Location of a property. Should include street, city, state, postal code, and country, in that order.
*/
public void setLocation(String location);
/**
* Location of a property. Should include street, city, state, postal code, and country, in that order.
*
*
*
*
* location
*
*
*
*
* Details
*
Location of a property. Should
* include street, city, state, postal code, and country, in that order.
*
*
*
*
* Example
*
*
* Acceptable:
* <g:location>123 Main St, Anytown, CA, 12345, USA</g:location>
*
* Not acceptable:
* <g:location>123 Main St,, CA, 12345, USA</g:location>
* <g:location>
* Anytown, CA, 12345, USA</g:location>
*
*
*
*
* Attribute of
*
* Reference Items, Events, Housing, Jobs, News and Articles,
* People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads.
*
*
*
*
*
* Content type
*
* locationType
*
*
* @return Location of a property. Should include street, city, state, postal code, and country, in that order.
*/
public String getLocation();
/**
* 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
*
*
* @param manufacturer Company that manufactures the item.
*/
public 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
*
*
* @return Company that manufactures the item.
*/
public String getManufacturer();
/**
* 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
*
*
* @param manufacturerId Unique product ID code assigned by its manufacturer.
*/
public 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
*
*
* @return Unique product ID code assigned by its manufacturer.
*/
public String getManufacturerId();
/**
* 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
*
*
* @param megapixels Resolution of a digital imaging device.
*/
public 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
*
*
* @return Resolution of a digital imaging device.
*/
public FloatUnit getMegapixels();
/**
* 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
*
*
* @param memory The amount of memory included in an item.
*/
public 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
*
*
* @return The amount of memory included in an item.
*/
public FloatUnit getMemory();
/**
* 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
*
*
* @param modelNumber Model number of the product.
*/
public 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
*
*
* @return Model number of the product.
*/
public String getModelNumber();
/**
* Acceptable payment methods for item purchases.
*
*
*
*
*
* payment_accepted
*
*
*
* Details
*
Acceptable payment methods for item purchases. Acceptable
* values are “Cash,” “Check,” “Traveler’s Check,” “Visa,” “MasterCard,”
*
* “American Express,” “Discover,” or “Wire
* transfer.”
* If you accept more than one method, include multiple instances of the
* <payment_accepted> attribute
* for each acceptable method.
* @param paymentAccepted Acceptable payment methods for item purchases.
*/
public void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted);
/**
* Acceptable payment methods for item purchases.
*
*
*
*
*
* payment_accepted
*
*
*
* Details
*
Acceptable payment methods for item purchases. Acceptable
* values are “Cash,” “Check,” “Traveler’s Check,” “Visa,” “MasterCard,”
*
* “American Express,” “Discover,” or “Wire
* transfer.”
* If you accept more than one method, include multiple instances of the
* <payment_accepted> attribute
* for each acceptable method.
* @return Additional instructions to explain a payment policy.
*/
public String getPaymentNotes();
/**
* Whether or not an item is available for pick up.
*
*
*
*
*
* pickup
*
*
*
*
* Details
*
*
* Information about whether or not
* an item is available for pick up. Acceptable values are "True and "False".
*
*
*
* Example
*
*
*
* Acceptable:
* <g:pickup>True</g:pickup>
* Not acceptable:
* <g:pickup>Not
* on Tuesdays</g:pickup>
*
*
*
*
*
* Attribute of
*
* Products
*
*
*
*
* Content type
*
* boolean
*
*
* @param pickup Whether or not an item is available for pick up.
*/
public void setPickup(Boolean pickup);
/**
* Whether or not an item is available for pick up.
*
*
*
*
*
* pickup
*
*
*
*
* Details
*
*
* Information about whether or not
* an item is available for pick up. Acceptable values are "True and "False".
*
*
*
* Example
*
*
*
* Acceptable:
* <g:pickup>True</g:pickup>
* Not acceptable:
* <g:pickup>Not
* on Tuesdays</g:pickup>
*
*
*
*
*
* Attribute of
*
* Products
*
*
*
*
* Content type
*
* boolean
*
*
* @return Whether or not an item is available for pick up.
*/
public Boolean getPickup();
/**
* Price of the item.
*
*
*
*
*
*
* price
*
*
*
* Details
*
Prices can be a single price, 0
* (free), or blank if not applicable. Numerice values only. When used
* as a sub-attribute of <shipping>, the value included reflects the price
* of shipping.
*
*
*
*
* Example
*
* Acceptable:
* <g:price>5.95</g:price>
*
* <g:price>0</g:price>
* Not acceptable:
* <g:price>5,95</g:price>
* <g:price>5.00 – 10.00</g:price>
*
* <g:price>100 or best offer</g:price>
* <g:price>free</g:price>
* @param price Price of the item.
*/
public void setPrice(FloatUnit price);
/**
* Price of the item.
*
*
*
*
*
*
* price
*
*
*
* Details
*
Prices can be a single price, 0
* (free), or blank if not applicable. Numerice values only. When used
* as a sub-attribute of <shipping>, the value included reflects the price
* of shipping.
*
*
*
*
* Example
*
* Acceptable:
* <g:price>5.95</g:price>
*
* <g:price>0</g:price>
* Not acceptable:
* <g:price>5,95</g:price>
* <g:price>5.00 – 10.00</g:price>
*
* <g:price>100 or best offer</g:price>
* <g:price>free</g:price>
* @param priceType The type of pricing for the item.
*/
public void setPriceType(PriceTypeEnumeration priceType);
/**
* The type of pricing for the item.
*
*
*
*
price_type
*
*
*
*
*
Details
*
The type of pricing for the
* item. Acceptable values are “negotiable,” or “starting.” The default is
* “starting”
*
*
*
*
Example
*
*
Acceptable:
* <g:price_type>starting</g:price_type>
* Not acceptable:
* <g:price_type>100 OBO</g:price_type>
* @return The type of pricing for the item.
*/
public PriceTypeEnumeration getPriceType();
/**
* 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
*
*
* @param processorSpeed The processor speed for the product.
*/
public 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
*
*
* @return The processor speed for the product.
*/
public FloatUnit getProcessorSpeed();
/**
* 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
*
*
* @param productTypes The type of product being offered.
*/
public 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
*
*
* @return The type of product being offered.
*/
public String[] getProductTypes();
/**
* Quantity available.
*
*
*
*
*
* quantity
*
*
*
*
* Details
*
The number of units available for purchase. This
* attribute can be left blank if you have a large quantity or if it is not
* applicable.
*
*
*
*
*
* Example
*
* Acceptable:
* <g:quantity>18</g:quantity>
*
* <g:quantity>0</g:quantity>
*
* Not acceptable:
* <g:quantity>out
* of stock</g:quantity>
The number of units available for purchase. This
* attribute can be left blank if you have a large quantity or if it is not
* applicable.
*
*
*
*
*
* Example
*
* Acceptable:
* <g:quantity>18</g:quantity>
*
* <g:quantity>0</g:quantity>
*
* Not acceptable:
* <g:quantity>out
* of stock</g:quantity>
*
*
*
*
* Attribute of
*
*
* Events, Products,
* Services, Travel, Vehicles
*
*
*
* Content type
*
*
*
* integer
*
*
* @return Quantity available.
*/
public Integer getQuantity();
/**
* Shipping options available for an item.
*
*
*
*
*
* shipping
*
*
*
* Details
*
*
* Shipping options available for an item. Up to 10
* shipping options can be included for each item. Three sub-attributes are
* included in the shipping attribute:
*
*
service = The type of service used to ship an item. Acceptable values are 'FedEx', 'UPS', 'DHL', 'Mail', and 'Other'
*
country = The country an item will ship to. Only acceptable values areISO 3166 country codes.
* @param shipping Shipping options available for an item.
*/
public void setShipping(ShippingType[] shipping);
/**
* Shipping options available for an item.
*
*
*
*
*
* shipping
*
*
*
* Details
*
*
* Shipping options available for an item. Up to 10
* shipping options can be included for each item. Three sub-attributes are
* included in the shipping attribute:
*
*
service = The type of service used to ship an item. Acceptable values are 'FedEx', 'UPS', 'DHL', 'Mail', and 'Other'
*
country = The country an item will ship to. Only acceptable values areISO 3166 country codes.
* @return Shipping options available for an item.
*/
public ShippingType[] getShipping();
/**
* 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
*
*
* @param size Dimensions of the item, expressed in either two or three dimensions.
*/
public 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
*
*
* @return Dimensions of the item, expressed in either two or three dimensions.
*/
public Size getSize();
/**
* 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
*
*
*
* @param taxPercent Tax rate associated with the event.
*/
public 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
*
*
*
* @return Tax rate associated with the event.
*/
public Float getTaxPercent();
/**
* 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
*
*
*
* @param taxRegion Region where tax applies.
*/
public 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
*
*
*
* @return Region where tax applies.
*/
public String getTaxRegion();
/**
* Product UPC code (Isn't that redundant?).
*
*
*
*
*
*
*
*
* upc
*
*
*
* Details
*
*
* Product UPC code.
*
*
*
*
* Example
*
<g:upc>834721479305</g:upc>
*
*
*
*
*
* Attribute of
*
* Products
*
*
*
*
*
* Content type
*
* string
*
*
* @param upc Product UPC code (Isn't that redundant?).
*/
public 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
*
*
* @return Product UPC code (Isn't that redundant?).
*/
public String getUpc();
/**
* Weight of the item.
*
*
*
*
*
*
*
* weight
*
*
*
* Details
*
*
* Weight of the item.
*
*
*
*
* Example
*
<g:weight>5</g:weight>
*
*
*
*
*
* Attribute of
*
* Products
*
*
*
*
*
* Content type
*
* floatUnit
*
*
* @param weight Weight of the item.
*/
public 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
*
*
* @return Weight of the item.
*/
public FloatUnit getWeight();
}