1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2007.04.05 at 10:47:13 AM CEST
6 //
7
8
9 package com.amazon.webservices.awsecommerceservice._2007_04_04;
10
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
18
19
20 /**
21 * <p>Java class for anonymous complex type.
22 *
23 * <p>The following schema fragment specifies the expected content contained within this class.
24 *
25 * <pre>
26 * <complexType>
27 * <complexContent>
28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 * <sequence>
30 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Merchant" minOccurs="0"/>
31 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Seller" minOccurs="0"/>
32 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}OfferAttributes" minOccurs="0"/>
33 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}OfferListing" maxOccurs="unbounded" minOccurs="0"/>
34 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}LoyaltyPoints" minOccurs="0"/>
35 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Promotions" minOccurs="0"/>
36 * </sequence>
37 * </restriction>
38 * </complexContent>
39 * </complexType>
40 * </pre>
41 *
42 *
43 */
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "", propOrder = {
46 "merchant",
47 "seller",
48 "offerAttributes",
49 "offerListing",
50 "loyaltyPoints",
51 "promotions"
52 })
53 @XmlRootElement(name = "Offer")
54 public class Offer {
55
56 @XmlElement(name = "Merchant")
57 protected Merchant merchant;
58 @XmlElement(name = "Seller")
59 protected Seller seller;
60 @XmlElement(name = "OfferAttributes")
61 protected OfferAttributes offerAttributes;
62 @XmlElement(name = "OfferListing")
63 protected List<OfferListing> offerListing;
64 @XmlElement(name = "LoyaltyPoints")
65 protected LoyaltyPoints loyaltyPoints;
66 @XmlElement(name = "Promotions")
67 protected Promotions promotions;
68
69 /**
70 * Gets the value of the merchant property.
71 *
72 * @return
73 * possible object is
74 * {@link Merchant }
75 *
76 */
77 public Merchant getMerchant() {
78 return merchant;
79 }
80
81 /**
82 * Sets the value of the merchant property.
83 *
84 * @param value
85 * allowed object is
86 * {@link Merchant }
87 *
88 */
89 public void setMerchant(Merchant value) {
90 this.merchant = value;
91 }
92
93 /**
94 * Gets the value of the seller property.
95 *
96 * @return
97 * possible object is
98 * {@link Seller }
99 *
100 */
101 public Seller getSeller() {
102 return seller;
103 }
104
105 /**
106 * Sets the value of the seller property.
107 *
108 * @param value
109 * allowed object is
110 * {@link Seller }
111 *
112 */
113 public void setSeller(Seller value) {
114 this.seller = value;
115 }
116
117 /**
118 * Gets the value of the offerAttributes property.
119 *
120 * @return
121 * possible object is
122 * {@link OfferAttributes }
123 *
124 */
125 public OfferAttributes getOfferAttributes() {
126 return offerAttributes;
127 }
128
129 /**
130 * Sets the value of the offerAttributes property.
131 *
132 * @param value
133 * allowed object is
134 * {@link OfferAttributes }
135 *
136 */
137 public void setOfferAttributes(OfferAttributes value) {
138 this.offerAttributes = value;
139 }
140
141 /**
142 * Gets the value of the offerListing property.
143 *
144 * <p>
145 * This accessor method returns a reference to the live list,
146 * not a snapshot. Therefore any modification you make to the
147 * returned list will be present inside the JAXB object.
148 * This is why there is not a <CODE>set</CODE> method for the offerListing property.
149 *
150 * <p>
151 * For example, to add a new item, do as follows:
152 * <pre>
153 * getOfferListing().add(newItem);
154 * </pre>
155 *
156 *
157 * <p>
158 * Objects of the following type(s) are allowed in the list
159 * {@link OfferListing }
160 *
161 *
162 */
163 public List<OfferListing> getOfferListing() {
164 if (offerListing == null) {
165 offerListing = new ArrayList<OfferListing>();
166 }
167 return this.offerListing;
168 }
169
170 /**
171 * Gets the value of the loyaltyPoints property.
172 *
173 * @return
174 * possible object is
175 * {@link LoyaltyPoints }
176 *
177 */
178 public LoyaltyPoints getLoyaltyPoints() {
179 return loyaltyPoints;
180 }
181
182 /**
183 * Sets the value of the loyaltyPoints property.
184 *
185 * @param value
186 * allowed object is
187 * {@link LoyaltyPoints }
188 *
189 */
190 public void setLoyaltyPoints(LoyaltyPoints value) {
191 this.loyaltyPoints = value;
192 }
193
194 /**
195 * Gets the value of the promotions property.
196 *
197 * @return
198 * possible object is
199 * {@link Promotions }
200 *
201 */
202 public Promotions getPromotions() {
203 return promotions;
204 }
205
206 /**
207 * Sets the value of the promotions property.
208 *
209 * @param value
210 * allowed object is
211 * {@link Promotions }
212 *
213 */
214 public void setPromotions(Promotions value) {
215 this.promotions = value;
216 }
217
218 }