View Javadoc

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   * &lt;complexType>
27   *   &lt;complexContent>
28   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29   *       &lt;sequence>
30   *         &lt;element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}OperationRequest" minOccurs="0"/>
31   *         &lt;element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Cart" maxOccurs="unbounded" minOccurs="0"/>
32   *       &lt;/sequence>
33   *     &lt;/restriction>
34   *   &lt;/complexContent>
35   * &lt;/complexType>
36   * </pre>
37   * 
38   * 
39   */
40  @XmlAccessorType(XmlAccessType.FIELD)
41  @XmlType(name = "", propOrder = {
42      "operationRequest",
43      "cart"
44  })
45  @XmlRootElement(name = "CartClearResponse")
46  public class CartClearResponse {
47  
48      @XmlElement(name = "OperationRequest")
49      protected OperationRequest operationRequest;
50      @XmlElement(name = "Cart")
51      protected List<Cart> cart;
52  
53      /**
54       * Gets the value of the operationRequest property.
55       * 
56       * @return
57       *     possible object is
58       *     {@link OperationRequest }
59       *     
60       */
61      public OperationRequest getOperationRequest() {
62          return operationRequest;
63      }
64  
65      /**
66       * Sets the value of the operationRequest property.
67       * 
68       * @param value
69       *     allowed object is
70       *     {@link OperationRequest }
71       *     
72       */
73      public void setOperationRequest(OperationRequest value) {
74          this.operationRequest = value;
75      }
76  
77      /**
78       * Gets the value of the cart property.
79       * 
80       * <p>
81       * This accessor method returns a reference to the live list,
82       * not a snapshot. Therefore any modification you make to the
83       * returned list will be present inside the JAXB object.
84       * This is why there is not a <CODE>set</CODE> method for the cart property.
85       * 
86       * <p>
87       * For example, to add a new item, do as follows:
88       * <pre>
89       *    getCart().add(newItem);
90       * </pre>
91       * 
92       * 
93       * <p>
94       * Objects of the following type(s) are allowed in the list
95       * {@link Cart }
96       * 
97       * 
98       */
99      public List<Cart> getCart() {
100         if (cart == null) {
101             cart = new ArrayList<Cart>();
102         }
103         return this.cart;
104     }
105 
106 }