| java.lang.Object | |
| ↳ | com.google.api.gbase.client.GoogleBaseAttributesExtension |
Keeps track of attributes in the g: namespace.
This class extends the Google data API with some knowledge about
the g: (Google Base attributes) namespace.
The attributes are stored in a list as GoogleBaseAttributes
Accessing GoogleBaseAttribute directly is possible, but usually not
recommended.
Many methods are available in this class that will perform
the necessary type conversion from GoogleBaseAttribute to
String, Integer, Float, and DateTime.
Shortcuts exist for a few well-known attributes.
You usually get such an object using
getGoogleBaseAttributes().
This class can be registered in an
ExtensionProfile using
DESCRIPTION and then accessed from an
ExtensionPoint using
getExtension(Class).
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | APPLICATION_ATTRIBUTE | Attribute <g:application>. |
|||||||||
| String | CUSTOMER_ID | Attribute <g:customer_id>. |
|||||||||
| String | DELIVERY_NOTES_ATTRIBUTE | Attribute <g:delivery_notes>. |
|||||||||
| String | DELIVERY_RADIUS_ATTRIBUTE | Attribute <g:delivery_radius>. |
|||||||||
| String | EXPIRATION_DATE_ATTRIBUTE | Attribute <g:expiration_date>. |
|||||||||
| String | GM_ADJUSTED_NAME_ATTRIBUTE | Meta attribute gm:adjusted_name. |
|||||||||
| String | GM_ADJUSTED_VALUE_ATTRIBUTE | Meta attribute gm:adjusted_value. |
|||||||||
| String | GM_THUMBNAIL_ATTRIBUTE | Meta attribute gm:thumbnail. |
|||||||||
| String | IMAGE_LINK_ATTRIBUTE | Attribute <g:image_link>. |
|||||||||
| String | ITEM_TYPE_ATTRIBUTE | Attribute <g:item_type>. |
|||||||||
| String | LABEL_ATTRIBUTE | Attribute <g:label>. |
|||||||||
| String | LOCATION_ATTRIBUTE | Attribute <g:location>. |
|||||||||
| String | PAYMENT_METHOD_ATTRIBUTE | Attribute <g:payment_accepted>. |
|||||||||
| String | PAYMENT_NOTES_ATTRIBUTE | Attribute <g:payment_notes>. |
|||||||||
| String | PICKUP_ATTRIBUTE | Attribute <g:pickup>. |
|||||||||
| String | PRICE_ATTRIBUTE | Attribute <g:price>. |
|||||||||
| String | PRICE_TYPE_ATTRIBUTE | Attribute <g:price_type>. |
|||||||||
| String | PRICE_UNITS_ATTRIBUTE | Attribute <g:price_units>. |
|||||||||
| String | QUANTITY_ATTRIBUTE | Attribute <g:quantity>. |
|||||||||
| String | SHIPPING_ATTRIBUTE | Attribute <g:shipping>. |
|||||||||
| String | TAX_ATTRIBUTE | Attribute <g:tax>. |
|||||||||
| String | TAX_PERCENT_ATTRIBUTE |
This constant is deprecated.
use TAX_ATTRIBUTE instead
|
|||||||||
| String | TAX_REGION_ATTRIBUTE |
This constant is deprecated.
use TAX_ATTRIBUTE instead
|
|||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DESCRIPTION | A description for this extension, to pass to an
ExtensionProfile. |
||||||||||
| attributes | All the attributes available for the current
ExtensionPoint in this extension
namespace. |
||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds an attribute to the list.
| |||||||||||
Adds an attribute of type
BOOLEAN. | |||||||||||
Adds an attribute of type
DATE. | |||||||||||
Adds an attribute of type
DATE_TIME. | |||||||||||
Adds an attribute of type
DATE_TIME_RANGE. | |||||||||||
Adds an attribute of type
FLOAT. | |||||||||||
Adds an attribute of type
FLOAT_UNIT. | |||||||||||
Adds an attribute of type
FLOAT_UNIT. | |||||||||||
Adds group attribute.
| |||||||||||
Adds an image URL.
| |||||||||||
Adds an attribute of type
INT. | |||||||||||
Adds an attribute of type
INT_UNIT. | |||||||||||
Adds an attribute of type
INT_UNIT. | |||||||||||
Adds a label to the entry.
| |||||||||||
Adds an attribute of type
LOCATION. | |||||||||||
Adds an attribute of type
LOCATION. | |||||||||||
Adds an attribute of type
NUMBER. | |||||||||||
Adds an attribute of type
NUMBER_UNIT. | |||||||||||
Adds an attribute of type
NUMBER_UNIT. | |||||||||||
Adds an accepted payment method.
| |||||||||||
Adds an attribute of type
REFERENCE. | |||||||||||
Adds shipping attribute.
| |||||||||||
Adds an attribute of type
SHIPPING. | |||||||||||
Adds tax attribute.
| |||||||||||
Adds an attribute of type
TAX. | |||||||||||
Adds an attribute of type
TEXT. | |||||||||||
Adds an attribute of type
URL. | |||||||||||
Removes all attributes from the list.
| |||||||||||
Implements
generate(XmlWriter, ExtensionProfile). | |||||||||||
Gets the application attribute.
| |||||||||||
Gets the first attribute with a certain name and type.
| |||||||||||
Gets the first attribute with a certain name.
| |||||||||||
Gets all the attributes with a certain name and type.
| |||||||||||
Gets all the attributes with a certain name and type.
| |||||||||||
Gets a list of all the attributes available in the extension
namespace at the current
ExtensionPoint. | |||||||||||
Gets the first value of a specific attribute, as an Boolean.
| |||||||||||
Gets the first value of a specific attribute, as a date.
| |||||||||||
Gets the first value of a specific attribute, as a date/dateTime
range.
| |||||||||||
Gets the first value of a specific attribute, as a date and a time.
| |||||||||||
Gets the first value of a specific attribute, as a
DateTimeRange. | |||||||||||
Gets all the values of a specific attribute, as a list of
DateTimeRange. | |||||||||||
Gets delivery notes attribute
| |||||||||||
Gets delivery radius.
| |||||||||||
Gets the date and time at which the entry expires.
| |||||||||||
Gets the first value of a specific attribute, as a Float.
| |||||||||||
Gets the first value of a specific attribute, as an float,
followed by a unit name.
| |||||||||||
Gets the first value of a specific attribute, as a
Group. | |||||||||||
Gets all the values of a specific attribute, as a collection of
Groups. | |||||||||||
Gets the first URL to an image representing this item.
| |||||||||||
Gets all URLs to images representing this item.
| |||||||||||
Gets the first value of a specific attribute, as an Integer.
| |||||||||||
Gets the first value of a specific attribute, as an integer,
followed by a unit name.
| |||||||||||
Gets the item type.
| |||||||||||
Gets the labels set for the entry.
| |||||||||||
Gets the location.
| |||||||||||
Gets the first value of a specific location attribute, as an
address.
| |||||||||||
Gets the first value of a specific location attribute, as a
location object.
| |||||||||||
Gets all the values of a specific location attribute, as a list of
strings.
| |||||||||||
Gets all the values of a specific attribute, as a list of
Location objects. | |||||||||||
Gets the first value of a specific attribute, as a Number.
| |||||||||||
Gets the first value of a specific attribute, as a Number,
followed by a unit name.
| |||||||||||
Gets a collection of accepted payment methods (Cash, WireTransfer, ...).
| |||||||||||
Gets payment notes attribute
| |||||||||||
Gets pickup attribute, or null.
| |||||||||||
Gets the price of the item.
| |||||||||||
Gets price type.
| |||||||||||
Gets price units.
| |||||||||||
Gets quantity, or null if not set.
| |||||||||||
Gets the first value of a specific reference attribute.
| |||||||||||
Gets shipping attributes.
| |||||||||||
Gets the first value of a specific attribute, as a
Shipping. | |||||||||||
Gets all the values of a specific attribute, as a list of
Shippings. | |||||||||||
Gets tax attributes.
| |||||||||||
Gets the first value of a specific attribute, as a
Tax. | |||||||||||
Gets all the values of a specific attribute, as a list of
Taxs. | |||||||||||
This method is deprecated.
use
getTax() instead
| |||||||||||
This method is deprecated.
use
getTax() instead
| |||||||||||
Gets the first value of a specific attribute, as a string.
| |||||||||||
Gets all the values of a specific attribute, as a list
of strings.
| |||||||||||
Gets the first value of a specific attribute, as an url.
| |||||||||||
Removes an attribute from the list.
| |||||||||||
Removes all attributes with a certain name and
type from the list.
| |||||||||||
Removes all attributes with a certain name from the list.
| |||||||||||
Sets the application attribute.
| |||||||||||
Sets delivery notes attribute.
| |||||||||||
Sets delivery radius.
| |||||||||||
Sets delivery radius.
| |||||||||||
Sets the date at which the entry expires.
| |||||||||||
Sets the item type.
| |||||||||||
Sets the location.
| |||||||||||
Sets payment notes attribute.
| |||||||||||
Sets pickup attribute.
| |||||||||||
Sets the price of the item.
| |||||||||||
Sets the price of the item.
| |||||||||||
Sets price type.
| |||||||||||
Sets price units.
| |||||||||||
Sets quantity.
| |||||||||||
This method is deprecated.
use
addTax(Tax) instead
| |||||||||||
This method is deprecated.
use
addTax(Tax) instead
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Attribute <g:application>.
Attribute <g:delivery_notes>.
Attribute <g:delivery_radius>.
Attribute <g:expiration_date>.
Meta attribute gm:adjusted_name.
Meta attribute gm:adjusted_value.
Meta attribute gm:thumbnail.
Attribute <g:image_link>.
Attribute <g:payment_accepted>.
Attribute <g:payment_notes>.
Attribute <g:price>.
Attribute <g:price_units>.
This constant is deprecated.
use TAX_ATTRIBUTE instead
Attribute <g:tax_percent>.
This constant is deprecated.
use TAX_ATTRIBUTE instead
Attribute <g:tax_region>.
A description for this extension, to pass to an
ExtensionProfile.
All the attributes available for the current
ExtensionPoint in this extension
namespace.
Several GoogleBaseAttribute
might have the same name and even the same value. Order is
conserved, but should not be significant.
Adds an attribute to the list.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| attribute |
|---|
Adds an attribute of type
BOOLEAN.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds an attribute of type
DATE.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| date | Attribute value |
| IllegalArgumentException | if the attribute value is
not only a date, but a date and a time (see
isDateOnly())
|
|---|
Adds an attribute of type
DATE_TIME.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| dateTime | Attribute value |
Adds an attribute of type
DATE_TIME_RANGE.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| dateTimeRange | Attribute value |
| IllegalArgumentException | if the DateTimeRange is an empty
range, in which case addDateTimeAttribute(String, com.google.gdata.data.DateTime) should be used instead.
|
|---|
Adds an attribute of type
FLOAT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds an attribute of type
FLOAT_UNIT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds an attribute of type
FLOAT_UNIT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | |
| unit |
Adds group attribute.
| groupName | |
|---|---|
| group |
Adds an image URL.
| link |
|---|
Adds an attribute of type
INT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds an attribute of type
INT_UNIT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | |
| unit |
Adds an attribute of type
INT_UNIT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds a label to the entry.
| value |
|---|
Adds an attribute of type
LOCATION.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| location | Attribute value |
Adds an attribute of type
LOCATION.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| location | Attribute value |
Adds an attribute of type
NUMBER.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds an attribute of type
NUMBER_UNIT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds an attribute of type
NUMBER_UNIT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | |
| unit |
Adds an accepted payment method.
| method |
|---|
Adds an attribute of type
REFERENCE.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds an attribute of type
SHIPPING.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| shipping | Attribute value |
Adds an attribute of type
TAX.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| tax | Attribute value |
Adds an attribute of type
TEXT.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Adds an attribute of type
URL.
This method will never remove an attribute, even if it has
the same name as the new attribute. If you would like to set
an attribute that can only appear once, call
removeAttributes(String, GoogleBaseAttributeType) first.
| name | Attribute name |
|---|---|
| value | Attribute value |
Removes all attributes from the list.
Implements
generate(XmlWriter, ExtensionProfile).
This method generates XML code for the attribute in this extension.
It is meant to be called by the Google data library.
| xmlWriter | XML writer |
|---|---|
| extensionProfile | Extension profile |
| IOException |
|---|
Gets the application attribute. This attribute should contain the name of the last application that modified the entry. This is informative only and should not be relied on.
Gets the first attribute with a certain name and type.
In most cases, there might be more than one attribute
with the same name and type. This method will ignore extra
attributes. Use getAttributes(String) to make sure
you get all of them.
| name | Attribute name |
|---|---|
| type | Attribute type (null to ignore the type) |
GoogleBaseAttribute
or null if no attribute was found with this name
Gets the first attribute with a certain name.
In most cases, there might be more than one attribute
with the same name. This method will ignore extra
attributes. Use getAttributes(String) to make sure
you get all of them.
| name | Attribute name |
|---|
GoogleBaseAttribute
or null if no attribute was found with this name
Gets all the attributes with a certain name and type.
| name | Attribute name |
|---|
GoogleBaseAttribute,
which might be empty but not null
Gets all the attributes with a certain name and type.
| name | Attribute name |
|---|---|
| type | Attribute type, null to ignore the type |
GoogleBaseAttribute,
which might be empty but not null
Gets a list of all the attributes available in the extension
namespace at the current ExtensionPoint.
Attributes might be repeated.
GoogleBaseAttribute,
which might be empty but not null
Gets the first value of a specific attribute, as an Boolean.
This method only takes into account attributes of type
BOOLEAN.
| name | Attribute name |
|---|
Gets the first value of a specific attribute, as a date.
This method only takes into account attributes of type
DATE_TIME and
DATE.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as a date/dateTime
range.
This method only takes into account attributes of type
DATE_TIME,
DATE and
DATE_TIME_RANGE.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as a date and a time.
This method only takes into account attributes of type
DATE_TIME.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as a
DateTimeRange.
This method does not check the type of the attribute
that's being queried, it just gets the value and try
and convert it.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets all the values of a specific attribute, as a list of
DateTimeRange.
This method does not check the type of the attribute
that's being queried, it just gets the values and try
and convert them.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets delivery notes attribute
Gets the first value of a specific attribute, as a Float.
This method only takes into account attributes of type
FLOAT.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as an float,
followed by a unit name.
This method only takes into account attributes of type
FLOAT_UNIT.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as a
Group.
This method does not check the type of the attribute
that's being queried, it just gets the value and try
and convert it.
| name | Attribute name |
|---|
Gets all the values of a specific attribute, as a collection of
Groups.
This method does not check the type of the attribute
that's being queried, it just gets the values and try
and convert them.
| groupName | The group name |
|---|
Implements
getHandler(ExtensionProfile, String, String, Attributes).
This method returns a handler object that can parse an attribute in
the current namespace and add the corresponding GoogleBaseAttribute
into the list.
It is meant to be called by the Google data library.
| extensionProfile | Extension profile |
|---|---|
| uri | Extension namespace |
| localName | Tag name, without the namespace prefix |
| attributes | Tag attributes |
| IOException | |
|---|---|
| ParseException |
Gets the first URL to an image representing this item.
Gets all URLs to images representing this item.
Gets the first value of a specific attribute, as an Integer.
This method only takes into account attributes of type
INT.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as an integer,
followed by a unit name.
This method only takes into account attributes of type
INT_UNIT.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the item type.
Gets the labels set for the entry.
Gets the location.
Gets the first value of a specific location attribute, as an
address.
If you would like to get latitude and longitude and not
just the address, use getLocationAttributeAsObject(String)
instead.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted. |
|---|
Gets the first value of a specific location attribute, as a location object.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted. |
|---|
Gets all the values of a specific location attribute, as a list of strings.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets all the values of a specific attribute, as a list of
Location objects.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as a Number.
This method only takes into account attributes of type
NUMBER.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as a Number,
followed by a unit name.
This method only takes into account attributes of type
NUMBER_UNIT,
INT_UNIT or
FLOAT_UNIT.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets a collection of accepted payment methods (Cash, WireTransfer, ...).
Gets payment notes attribute
Gets pickup attribute, or null.
Gets the price of the item.
Gets price type.
Gets price units.
Gets quantity, or null if not set.
Gets the first value of a specific reference attribute.
This method only takes into account attributes of type
REFERENCE.
| name | Attribute name |
|---|
Gets the first value of a specific attribute, as a
Shipping.
This method does not check the type of the attribute
that's being queried, it just gets the value and try
and convert it.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted. |
|---|
Gets all the values of a specific attribute, as a list of
Shippings.
This method does not check the type of the attribute
that's being queried, it just gets the values and try
and convert them.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as a
Tax.
This method does not check the type of the attribute
that's being queried, it just gets the value and try
and convert it.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted. |
|---|
Gets all the values of a specific attribute, as a list of
Taxs.
This method does not check the type of the attribute
that's being queried, it just gets the values and try
and convert them.
| name | Attribute name |
|---|
| NumberFormatException | if some value was found that could not be converted |
|---|
Gets the first value of a specific attribute, as a string.
If it makes sense for the attribute to appear more
than once, you might consider calling
getTextAttributeValues(String) instead.
This method checks the type of the attribute
that is being queried. Use
#getAttributeAsString(String, GoogleBaseAttributeType)
if you would like to get the value of non-string attributes.
| name | Attribute name |
|---|
Gets all the values of a specific attribute, as a list of strings. This method checks the type of the attribute that are being queried. Use #getAttributeAsString(String, GoogleBaseAttributeType) if you would like to get the value non-string attributes.
| attributeName |
|---|
Gets the first value of a specific attribute, as an url.
This method only takes into account attributes of type
URL.
| name | Attribute name |
|---|
Removes an attribute from the list.
| value |
|---|
Removes all attributes with a certain name and type from the list.
| name | Name of the attributes that should be removed |
|---|---|
| type | Attribute type, null to ignore the type |
Removes all attributes with a certain name from the list.
| name | Name of the attributes that should be removed |
|---|
Sets the application attribute. This attribute should be set every time an entry is inserted or updated. It is set automatically by GoogleBaseService#update(java.net.URL, com.google.gdata.data.BaseEntry) GoogleBaseService#insert(java.net.URL, com.google.gdata.data.BaseEntry) and GoogleBaseService#batch(java.net.URL, com.google.gdata.data.BaseFeed).
| name |
|---|
Sets delivery notes attribute.
| notes |
|---|
Sets delivery radius.
| value | |
|---|---|
| unit |
Sets the date at which the entry expires.
| date |
|---|
Sets the item type.
| value |
|---|
Sets the location.
| value |
|---|
Sets payment notes attribute.
| notes |
|---|
Sets pickup attribute.
| pickup |
|---|
Sets the price of the item.
| value | |
|---|---|
| currency |
Sets price type.
| type |
|---|
Sets price units.
| value |
|---|
Sets quantity.
| value |
|---|
This method is deprecated.
use addTax(Tax) instead
Sets tax percent attribute.
| taxPercent |
|---|