com.amazonaws.a2s.model
Class OfferListing

java.lang.Object
  extended by com.amazonaws.a2s.model.OfferListing

public class OfferListing
extends java.lang.Object

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

offerListingId

protected java.lang.String offerListingId

exchangeId

protected java.lang.String exchangeId

price

protected Price price

salePrice

protected Price salePrice

amountSaved

protected Price amountSaved

percentageSaved

protected java.math.BigInteger percentageSaved

availability

protected java.lang.String availability

availabilityAttributes

protected AvailabilityAttributes availabilityAttributes

quantity

protected java.lang.Integer quantity

ispuStoreAddress

protected Address ispuStoreAddress

ispuStoreHours

protected java.lang.String ispuStoreHours

isEligibleForSuperSaverShipping

protected java.lang.Boolean isEligibleForSuperSaverShipping

salesRestriction

protected java.lang.String salesRestriction

shippingCharge

protected java.util.List<ShippingCharge> shippingCharge
Constructor Detail

OfferListing

public OfferListing()
Method Detail

getOfferListingId

public java.lang.String getOfferListingId()
Gets the value of the offerListingId property.

Returns:
possible object is String

setOfferListingId

public void setOfferListingId(java.lang.String value)
Sets the value of the offerListingId property.

Parameters:
value - allowed object is String

isSetOfferListingId

public boolean isSetOfferListingId()

getExchangeId

public java.lang.String getExchangeId()
Gets the value of the exchangeId property.

Returns:
possible object is String

setExchangeId

public void setExchangeId(java.lang.String value)
Sets the value of the exchangeId property.

Parameters:
value - allowed object is String

isSetExchangeId

public boolean isSetExchangeId()

getPrice

public Price getPrice()
Gets the value of the price property.

Returns:
possible object is Price

setPrice

public void setPrice(Price value)
Sets the value of the price property.

Parameters:
value - allowed object is Price

isSetPrice

public boolean isSetPrice()

getSalePrice

public Price getSalePrice()
Gets the value of the salePrice property.

Returns:
possible object is Price

setSalePrice

public void setSalePrice(Price value)
Sets the value of the salePrice property.

Parameters:
value - allowed object is Price

isSetSalePrice

public boolean isSetSalePrice()

getAmountSaved

public Price getAmountSaved()
Gets the value of the amountSaved property.

Returns:
possible object is Price

setAmountSaved

public void setAmountSaved(Price value)
Sets the value of the amountSaved property.

Parameters:
value - allowed object is Price

isSetAmountSaved

public boolean isSetAmountSaved()

getPercentageSaved

public java.math.BigInteger getPercentageSaved()
Gets the value of the percentageSaved property.

Returns:
possible object is BigInteger

setPercentageSaved

public void setPercentageSaved(java.math.BigInteger value)
Sets the value of the percentageSaved property.

Parameters:
value - allowed object is BigInteger

isSetPercentageSaved

public boolean isSetPercentageSaved()

getAvailability

public java.lang.String getAvailability()
Gets the value of the availability property.

Returns:
possible object is String

setAvailability

public void setAvailability(java.lang.String value)
Sets the value of the availability property.

Parameters:
value - allowed object is String

isSetAvailability

public boolean isSetAvailability()

getAvailabilityAttributes

public AvailabilityAttributes getAvailabilityAttributes()
Gets the value of the availabilityAttributes property.

Returns:
possible object is AvailabilityAttributes

setAvailabilityAttributes

public void setAvailabilityAttributes(AvailabilityAttributes value)
Sets the value of the availabilityAttributes property.

Parameters:
value - allowed object is AvailabilityAttributes

isSetAvailabilityAttributes

public boolean isSetAvailabilityAttributes()

getQuantity

public java.lang.Integer getQuantity()
Gets the value of the quantity property.

Returns:
possible object is Integer

setQuantity

public void setQuantity(java.lang.Integer value)
Sets the value of the quantity property.

Parameters:
value - allowed object is Integer

isSetQuantity

public boolean isSetQuantity()

getISPUStoreAddress

public Address getISPUStoreAddress()
Gets the value of the ispuStoreAddress property.

Returns:
possible object is Address

setISPUStoreAddress

public void setISPUStoreAddress(Address value)
Sets the value of the ispuStoreAddress property.

Parameters:
value - allowed object is Address

isSetISPUStoreAddress

public boolean isSetISPUStoreAddress()

getISPUStoreHours

public java.lang.String getISPUStoreHours()
Gets the value of the ispuStoreHours property.

Returns:
possible object is String

setISPUStoreHours

public void setISPUStoreHours(java.lang.String value)
Sets the value of the ispuStoreHours property.

Parameters:
value - allowed object is String

isSetISPUStoreHours

public boolean isSetISPUStoreHours()

isIsEligibleForSuperSaverShipping

public java.lang.Boolean isIsEligibleForSuperSaverShipping()
Gets the value of the isEligibleForSuperSaverShipping property.

Returns:
possible object is Boolean

setIsEligibleForSuperSaverShipping

public void setIsEligibleForSuperSaverShipping(java.lang.Boolean value)
Sets the value of the isEligibleForSuperSaverShipping property.

Parameters:
value - allowed object is Boolean

isSetIsEligibleForSuperSaverShipping

public boolean isSetIsEligibleForSuperSaverShipping()

getSalesRestriction

public java.lang.String getSalesRestriction()
Gets the value of the salesRestriction property.

Returns:
possible object is String

setSalesRestriction

public void setSalesRestriction(java.lang.String value)
Sets the value of the salesRestriction property.

Parameters:
value - allowed object is String

isSetSalesRestriction

public boolean isSetSalesRestriction()

getShippingCharge

public java.util.List<ShippingCharge> getShippingCharge()
Gets the value of the shippingCharge property.

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


isSetShippingCharge

public boolean isSetShippingCharge()

unsetShippingCharge

public void unsetShippingCharge()

withOfferListingId

public OfferListing withOfferListingId(java.lang.String value)
Sets the value of the OfferListingId property.

Parameters:
value -
Returns:
this instance

withExchangeId

public OfferListing withExchangeId(java.lang.String value)
Sets the value of the ExchangeId property.

Parameters:
value -
Returns:
this instance

withPrice

public OfferListing withPrice(Price value)
Sets the value of the Price property.

Parameters:
value -
Returns:
this instance

withSalePrice

public OfferListing withSalePrice(Price value)
Sets the value of the SalePrice property.

Parameters:
value -
Returns:
this instance

withAmountSaved

public OfferListing withAmountSaved(Price value)
Sets the value of the AmountSaved property.

Parameters:
value -
Returns:
this instance

withPercentageSaved

public OfferListing withPercentageSaved(java.math.BigInteger value)
Sets the value of the PercentageSaved property.

Parameters:
value -
Returns:
this instance

withAvailability

public OfferListing withAvailability(java.lang.String value)
Sets the value of the Availability property.

Parameters:
value -
Returns:
this instance

withAvailabilityAttributes

public OfferListing withAvailabilityAttributes(AvailabilityAttributes value)
Sets the value of the AvailabilityAttributes property.

Parameters:
value -
Returns:
this instance

withQuantity

public OfferListing withQuantity(java.lang.Integer value)
Sets the value of the Quantity property.

Parameters:
value -
Returns:
this instance

withISPUStoreAddress

public OfferListing withISPUStoreAddress(Address value)
Sets the value of the ISPUStoreAddress property.

Parameters:
value -
Returns:
this instance

withISPUStoreHours

public OfferListing withISPUStoreHours(java.lang.String value)
Sets the value of the ISPUStoreHours property.

Parameters:
value -
Returns:
this instance

withIsEligibleForSuperSaverShipping

public OfferListing withIsEligibleForSuperSaverShipping(java.lang.Boolean value)
Sets the value of the IsEligibleForSuperSaverShipping property.

Parameters:
value -
Returns:
this instance

withSalesRestriction

public OfferListing withSalesRestriction(java.lang.String value)
Sets the value of the SalesRestriction property.

Parameters:
value -
Returns:
this instance

withShippingCharge

public OfferListing withShippingCharge(ShippingCharge... values)
Sets the value of the ShippingCharge property.

Parameters:
values -
Returns:
this instance

setShippingCharge

public void setShippingCharge(java.util.List<ShippingCharge> shippingCharge)
Sets the value of the shippingCharge property.

Parameters:
shippingCharge - allowed object is ShippingCharge

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only