|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazon.webservices.awsecommerceservice._2007_04_04.Offer
public class Offer
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/2007-04-04}Merchant" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Seller" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}OfferAttributes" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}OfferListing" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}LoyaltyPoints" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Promotions" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected LoyaltyPoints |
loyaltyPoints
|
protected Merchant |
merchant
|
protected OfferAttributes |
offerAttributes
|
protected java.util.List<OfferListing> |
offerListing
|
protected Promotions |
promotions
|
protected Seller |
seller
|
| Constructor Summary | |
|---|---|
Offer()
|
|
| Method Summary | |
|---|---|
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. |
java.util.List<OfferListing> |
getOfferListing()
Gets the value of the offerListing property. |
Promotions |
getPromotions()
Gets the value of the promotions property. |
Seller |
getSeller()
Gets the value of the seller 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. |
void |
setSeller(Seller value)
Sets the value of the seller property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Merchant merchant
protected Seller seller
protected OfferAttributes offerAttributes
protected java.util.List<OfferListing> offerListing
protected LoyaltyPoints loyaltyPoints
protected Promotions promotions
| Constructor Detail |
|---|
public Offer()
| Method Detail |
|---|
public Merchant getMerchant()
Merchantpublic void setMerchant(Merchant value)
value - allowed object is
Merchantpublic Seller getSeller()
Sellerpublic void setSeller(Seller value)
value - allowed object is
Sellerpublic OfferAttributes getOfferAttributes()
OfferAttributespublic void setOfferAttributes(OfferAttributes value)
value - allowed object is
OfferAttributespublic java.util.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
Promotions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||