|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.OfferListing
public class OfferListing
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ExchangeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Price" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Price" minOccurs="0"/>
<element name="SalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Price" minOccurs="0"/>
<element name="AmountSaved" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Price" minOccurs="0"/>
<element name="PercentageSaved" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
<element name="Availability" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="AvailabilityAttributes" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}AvailabilityAttributes" minOccurs="0"/>
<element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="ISPUStoreAddress" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Address" minOccurs="0"/>
<element name="ISPUStoreHours" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="IsEligibleForSuperSaverShipping" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="SalesRestriction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ShippingCharge" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}ShippingCharge" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
Generated by AWS Code Generator
Thu Jan 10 05:27:59 PST 2008
| Field Summary | |
|---|---|
protected Price |
amountSaved
|
protected java.lang.String |
availability
|
protected AvailabilityAttributes |
availabilityAttributes
|
protected java.lang.String |
exchangeId
|
protected java.lang.Boolean |
isEligibleForSuperSaverShipping
|
protected Address |
ispuStoreAddress
|
protected java.lang.String |
ispuStoreHours
|
protected java.lang.String |
offerListingId
|
protected java.math.BigInteger |
percentageSaved
|
protected Price |
price
|
protected java.lang.Integer |
quantity
|
protected Price |
salePrice
|
protected java.lang.String |
salesRestriction
|
protected java.util.List<ShippingCharge> |
shippingCharge
|
| Constructor Summary | |
|---|---|
OfferListing()
|
|
| Method Summary | |
|---|---|
Price |
getAmountSaved()
Gets the value of the amountSaved property. |
java.lang.String |
getAvailability()
Gets the value of the availability property. |
AvailabilityAttributes |
getAvailabilityAttributes()
Gets the value of the availabilityAttributes property. |
java.lang.String |
getExchangeId()
Gets the value of the exchangeId property. |
Address |
getISPUStoreAddress()
Gets the value of the ispuStoreAddress property. |
java.lang.String |
getISPUStoreHours()
Gets the value of the ispuStoreHours property. |
java.lang.String |
getOfferListingId()
Gets the value of the offerListingId property. |
java.math.BigInteger |
getPercentageSaved()
Gets the value of the percentageSaved property. |
Price |
getPrice()
Gets the value of the price property. |
java.lang.Integer |
getQuantity()
Gets the value of the quantity property. |
Price |
getSalePrice()
Gets the value of the salePrice property. |
java.lang.String |
getSalesRestriction()
Gets the value of the salesRestriction property. |
java.util.List<ShippingCharge> |
getShippingCharge()
Gets the value of the shippingCharge property. |
java.lang.Boolean |
isIsEligibleForSuperSaverShipping()
Gets the value of the isEligibleForSuperSaverShipping property. |
boolean |
isSetAmountSaved()
|
boolean |
isSetAvailability()
|
boolean |
isSetAvailabilityAttributes()
|
boolean |
isSetExchangeId()
|
boolean |
isSetIsEligibleForSuperSaverShipping()
|
boolean |
isSetISPUStoreAddress()
|
boolean |
isSetISPUStoreHours()
|
boolean |
isSetOfferListingId()
|
boolean |
isSetPercentageSaved()
|
boolean |
isSetPrice()
|
boolean |
isSetQuantity()
|
boolean |
isSetSalePrice()
|
boolean |
isSetSalesRestriction()
|
boolean |
isSetShippingCharge()
|
void |
setAmountSaved(Price value)
Sets the value of the amountSaved property. |
void |
setAvailability(java.lang.String value)
Sets the value of the availability property. |
void |
setAvailabilityAttributes(AvailabilityAttributes value)
Sets the value of the availabilityAttributes property. |
void |
setExchangeId(java.lang.String value)
Sets the value of the exchangeId property. |
void |
setIsEligibleForSuperSaverShipping(java.lang.Boolean value)
Sets the value of the isEligibleForSuperSaverShipping property. |
void |
setISPUStoreAddress(Address value)
Sets the value of the ispuStoreAddress property. |
void |
setISPUStoreHours(java.lang.String value)
Sets the value of the ispuStoreHours property. |
void |
setOfferListingId(java.lang.String value)
Sets the value of the offerListingId property. |
void |
setPercentageSaved(java.math.BigInteger value)
Sets the value of the percentageSaved property. |
void |
setPrice(Price value)
Sets the value of the price property. |
void |
setQuantity(java.lang.Integer value)
Sets the value of the quantity property. |
void |
setSalePrice(Price value)
Sets the value of the salePrice property. |
void |
setSalesRestriction(java.lang.String value)
Sets the value of the salesRestriction property. |
void |
setShippingCharge(java.util.List<ShippingCharge> shippingCharge)
Sets the value of the shippingCharge property. |
protected java.lang.String |
toXMLFragment()
XML fragment representation of this object |
void |
unsetShippingCharge()
|
OfferListing |
withAmountSaved(Price value)
Sets the value of the AmountSaved property. |
OfferListing |
withAvailability(java.lang.String value)
Sets the value of the Availability property. |
OfferListing |
withAvailabilityAttributes(AvailabilityAttributes value)
Sets the value of the AvailabilityAttributes property. |
OfferListing |
withExchangeId(java.lang.String value)
Sets the value of the ExchangeId property. |
OfferListing |
withIsEligibleForSuperSaverShipping(java.lang.Boolean value)
Sets the value of the IsEligibleForSuperSaverShipping property. |
OfferListing |
withISPUStoreAddress(Address value)
Sets the value of the ISPUStoreAddress property. |
OfferListing |
withISPUStoreHours(java.lang.String value)
Sets the value of the ISPUStoreHours property. |
OfferListing |
withOfferListingId(java.lang.String value)
Sets the value of the OfferListingId property. |
OfferListing |
withPercentageSaved(java.math.BigInteger value)
Sets the value of the PercentageSaved property. |
OfferListing |
withPrice(Price value)
Sets the value of the Price property. |
OfferListing |
withQuantity(java.lang.Integer value)
Sets the value of the Quantity property. |
OfferListing |
withSalePrice(Price value)
Sets the value of the SalePrice property. |
OfferListing |
withSalesRestriction(java.lang.String value)
Sets the value of the SalesRestriction property. |
OfferListing |
withShippingCharge(ShippingCharge... values)
Sets the value of the ShippingCharge property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String offerListingId
protected java.lang.String exchangeId
protected Price price
protected Price salePrice
protected Price amountSaved
protected java.math.BigInteger percentageSaved
protected java.lang.String availability
protected AvailabilityAttributes availabilityAttributes
protected java.lang.Integer quantity
protected Address ispuStoreAddress
protected java.lang.String ispuStoreHours
protected java.lang.Boolean isEligibleForSuperSaverShipping
protected java.lang.String salesRestriction
protected java.util.List<ShippingCharge> shippingCharge
| Constructor Detail |
|---|
public OfferListing()
| Method Detail |
|---|
public java.lang.String getOfferListingId()
Stringpublic void setOfferListingId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetOfferListingId()
public java.lang.String getExchangeId()
Stringpublic void setExchangeId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetExchangeId()
public Price getPrice()
Pricepublic void setPrice(Price value)
value - allowed object is
Pricepublic boolean isSetPrice()
public Price getSalePrice()
Pricepublic void setSalePrice(Price value)
value - allowed object is
Pricepublic boolean isSetSalePrice()
public Price getAmountSaved()
Pricepublic void setAmountSaved(Price value)
value - allowed object is
Pricepublic boolean isSetAmountSaved()
public java.math.BigInteger getPercentageSaved()
BigIntegerpublic void setPercentageSaved(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetPercentageSaved()
public java.lang.String getAvailability()
Stringpublic void setAvailability(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetAvailability()
public AvailabilityAttributes getAvailabilityAttributes()
AvailabilityAttributespublic void setAvailabilityAttributes(AvailabilityAttributes value)
value - allowed object is
AvailabilityAttributespublic boolean isSetAvailabilityAttributes()
public java.lang.Integer getQuantity()
Integerpublic void setQuantity(java.lang.Integer value)
value - allowed object is
Integerpublic boolean isSetQuantity()
public Address getISPUStoreAddress()
Addresspublic void setISPUStoreAddress(Address value)
value - allowed object is
Addresspublic boolean isSetISPUStoreAddress()
public java.lang.String getISPUStoreHours()
Stringpublic void setISPUStoreHours(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetISPUStoreHours()
public java.lang.Boolean isIsEligibleForSuperSaverShipping()
Booleanpublic void setIsEligibleForSuperSaverShipping(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isSetIsEligibleForSuperSaverShipping()
public java.lang.String getSalesRestriction()
Stringpublic void setSalesRestriction(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetSalesRestriction()
public java.util.List<ShippingCharge> getShippingCharge()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the shippingCharge property.
For example, to add a new item, do as follows:
getShippingCharge().add(newItem);
Objects of the following type(s) are allowed in the list
ShippingCharge
public boolean isSetShippingCharge()
public void unsetShippingCharge()
public OfferListing withOfferListingId(java.lang.String value)
value -
public OfferListing withExchangeId(java.lang.String value)
value -
public OfferListing withPrice(Price value)
value -
public OfferListing withSalePrice(Price value)
value -
public OfferListing withAmountSaved(Price value)
value -
public OfferListing withPercentageSaved(java.math.BigInteger value)
value -
public OfferListing withAvailability(java.lang.String value)
value -
public OfferListing withAvailabilityAttributes(AvailabilityAttributes value)
value -
public OfferListing withQuantity(java.lang.Integer value)
value -
public OfferListing withISPUStoreAddress(Address value)
value -
public OfferListing withISPUStoreHours(java.lang.String value)
value -
public OfferListing withIsEligibleForSuperSaverShipping(java.lang.Boolean value)
value -
public OfferListing withSalesRestriction(java.lang.String value)
value -
public OfferListing withShippingCharge(ShippingCharge... values)
values -
public void setShippingCharge(java.util.List<ShippingCharge> shippingCharge)
shippingCharge - allowed object is
ShippingChargeprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||