public class Offer extends Object implements Serializable
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 ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Merchant" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OfferAttributes" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OfferListing" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}LoyaltyPoints" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Promotions" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected LoyaltyPoints |
loyaltyPoints |
protected Merchant |
merchant |
protected OfferAttributes |
offerAttributes |
protected List<OfferListing> |
offerListing |
protected Promotions |
promotions |
| Constructor and Description |
|---|
Offer() |
| Modifier and Type | Method and Description |
|---|---|
LoyaltyPoints |
getLoyaltyPoints()
Gets the value of the loyaltyPoints property.
|
Merchant |
getMerchant()
Gets the value of the merchant property.
|
OfferAttributes |
getOfferAttributes()
Gets the value of the offerAttributes property.
|
List<OfferListing> |
getOfferListing()
Gets the value of the offerListing property.
|
Promotions |
getPromotions()
Gets the value of the promotions property.
|
void |
setLoyaltyPoints(LoyaltyPoints value)
Sets the value of the loyaltyPoints property.
|
void |
setMerchant(Merchant value)
Sets the value of the merchant property.
|
void |
setOfferAttributes(OfferAttributes value)
Sets the value of the offerAttributes property.
|
void |
setPromotions(Promotions value)
Sets the value of the promotions property.
|
protected Merchant merchant
protected OfferAttributes offerAttributes
protected List<OfferListing> offerListing
protected LoyaltyPoints loyaltyPoints
protected Promotions promotions
public Merchant getMerchant()
Merchantpublic void setMerchant(Merchant value)
value - allowed object is
Merchantpublic OfferAttributes getOfferAttributes()
OfferAttributespublic void setOfferAttributes(OfferAttributes value)
value - allowed object is
OfferAttributespublic List<OfferListing> getOfferListing()
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 offerListing property.
For example, to add a new item, do as follows:
getOfferListing().add(newItem);
Objects of the following type(s) are allowed in the list
OfferListing
public LoyaltyPoints getLoyaltyPoints()
LoyaltyPointspublic void setLoyaltyPoints(LoyaltyPoints value)
value - allowed object is
LoyaltyPointspublic Promotions getPromotions()
Promotionspublic void setPromotions(Promotions value)
value - allowed object is
PromotionsCopyright © 2013. All Rights Reserved.