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.math.BigInteger;
12 import java.util.ArrayList;
13 import java.util.List;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlSchemaType;
19 import javax.xml.bind.annotation.XmlType;
20
21
22 /**
23 * <p>Java class for anonymous complex type.
24 *
25 * <p>The following schema fragment specifies the expected content contained within this class.
26 *
27 * <pre>
28 * <complexType>
29 * <complexContent>
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31 * <sequence>
32 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Request" minOccurs="0"/>
33 * <element name="TotalResults" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
34 * <element name="TotalPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
35 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Transaction" maxOccurs="unbounded"/>
36 * </sequence>
37 * </restriction>
38 * </complexContent>
39 * </complexType>
40 * </pre>
41 *
42 *
43 */
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "", propOrder = {
46 "request",
47 "totalResults",
48 "totalPages",
49 "transaction"
50 })
51 @XmlRootElement(name = "Transactions")
52 public class Transactions {
53
54 @XmlElement(name = "Request")
55 protected Request request;
56 @XmlElement(name = "TotalResults")
57 @XmlSchemaType(name = "nonNegativeInteger")
58 protected BigInteger totalResults;
59 @XmlElement(name = "TotalPages")
60 @XmlSchemaType(name = "nonNegativeInteger")
61 protected BigInteger totalPages;
62 @XmlElement(name = "Transaction", required = true)
63 protected List<Transaction> transaction;
64
65 /**
66 * Gets the value of the request property.
67 *
68 * @return
69 * possible object is
70 * {@link Request }
71 *
72 */
73 public Request getRequest() {
74 return request;
75 }
76
77 /**
78 * Sets the value of the request property.
79 *
80 * @param value
81 * allowed object is
82 * {@link Request }
83 *
84 */
85 public void setRequest(Request value) {
86 this.request = value;
87 }
88
89 /**
90 * Gets the value of the totalResults property.
91 *
92 * @return
93 * possible object is
94 * {@link BigInteger }
95 *
96 */
97 public BigInteger getTotalResults() {
98 return totalResults;
99 }
100
101 /**
102 * Sets the value of the totalResults property.
103 *
104 * @param value
105 * allowed object is
106 * {@link BigInteger }
107 *
108 */
109 public void setTotalResults(BigInteger value) {
110 this.totalResults = value;
111 }
112
113 /**
114 * Gets the value of the totalPages property.
115 *
116 * @return
117 * possible object is
118 * {@link BigInteger }
119 *
120 */
121 public BigInteger getTotalPages() {
122 return totalPages;
123 }
124
125 /**
126 * Sets the value of the totalPages property.
127 *
128 * @param value
129 * allowed object is
130 * {@link BigInteger }
131 *
132 */
133 public void setTotalPages(BigInteger value) {
134 this.totalPages = value;
135 }
136
137 /**
138 * Gets the value of the transaction property.
139 *
140 * <p>
141 * This accessor method returns a reference to the live list,
142 * not a snapshot. Therefore any modification you make to the
143 * returned list will be present inside the JAXB object.
144 * This is why there is not a <CODE>set</CODE> method for the transaction property.
145 *
146 * <p>
147 * For example, to add a new item, do as follows:
148 * <pre>
149 * getTransaction().add(newItem);
150 * </pre>
151 *
152 *
153 * <p>
154 * Objects of the following type(s) are allowed in the list
155 * {@link Transaction }
156 *
157 *
158 */
159 public List<Transaction> getTransaction() {
160 if (transaction == null) {
161 transaction = new ArrayList<Transaction>();
162 }
163 return this.transaction;
164 }
165
166 }