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 javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlElement;
14 import javax.xml.bind.annotation.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16
17
18 /**
19 * <p>Java class for anonymous complex type.
20 *
21 * <p>The following schema fragment specifies the expected content contained within this class.
22 *
23 * <pre>
24 * <complexType>
25 * <complexContent>
26 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27 * <sequence>
28 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Request" minOccurs="0"/>
29 * <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string"/>
30 * <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string"/>
31 * <element name="URLEncodedHMAC" type="{http://www.w3.org/2001/XMLSchema}string"/>
32 * <element name="PurchaseURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
33 * <element name="SubTotal" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price" minOccurs="0"/>
34 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}CartItems" minOccurs="0"/>
35 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}SavedForLaterItems" minOccurs="0"/>
36 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}SimilarProducts" minOccurs="0"/>
37 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}TopSellers" minOccurs="0"/>
38 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}NewReleases" minOccurs="0"/>
39 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}SimilarViewedProducts" minOccurs="0"/>
40 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}OtherCategoriesSimilarProducts" minOccurs="0"/>
41 * </sequence>
42 * </restriction>
43 * </complexContent>
44 * </complexType>
45 * </pre>
46 *
47 *
48 */
49 @XmlAccessorType(XmlAccessType.FIELD)
50 @XmlType(name = "", propOrder = {
51 "request",
52 "cartId",
53 "hmac",
54 "urlEncodedHMAC",
55 "purchaseURL",
56 "subTotal",
57 "cartItems",
58 "savedForLaterItems",
59 "similarProducts",
60 "topSellers",
61 "newReleases",
62 "similarViewedProducts",
63 "otherCategoriesSimilarProducts"
64 })
65 @XmlRootElement(name = "Cart")
66 public class Cart {
67
68 @XmlElement(name = "Request")
69 protected Request request;
70 @XmlElement(name = "CartId", required = true)
71 protected String cartId;
72 @XmlElement(name = "HMAC", required = true)
73 protected String hmac;
74 @XmlElement(name = "URLEncodedHMAC", required = true)
75 protected String urlEncodedHMAC;
76 @XmlElement(name = "PurchaseURL")
77 protected String purchaseURL;
78 @XmlElement(name = "SubTotal")
79 protected Price subTotal;
80 @XmlElement(name = "CartItems")
81 protected CartItems cartItems;
82 @XmlElement(name = "SavedForLaterItems")
83 protected SavedForLaterItems savedForLaterItems;
84 @XmlElement(name = "SimilarProducts")
85 protected SimilarProducts similarProducts;
86 @XmlElement(name = "TopSellers")
87 protected TopSellers topSellers;
88 @XmlElement(name = "NewReleases")
89 protected NewReleases newReleases;
90 @XmlElement(name = "SimilarViewedProducts")
91 protected SimilarViewedProducts similarViewedProducts;
92 @XmlElement(name = "OtherCategoriesSimilarProducts")
93 protected OtherCategoriesSimilarProducts otherCategoriesSimilarProducts;
94
95 /**
96 * Gets the value of the request property.
97 *
98 * @return
99 * possible object is
100 * {@link Request }
101 *
102 */
103 public Request getRequest() {
104 return request;
105 }
106
107 /**
108 * Sets the value of the request property.
109 *
110 * @param value
111 * allowed object is
112 * {@link Request }
113 *
114 */
115 public void setRequest(Request value) {
116 this.request = value;
117 }
118
119 /**
120 * Gets the value of the cartId property.
121 *
122 * @return
123 * possible object is
124 * {@link String }
125 *
126 */
127 public String getCartId() {
128 return cartId;
129 }
130
131 /**
132 * Sets the value of the cartId property.
133 *
134 * @param value
135 * allowed object is
136 * {@link String }
137 *
138 */
139 public void setCartId(String value) {
140 this.cartId = value;
141 }
142
143 /**
144 * Gets the value of the hmac property.
145 *
146 * @return
147 * possible object is
148 * {@link String }
149 *
150 */
151 public String getHMAC() {
152 return hmac;
153 }
154
155 /**
156 * Sets the value of the hmac property.
157 *
158 * @param value
159 * allowed object is
160 * {@link String }
161 *
162 */
163 public void setHMAC(String value) {
164 this.hmac = value;
165 }
166
167 /**
168 * Gets the value of the urlEncodedHMAC property.
169 *
170 * @return
171 * possible object is
172 * {@link String }
173 *
174 */
175 public String getURLEncodedHMAC() {
176 return urlEncodedHMAC;
177 }
178
179 /**
180 * Sets the value of the urlEncodedHMAC property.
181 *
182 * @param value
183 * allowed object is
184 * {@link String }
185 *
186 */
187 public void setURLEncodedHMAC(String value) {
188 this.urlEncodedHMAC = value;
189 }
190
191 /**
192 * Gets the value of the purchaseURL property.
193 *
194 * @return
195 * possible object is
196 * {@link String }
197 *
198 */
199 public String getPurchaseURL() {
200 return purchaseURL;
201 }
202
203 /**
204 * Sets the value of the purchaseURL property.
205 *
206 * @param value
207 * allowed object is
208 * {@link String }
209 *
210 */
211 public void setPurchaseURL(String value) {
212 this.purchaseURL = value;
213 }
214
215 /**
216 * Gets the value of the subTotal property.
217 *
218 * @return
219 * possible object is
220 * {@link Price }
221 *
222 */
223 public Price getSubTotal() {
224 return subTotal;
225 }
226
227 /**
228 * Sets the value of the subTotal property.
229 *
230 * @param value
231 * allowed object is
232 * {@link Price }
233 *
234 */
235 public void setSubTotal(Price value) {
236 this.subTotal = value;
237 }
238
239 /**
240 * Gets the value of the cartItems property.
241 *
242 * @return
243 * possible object is
244 * {@link CartItems }
245 *
246 */
247 public CartItems getCartItems() {
248 return cartItems;
249 }
250
251 /**
252 * Sets the value of the cartItems property.
253 *
254 * @param value
255 * allowed object is
256 * {@link CartItems }
257 *
258 */
259 public void setCartItems(CartItems value) {
260 this.cartItems = value;
261 }
262
263 /**
264 * Gets the value of the savedForLaterItems property.
265 *
266 * @return
267 * possible object is
268 * {@link SavedForLaterItems }
269 *
270 */
271 public SavedForLaterItems getSavedForLaterItems() {
272 return savedForLaterItems;
273 }
274
275 /**
276 * Sets the value of the savedForLaterItems property.
277 *
278 * @param value
279 * allowed object is
280 * {@link SavedForLaterItems }
281 *
282 */
283 public void setSavedForLaterItems(SavedForLaterItems value) {
284 this.savedForLaterItems = value;
285 }
286
287 /**
288 * Gets the value of the similarProducts property.
289 *
290 * @return
291 * possible object is
292 * {@link SimilarProducts }
293 *
294 */
295 public SimilarProducts getSimilarProducts() {
296 return similarProducts;
297 }
298
299 /**
300 * Sets the value of the similarProducts property.
301 *
302 * @param value
303 * allowed object is
304 * {@link SimilarProducts }
305 *
306 */
307 public void setSimilarProducts(SimilarProducts value) {
308 this.similarProducts = value;
309 }
310
311 /**
312 * Gets the value of the topSellers property.
313 *
314 * @return
315 * possible object is
316 * {@link TopSellers }
317 *
318 */
319 public TopSellers getTopSellers() {
320 return topSellers;
321 }
322
323 /**
324 * Sets the value of the topSellers property.
325 *
326 * @param value
327 * allowed object is
328 * {@link TopSellers }
329 *
330 */
331 public void setTopSellers(TopSellers value) {
332 this.topSellers = value;
333 }
334
335 /**
336 * Gets the value of the newReleases property.
337 *
338 * @return
339 * possible object is
340 * {@link NewReleases }
341 *
342 */
343 public NewReleases getNewReleases() {
344 return newReleases;
345 }
346
347 /**
348 * Sets the value of the newReleases property.
349 *
350 * @param value
351 * allowed object is
352 * {@link NewReleases }
353 *
354 */
355 public void setNewReleases(NewReleases value) {
356 this.newReleases = value;
357 }
358
359 /**
360 * Gets the value of the similarViewedProducts property.
361 *
362 * @return
363 * possible object is
364 * {@link SimilarViewedProducts }
365 *
366 */
367 public SimilarViewedProducts getSimilarViewedProducts() {
368 return similarViewedProducts;
369 }
370
371 /**
372 * Sets the value of the similarViewedProducts property.
373 *
374 * @param value
375 * allowed object is
376 * {@link SimilarViewedProducts }
377 *
378 */
379 public void setSimilarViewedProducts(SimilarViewedProducts value) {
380 this.similarViewedProducts = value;
381 }
382
383 /**
384 * Gets the value of the otherCategoriesSimilarProducts property.
385 *
386 * @return
387 * possible object is
388 * {@link OtherCategoriesSimilarProducts }
389 *
390 */
391 public OtherCategoriesSimilarProducts getOtherCategoriesSimilarProducts() {
392 return otherCategoriesSimilarProducts;
393 }
394
395 /**
396 * Sets the value of the otherCategoriesSimilarProducts property.
397 *
398 * @param value
399 * allowed object is
400 * {@link OtherCategoriesSimilarProducts }
401 *
402 */
403 public void setOtherCategoriesSimilarProducts(OtherCategoriesSimilarProducts value) {
404 this.otherCategoriesSimilarProducts = value;
405 }
406
407 }