Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7480 vikram.rag 1
//
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
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: 2013.03.04 at 03:57:00 PM IST 
6
//
7
 
8
 
9
package in.shop2020.feeds.products;
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.XmlType;
17
 
18
 
19
/**
20
 * <p>Java class for BuyerPrice complex type.
21
 * 
22
 * <p>The following schema fragment specifies the expected content contained within this class.
23
 * 
24
 * <pre>
25
 * &lt;complexType name="BuyerPrice">
26
 *   &lt;complexContent>
27
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28
 *       &lt;sequence>
29
 *         &lt;element name="Component" maxOccurs="unbounded">
30
 *           &lt;complexType>
31
 *             &lt;complexContent>
32
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33
 *                 &lt;sequence>
34
 *                   &lt;element name="Type">
35
 *                     &lt;simpleType>
36
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
37
 *                         &lt;enumeration value="Principal"/>
38
 *                         &lt;enumeration value="Shipping"/>
39
 *                         &lt;enumeration value="CODFee"/>
40
 *                         &lt;enumeration value="Tax"/>
41
 *                         &lt;enumeration value="ShippingTax"/>
42
 *                         &lt;enumeration value="RestockingFee"/>
43
 *                         &lt;enumeration value="RestockingFeeTax"/>
44
 *                         &lt;enumeration value="GiftWrap"/>
45
 *                         &lt;enumeration value="GiftWrapTax"/>
46
 *                         &lt;enumeration value="Surcharge"/>
47
 *                         &lt;enumeration value="ReturnShipping"/>
48
 *                         &lt;enumeration value="Goodwill"/>
49
 *                         &lt;enumeration value="ExportCharge"/>
50
 *                         &lt;enumeration value="COD"/>
51
 *                         &lt;enumeration value="CODTax"/>
52
 *                         &lt;enumeration value="Other"/>
53
 *                         &lt;enumeration value="FreeReplacementReturnShipping"/>
54
 *                       &lt;/restriction>
55
 *                     &lt;/simpleType>
56
 *                   &lt;/element>
57
 *                   &lt;element name="Amount" type="{}CurrencyAmount"/>
58
 *                 &lt;/sequence>
59
 *               &lt;/restriction>
60
 *             &lt;/complexContent>
61
 *           &lt;/complexType>
62
 *         &lt;/element>
63
 *       &lt;/sequence>
64
 *     &lt;/restriction>
65
 *   &lt;/complexContent>
66
 * &lt;/complexType>
67
 * </pre>
68
 * 
69
 * 
70
 */
71
@XmlAccessorType(XmlAccessType.FIELD)
72
@XmlType(name = "BuyerPrice", propOrder = {
73
    "component"
74
})
75
public class BuyerPrice {
76
 
77
    @XmlElement(name = "Component", required = true)
78
    protected List<BuyerPrice.Component> component;
79
 
80
    /**
81
     * Gets the value of the component property.
82
     * 
83
     * <p>
84
     * This accessor method returns a reference to the live list,
85
     * not a snapshot. Therefore any modification you make to the
86
     * returned list will be present inside the JAXB object.
87
     * This is why there is not a <CODE>set</CODE> method for the component property.
88
     * 
89
     * <p>
90
     * For example, to add a new item, do as follows:
91
     * <pre>
92
     *    getComponent().add(newItem);
93
     * </pre>
94
     * 
95
     * 
96
     * <p>
97
     * Objects of the following type(s) are allowed in the list
98
     * {@link BuyerPrice.Component }
99
     * 
100
     * 
101
     */
102
    public List<BuyerPrice.Component> getComponent() {
103
        if (component == null) {
104
            component = new ArrayList<BuyerPrice.Component>();
105
        }
106
        return this.component;
107
    }
108
 
109
 
110
    /**
111
     * <p>Java class for anonymous complex type.
112
     * 
113
     * <p>The following schema fragment specifies the expected content contained within this class.
114
     * 
115
     * <pre>
116
     * &lt;complexType>
117
     *   &lt;complexContent>
118
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
119
     *       &lt;sequence>
120
     *         &lt;element name="Type">
121
     *           &lt;simpleType>
122
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
123
     *               &lt;enumeration value="Principal"/>
124
     *               &lt;enumeration value="Shipping"/>
125
     *               &lt;enumeration value="CODFee"/>
126
     *               &lt;enumeration value="Tax"/>
127
     *               &lt;enumeration value="ShippingTax"/>
128
     *               &lt;enumeration value="RestockingFee"/>
129
     *               &lt;enumeration value="RestockingFeeTax"/>
130
     *               &lt;enumeration value="GiftWrap"/>
131
     *               &lt;enumeration value="GiftWrapTax"/>
132
     *               &lt;enumeration value="Surcharge"/>
133
     *               &lt;enumeration value="ReturnShipping"/>
134
     *               &lt;enumeration value="Goodwill"/>
135
     *               &lt;enumeration value="ExportCharge"/>
136
     *               &lt;enumeration value="COD"/>
137
     *               &lt;enumeration value="CODTax"/>
138
     *               &lt;enumeration value="Other"/>
139
     *               &lt;enumeration value="FreeReplacementReturnShipping"/>
140
     *             &lt;/restriction>
141
     *           &lt;/simpleType>
142
     *         &lt;/element>
143
     *         &lt;element name="Amount" type="{}CurrencyAmount"/>
144
     *       &lt;/sequence>
145
     *     &lt;/restriction>
146
     *   &lt;/complexContent>
147
     * &lt;/complexType>
148
     * </pre>
149
     * 
150
     * 
151
     */
152
    @XmlAccessorType(XmlAccessType.FIELD)
153
    @XmlType(name = "", propOrder = {
154
        "type",
155
        "amount"
156
    })
157
    public static class Component {
158
 
159
        @XmlElement(name = "Type", required = true)
160
        protected String type;
161
        @XmlElement(name = "Amount", required = true)
162
        protected CurrencyAmount amount;
163
 
164
        /**
165
         * Gets the value of the type property.
166
         * 
167
         * @return
168
         *     possible object is
169
         *     {@link String }
170
         *     
171
         */
172
        public String getType() {
173
            return type;
174
        }
175
 
176
        /**
177
         * Sets the value of the type property.
178
         * 
179
         * @param value
180
         *     allowed object is
181
         *     {@link String }
182
         *     
183
         */
184
        public void setType(String value) {
185
            this.type = value;
186
        }
187
 
188
        /**
189
         * Gets the value of the amount property.
190
         * 
191
         * @return
192
         *     possible object is
193
         *     {@link CurrencyAmount }
194
         *     
195
         */
196
        public CurrencyAmount getAmount() {
197
            return amount;
198
        }
199
 
200
        /**
201
         * Sets the value of the amount property.
202
         * 
203
         * @param value
204
         *     allowed object is
205
         *     {@link CurrencyAmount }
206
         *     
207
         */
208
        public void setAmount(CurrencyAmount value) {
209
            this.amount = value;
210
        }
211
 
212
    }
213
 
214
}