Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7487 kshitij.so 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:49:29 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.XmlRootElement;
17
import javax.xml.bind.annotation.XmlType;
18
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
19
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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
 * &lt;complexType>
29
 *   &lt;complexContent>
30
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31
 *       &lt;sequence>
32
 *         &lt;element ref="{}SKU"/>
33
 *         &lt;element name="ShippingOverride" maxOccurs="unbounded" minOccurs="0">
34
 *           &lt;complexType>
35
 *             &lt;complexContent>
36
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37
 *                 &lt;sequence>
38
 *                   &lt;element ref="{}ShipOption"/>
39
 *                   &lt;choice>
40
 *                     &lt;element name="IsShippingRestricted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
41
 *                     &lt;sequence>
42
 *                       &lt;element name="Type">
43
 *                         &lt;simpleType>
44
 *                           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
45
 *                             &lt;enumeration value="Additive"/>
46
 *                             &lt;enumeration value="Exclusive"/>
47
 *                           &lt;/restriction>
48
 *                         &lt;/simpleType>
49
 *                       &lt;/element>
50
 *                       &lt;element name="ShipAmount" type="{}CurrencyAmount"/>
51
 *                     &lt;/sequence>
52
 *                   &lt;/choice>
53
 *                 &lt;/sequence>
54
 *               &lt;/restriction>
55
 *             &lt;/complexContent>
56
 *           &lt;/complexType>
57
 *         &lt;/element>
58
 *       &lt;/sequence>
59
 *     &lt;/restriction>
60
 *   &lt;/complexContent>
61
 * &lt;/complexType>
62
 * </pre>
63
 * 
64
 * 
65
 */
66
@XmlAccessorType(XmlAccessType.FIELD)
67
@XmlType(name = "", propOrder = {
68
    "sku",
69
    "shippingOverride"
70
})
71
@XmlRootElement(name = "Override")
72
public class Override {
73
 
74
    @XmlElement(name = "SKU", required = true)
75
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
76
    protected String sku;
77
    @XmlElement(name = "ShippingOverride")
78
    protected List<Override.ShippingOverride> shippingOverride;
79
 
80
    /**
81
     * Gets the value of the sku property.
82
     * 
83
     * @return
84
     *     possible object is
85
     *     {@link String }
86
     *     
87
     */
88
    public String getSKU() {
89
        return sku;
90
    }
91
 
92
    /**
93
     * Sets the value of the sku property.
94
     * 
95
     * @param value
96
     *     allowed object is
97
     *     {@link String }
98
     *     
99
     */
100
    public void setSKU(String value) {
101
        this.sku = value;
102
    }
103
 
104
    /**
105
     * Gets the value of the shippingOverride property.
106
     * 
107
     * <p>
108
     * This accessor method returns a reference to the live list,
109
     * not a snapshot. Therefore any modification you make to the
110
     * returned list will be present inside the JAXB object.
111
     * This is why there is not a <CODE>set</CODE> method for the shippingOverride property.
112
     * 
113
     * <p>
114
     * For example, to add a new item, do as follows:
115
     * <pre>
116
     *    getShippingOverride().add(newItem);
117
     * </pre>
118
     * 
119
     * 
120
     * <p>
121
     * Objects of the following type(s) are allowed in the list
122
     * {@link Override.ShippingOverride }
123
     * 
124
     * 
125
     */
126
    public List<Override.ShippingOverride> getShippingOverride() {
127
        if (shippingOverride == null) {
128
            shippingOverride = new ArrayList<Override.ShippingOverride>();
129
        }
130
        return this.shippingOverride;
131
    }
132
 
133
 
134
    /**
135
     * <p>Java class for anonymous complex type.
136
     * 
137
     * <p>The following schema fragment specifies the expected content contained within this class.
138
     * 
139
     * <pre>
140
     * &lt;complexType>
141
     *   &lt;complexContent>
142
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
143
     *       &lt;sequence>
144
     *         &lt;element ref="{}ShipOption"/>
145
     *         &lt;choice>
146
     *           &lt;element name="IsShippingRestricted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
147
     *           &lt;sequence>
148
     *             &lt;element name="Type">
149
     *               &lt;simpleType>
150
     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
151
     *                   &lt;enumeration value="Additive"/>
152
     *                   &lt;enumeration value="Exclusive"/>
153
     *                 &lt;/restriction>
154
     *               &lt;/simpleType>
155
     *             &lt;/element>
156
     *             &lt;element name="ShipAmount" type="{}CurrencyAmount"/>
157
     *           &lt;/sequence>
158
     *         &lt;/choice>
159
     *       &lt;/sequence>
160
     *     &lt;/restriction>
161
     *   &lt;/complexContent>
162
     * &lt;/complexType>
163
     * </pre>
164
     * 
165
     * 
166
     */
167
    @XmlAccessorType(XmlAccessType.FIELD)
168
    @XmlType(name = "", propOrder = {
169
        "shipOption",
170
        "isShippingRestricted",
171
        "type",
172
        "shipAmount"
173
    })
174
    public static class ShippingOverride {
175
 
176
        @XmlElement(name = "ShipOption", required = true)
177
        @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
178
        protected String shipOption;
179
        @XmlElement(name = "IsShippingRestricted")
180
        protected Boolean isShippingRestricted;
181
        @XmlElement(name = "Type")
182
        protected String type;
183
        @XmlElement(name = "ShipAmount")
184
        protected CurrencyAmount shipAmount;
185
 
186
        /**
187
         * Gets the value of the shipOption property.
188
         * 
189
         * @return
190
         *     possible object is
191
         *     {@link String }
192
         *     
193
         */
194
        public String getShipOption() {
195
            return shipOption;
196
        }
197
 
198
        /**
199
         * Sets the value of the shipOption property.
200
         * 
201
         * @param value
202
         *     allowed object is
203
         *     {@link String }
204
         *     
205
         */
206
        public void setShipOption(String value) {
207
            this.shipOption = value;
208
        }
209
 
210
        /**
211
         * Gets the value of the isShippingRestricted property.
212
         * 
213
         * @return
214
         *     possible object is
215
         *     {@link Boolean }
216
         *     
217
         */
218
        public Boolean isIsShippingRestricted() {
219
            return isShippingRestricted;
220
        }
221
 
222
        /**
223
         * Sets the value of the isShippingRestricted property.
224
         * 
225
         * @param value
226
         *     allowed object is
227
         *     {@link Boolean }
228
         *     
229
         */
230
        public void setIsShippingRestricted(Boolean value) {
231
            this.isShippingRestricted = value;
232
        }
233
 
234
        /**
235
         * Gets the value of the type property.
236
         * 
237
         * @return
238
         *     possible object is
239
         *     {@link String }
240
         *     
241
         */
242
        public String getType() {
243
            return type;
244
        }
245
 
246
        /**
247
         * Sets the value of the type property.
248
         * 
249
         * @param value
250
         *     allowed object is
251
         *     {@link String }
252
         *     
253
         */
254
        public void setType(String value) {
255
            this.type = value;
256
        }
257
 
258
        /**
259
         * Gets the value of the shipAmount property.
260
         * 
261
         * @return
262
         *     possible object is
263
         *     {@link CurrencyAmount }
264
         *     
265
         */
266
        public CurrencyAmount getShipAmount() {
267
            return shipAmount;
268
        }
269
 
270
        /**
271
         * Sets the value of the shipAmount property.
272
         * 
273
         * @param value
274
         *     allowed object is
275
         *     {@link CurrencyAmount }
276
         *     
277
         */
278
        public void setShipAmount(CurrencyAmount value) {
279
            this.shipAmount = value;
280
        }
281
 
282
    }
283
 
284
}