|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.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-10-29}Merchant" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Seller" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}OfferAttributes" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}OfferListing" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}LoyaltyPoints" minOccurs="0"/>
<element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Promotions" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
Generated by AWS Code Generator
Thu Jan 10 05:27:59 PST 2008
| 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. |
boolean |
isSetLoyaltyPoints()
|
boolean |
isSetMerchant()
|
boolean |
isSetOfferAttributes()
|
boolean |
isSetOfferListing()
|
boolean |
isSetPromotions()
|
boolean |
isSetSeller()
|
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 |
setOfferListing(java.util.List<OfferListing> offerListing)
Sets the value of the offerListing property. |
void |
setPromotions(Promotions value)
Sets the value of the promotions property. |
void |
setSeller(Seller value)
Sets the value of the seller property. |
protected java.lang.String |
toXMLFragment()
XML fragment representation of this object |
void |
unsetOfferListing()
|
Offer |
withLoyaltyPoints(LoyaltyPoints value)
Sets the value of the LoyaltyPoints property. |
Offer |
withMerchant(Merchant value)
Sets the value of the Merchant property. |
Offer |
withOfferAttributes(OfferAttributes value)
Sets the value of the OfferAttributes property. |
Offer |
withOfferListing(OfferListing... values)
Sets the value of the OfferListing property. |
Offer |
withPromotions(Promotions value)
Sets the value of the Promotions property. |
Offer |
withSeller(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 boolean isSetMerchant()
public Seller getSeller()
Sellerpublic void setSeller(Seller value)
value - allowed object is
Sellerpublic boolean isSetSeller()
public OfferAttributes getOfferAttributes()
OfferAttributespublic void setOfferAttributes(OfferAttributes value)
value - allowed object is
OfferAttributespublic boolean isSetOfferAttributes()
public 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 boolean isSetOfferListing()
public void unsetOfferListing()
public LoyaltyPoints getLoyaltyPoints()
LoyaltyPointspublic void setLoyaltyPoints(LoyaltyPoints value)
value - allowed object is
LoyaltyPointspublic boolean isSetLoyaltyPoints()
public Promotions getPromotions()
Promotionspublic void setPromotions(Promotions value)
value - allowed object is
Promotionspublic boolean isSetPromotions()
public Offer withMerchant(Merchant value)
value -
public Offer withSeller(Seller value)
value -
public Offer withOfferAttributes(OfferAttributes value)
value -
public Offer withOfferListing(OfferListing... values)
values -
public Offer withLoyaltyPoints(LoyaltyPoints value)
value -
public Offer withPromotions(Promotions value)
value -
public void setOfferListing(java.util.List<OfferListing> offerListing)
offerListing - allowed object is
OfferListingprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||