| Line 25... |
Line 25... |
| 25 |
|
25 |
|
| 26 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
|
26 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 27 |
private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)2);
|
27 |
private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 28 |
private static final org.apache.thrift.protocol.TField EXCEPTION_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("exceptionPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
|
28 |
private static final org.apache.thrift.protocol.TField EXCEPTION_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("exceptionPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
|
| 29 |
private static final org.apache.thrift.protocol.TField IS_LISTED_ON_SNAPDEAL_FIELD_DESC = new org.apache.thrift.protocol.TField("isListedOnSnapdeal", org.apache.thrift.protocol.TType.BOOL, (short)4);
|
29 |
private static final org.apache.thrift.protocol.TField IS_LISTED_ON_SNAPDEAL_FIELD_DESC = new org.apache.thrift.protocol.TField("isListedOnSnapdeal", org.apache.thrift.protocol.TType.BOOL, (short)4);
|
| - |
|
30 |
private static final org.apache.thrift.protocol.TField TRANSFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("transferPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)5);
|
| - |
|
31 |
private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
|
| - |
|
32 |
private static final org.apache.thrift.protocol.TField COURIER_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("courierCost", org.apache.thrift.protocol.TType.DOUBLE, (short)7);
|
| - |
|
33 |
private static final org.apache.thrift.protocol.TField COMMISSION_FIELD_DESC = new org.apache.thrift.protocol.TField("commission", org.apache.thrift.protocol.TType.DOUBLE, (short)8);
|
| - |
|
34 |
private static final org.apache.thrift.protocol.TField SERVICE_TAX_FIELD_DESC = new org.apache.thrift.protocol.TField("serviceTax", org.apache.thrift.protocol.TType.DOUBLE, (short)9);
|
| - |
|
35 |
private static final org.apache.thrift.protocol.TField SUPPRESS_PRICE_FEED_FIELD_DESC = new org.apache.thrift.protocol.TField("suppressPriceFeed", org.apache.thrift.protocol.TType.BOOL, (short)10);
|
| - |
|
36 |
private static final org.apache.thrift.protocol.TField SUPPRESS_INVENTORY_FEED_FIELD_DESC = new org.apache.thrift.protocol.TField("suppressInventoryFeed", org.apache.thrift.protocol.TType.BOOL, (short)11);
|
| 30 |
|
37 |
|
| 31 |
private long item_id; // required
|
38 |
private long item_id; // required
|
| 32 |
private long warehouseId; // required
|
39 |
private long warehouseId; // required
|
| 33 |
private double exceptionPrice; // required
|
40 |
private double exceptionPrice; // required
|
| 34 |
private boolean isListedOnSnapdeal; // required
|
41 |
private boolean isListedOnSnapdeal; // required
|
| - |
|
42 |
private double transferPrice; // required
|
| - |
|
43 |
private double sellingPrice; // required
|
| - |
|
44 |
private double courierCost; // required
|
| - |
|
45 |
private double commission; // required
|
| - |
|
46 |
private double serviceTax; // required
|
| - |
|
47 |
private boolean suppressPriceFeed; // required
|
| - |
|
48 |
private boolean suppressInventoryFeed; // required
|
| 35 |
|
49 |
|
| 36 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
50 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 37 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
51 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 38 |
ITEM_ID((short)1, "item_id"),
|
52 |
ITEM_ID((short)1, "item_id"),
|
| 39 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
53 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
| 40 |
EXCEPTION_PRICE((short)3, "exceptionPrice"),
|
54 |
EXCEPTION_PRICE((short)3, "exceptionPrice"),
|
| 41 |
IS_LISTED_ON_SNAPDEAL((short)4, "isListedOnSnapdeal");
|
55 |
IS_LISTED_ON_SNAPDEAL((short)4, "isListedOnSnapdeal"),
|
| - |
|
56 |
TRANSFER_PRICE((short)5, "transferPrice"),
|
| - |
|
57 |
SELLING_PRICE((short)6, "sellingPrice"),
|
| - |
|
58 |
COURIER_COST((short)7, "courierCost"),
|
| - |
|
59 |
COMMISSION((short)8, "commission"),
|
| - |
|
60 |
SERVICE_TAX((short)9, "serviceTax"),
|
| - |
|
61 |
SUPPRESS_PRICE_FEED((short)10, "suppressPriceFeed"),
|
| - |
|
62 |
SUPPRESS_INVENTORY_FEED((short)11, "suppressInventoryFeed");
|
| 42 |
|
63 |
|
| 43 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
64 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 44 |
|
65 |
|
| 45 |
static {
|
66 |
static {
|
| 46 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
67 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 59... |
Line 80... |
| 59 |
return WAREHOUSE_ID;
|
80 |
return WAREHOUSE_ID;
|
| 60 |
case 3: // EXCEPTION_PRICE
|
81 |
case 3: // EXCEPTION_PRICE
|
| 61 |
return EXCEPTION_PRICE;
|
82 |
return EXCEPTION_PRICE;
|
| 62 |
case 4: // IS_LISTED_ON_SNAPDEAL
|
83 |
case 4: // IS_LISTED_ON_SNAPDEAL
|
| 63 |
return IS_LISTED_ON_SNAPDEAL;
|
84 |
return IS_LISTED_ON_SNAPDEAL;
|
| - |
|
85 |
case 5: // TRANSFER_PRICE
|
| - |
|
86 |
return TRANSFER_PRICE;
|
| - |
|
87 |
case 6: // SELLING_PRICE
|
| - |
|
88 |
return SELLING_PRICE;
|
| - |
|
89 |
case 7: // COURIER_COST
|
| - |
|
90 |
return COURIER_COST;
|
| - |
|
91 |
case 8: // COMMISSION
|
| - |
|
92 |
return COMMISSION;
|
| - |
|
93 |
case 9: // SERVICE_TAX
|
| - |
|
94 |
return SERVICE_TAX;
|
| - |
|
95 |
case 10: // SUPPRESS_PRICE_FEED
|
| - |
|
96 |
return SUPPRESS_PRICE_FEED;
|
| - |
|
97 |
case 11: // SUPPRESS_INVENTORY_FEED
|
| - |
|
98 |
return SUPPRESS_INVENTORY_FEED;
|
| 64 |
default:
|
99 |
default:
|
| 65 |
return null;
|
100 |
return null;
|
| 66 |
}
|
101 |
}
|
| 67 |
}
|
102 |
}
|
| 68 |
|
103 |
|
| Line 103... |
Line 138... |
| 103 |
// isset id assignments
|
138 |
// isset id assignments
|
| 104 |
private static final int __ITEM_ID_ISSET_ID = 0;
|
139 |
private static final int __ITEM_ID_ISSET_ID = 0;
|
| 105 |
private static final int __WAREHOUSEID_ISSET_ID = 1;
|
140 |
private static final int __WAREHOUSEID_ISSET_ID = 1;
|
| 106 |
private static final int __EXCEPTIONPRICE_ISSET_ID = 2;
|
141 |
private static final int __EXCEPTIONPRICE_ISSET_ID = 2;
|
| 107 |
private static final int __ISLISTEDONSNAPDEAL_ISSET_ID = 3;
|
142 |
private static final int __ISLISTEDONSNAPDEAL_ISSET_ID = 3;
|
| - |
|
143 |
private static final int __TRANSFERPRICE_ISSET_ID = 4;
|
| - |
|
144 |
private static final int __SELLINGPRICE_ISSET_ID = 5;
|
| - |
|
145 |
private static final int __COURIERCOST_ISSET_ID = 6;
|
| - |
|
146 |
private static final int __COMMISSION_ISSET_ID = 7;
|
| - |
|
147 |
private static final int __SERVICETAX_ISSET_ID = 8;
|
| - |
|
148 |
private static final int __SUPPRESSPRICEFEED_ISSET_ID = 9;
|
| - |
|
149 |
private static final int __SUPPRESSINVENTORYFEED_ISSET_ID = 10;
|
| 108 |
private BitSet __isset_bit_vector = new BitSet(4);
|
150 |
private BitSet __isset_bit_vector = new BitSet(11);
|
| 109 |
|
151 |
|
| 110 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
152 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 111 |
static {
|
153 |
static {
|
| 112 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
154 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 113 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
155 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 116... |
Line 158... |
| 116 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
158 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 117 |
tmpMap.put(_Fields.EXCEPTION_PRICE, new org.apache.thrift.meta_data.FieldMetaData("exceptionPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
159 |
tmpMap.put(_Fields.EXCEPTION_PRICE, new org.apache.thrift.meta_data.FieldMetaData("exceptionPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 118 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
160 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 119 |
tmpMap.put(_Fields.IS_LISTED_ON_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("isListedOnSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
161 |
tmpMap.put(_Fields.IS_LISTED_ON_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("isListedOnSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 120 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
162 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| - |
|
163 |
tmpMap.put(_Fields.TRANSFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("transferPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
164 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
165 |
tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
166 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
167 |
tmpMap.put(_Fields.COURIER_COST, new org.apache.thrift.meta_data.FieldMetaData("courierCost", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
168 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
169 |
tmpMap.put(_Fields.COMMISSION, new org.apache.thrift.meta_data.FieldMetaData("commission", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
170 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
171 |
tmpMap.put(_Fields.SERVICE_TAX, new org.apache.thrift.meta_data.FieldMetaData("serviceTax", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
172 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
173 |
tmpMap.put(_Fields.SUPPRESS_PRICE_FEED, new org.apache.thrift.meta_data.FieldMetaData("suppressPriceFeed", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
174 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| - |
|
175 |
tmpMap.put(_Fields.SUPPRESS_INVENTORY_FEED, new org.apache.thrift.meta_data.FieldMetaData("suppressInventoryFeed", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
176 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 121 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
177 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 122 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItem.class, metaDataMap);
|
178 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItem.class, metaDataMap);
|
| 123 |
}
|
179 |
}
|
| 124 |
|
180 |
|
| 125 |
public SnapdealItem() {
|
181 |
public SnapdealItem() {
|
| Line 127... |
Line 183... |
| 127 |
|
183 |
|
| 128 |
public SnapdealItem(
|
184 |
public SnapdealItem(
|
| 129 |
long item_id,
|
185 |
long item_id,
|
| 130 |
long warehouseId,
|
186 |
long warehouseId,
|
| 131 |
double exceptionPrice,
|
187 |
double exceptionPrice,
|
| 132 |
boolean isListedOnSnapdeal)
|
188 |
boolean isListedOnSnapdeal,
|
| - |
|
189 |
double transferPrice,
|
| - |
|
190 |
double sellingPrice,
|
| - |
|
191 |
double courierCost,
|
| - |
|
192 |
double commission,
|
| - |
|
193 |
double serviceTax,
|
| - |
|
194 |
boolean suppressPriceFeed,
|
| - |
|
195 |
boolean suppressInventoryFeed)
|
| 133 |
{
|
196 |
{
|
| 134 |
this();
|
197 |
this();
|
| 135 |
this.item_id = item_id;
|
198 |
this.item_id = item_id;
|
| 136 |
setItem_idIsSet(true);
|
199 |
setItem_idIsSet(true);
|
| 137 |
this.warehouseId = warehouseId;
|
200 |
this.warehouseId = warehouseId;
|
| 138 |
setWarehouseIdIsSet(true);
|
201 |
setWarehouseIdIsSet(true);
|
| 139 |
this.exceptionPrice = exceptionPrice;
|
202 |
this.exceptionPrice = exceptionPrice;
|
| 140 |
setExceptionPriceIsSet(true);
|
203 |
setExceptionPriceIsSet(true);
|
| 141 |
this.isListedOnSnapdeal = isListedOnSnapdeal;
|
204 |
this.isListedOnSnapdeal = isListedOnSnapdeal;
|
| 142 |
setIsListedOnSnapdealIsSet(true);
|
205 |
setIsListedOnSnapdealIsSet(true);
|
| - |
|
206 |
this.transferPrice = transferPrice;
|
| - |
|
207 |
setTransferPriceIsSet(true);
|
| - |
|
208 |
this.sellingPrice = sellingPrice;
|
| - |
|
209 |
setSellingPriceIsSet(true);
|
| - |
|
210 |
this.courierCost = courierCost;
|
| - |
|
211 |
setCourierCostIsSet(true);
|
| - |
|
212 |
this.commission = commission;
|
| - |
|
213 |
setCommissionIsSet(true);
|
| - |
|
214 |
this.serviceTax = serviceTax;
|
| - |
|
215 |
setServiceTaxIsSet(true);
|
| - |
|
216 |
this.suppressPriceFeed = suppressPriceFeed;
|
| - |
|
217 |
setSuppressPriceFeedIsSet(true);
|
| - |
|
218 |
this.suppressInventoryFeed = suppressInventoryFeed;
|
| - |
|
219 |
setSuppressInventoryFeedIsSet(true);
|
| 143 |
}
|
220 |
}
|
| 144 |
|
221 |
|
| 145 |
/**
|
222 |
/**
|
| 146 |
* Performs a deep copy on <i>other</i>.
|
223 |
* Performs a deep copy on <i>other</i>.
|
| 147 |
*/
|
224 |
*/
|
| Line 150... |
Line 227... |
| 150 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
227 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 151 |
this.item_id = other.item_id;
|
228 |
this.item_id = other.item_id;
|
| 152 |
this.warehouseId = other.warehouseId;
|
229 |
this.warehouseId = other.warehouseId;
|
| 153 |
this.exceptionPrice = other.exceptionPrice;
|
230 |
this.exceptionPrice = other.exceptionPrice;
|
| 154 |
this.isListedOnSnapdeal = other.isListedOnSnapdeal;
|
231 |
this.isListedOnSnapdeal = other.isListedOnSnapdeal;
|
| - |
|
232 |
this.transferPrice = other.transferPrice;
|
| - |
|
233 |
this.sellingPrice = other.sellingPrice;
|
| - |
|
234 |
this.courierCost = other.courierCost;
|
| - |
|
235 |
this.commission = other.commission;
|
| - |
|
236 |
this.serviceTax = other.serviceTax;
|
| - |
|
237 |
this.suppressPriceFeed = other.suppressPriceFeed;
|
| - |
|
238 |
this.suppressInventoryFeed = other.suppressInventoryFeed;
|
| 155 |
}
|
239 |
}
|
| 156 |
|
240 |
|
| 157 |
public SnapdealItem deepCopy() {
|
241 |
public SnapdealItem deepCopy() {
|
| 158 |
return new SnapdealItem(this);
|
242 |
return new SnapdealItem(this);
|
| 159 |
}
|
243 |
}
|
| Line 166... |
Line 250... |
| 166 |
this.warehouseId = 0;
|
250 |
this.warehouseId = 0;
|
| 167 |
setExceptionPriceIsSet(false);
|
251 |
setExceptionPriceIsSet(false);
|
| 168 |
this.exceptionPrice = 0.0;
|
252 |
this.exceptionPrice = 0.0;
|
| 169 |
setIsListedOnSnapdealIsSet(false);
|
253 |
setIsListedOnSnapdealIsSet(false);
|
| 170 |
this.isListedOnSnapdeal = false;
|
254 |
this.isListedOnSnapdeal = false;
|
| - |
|
255 |
setTransferPriceIsSet(false);
|
| - |
|
256 |
this.transferPrice = 0.0;
|
| - |
|
257 |
setSellingPriceIsSet(false);
|
| - |
|
258 |
this.sellingPrice = 0.0;
|
| - |
|
259 |
setCourierCostIsSet(false);
|
| - |
|
260 |
this.courierCost = 0.0;
|
| - |
|
261 |
setCommissionIsSet(false);
|
| - |
|
262 |
this.commission = 0.0;
|
| - |
|
263 |
setServiceTaxIsSet(false);
|
| - |
|
264 |
this.serviceTax = 0.0;
|
| - |
|
265 |
setSuppressPriceFeedIsSet(false);
|
| - |
|
266 |
this.suppressPriceFeed = false;
|
| - |
|
267 |
setSuppressInventoryFeedIsSet(false);
|
| - |
|
268 |
this.suppressInventoryFeed = false;
|
| 171 |
}
|
269 |
}
|
| 172 |
|
270 |
|
| 173 |
public long getItem_id() {
|
271 |
public long getItem_id() {
|
| 174 |
return this.item_id;
|
272 |
return this.item_id;
|
| 175 |
}
|
273 |
}
|
| Line 256... |
Line 354... |
| 256 |
|
354 |
|
| 257 |
public void setIsListedOnSnapdealIsSet(boolean value) {
|
355 |
public void setIsListedOnSnapdealIsSet(boolean value) {
|
| 258 |
__isset_bit_vector.set(__ISLISTEDONSNAPDEAL_ISSET_ID, value);
|
356 |
__isset_bit_vector.set(__ISLISTEDONSNAPDEAL_ISSET_ID, value);
|
| 259 |
}
|
357 |
}
|
| 260 |
|
358 |
|
| - |
|
359 |
public double getTransferPrice() {
|
| - |
|
360 |
return this.transferPrice;
|
| - |
|
361 |
}
|
| - |
|
362 |
|
| - |
|
363 |
public void setTransferPrice(double transferPrice) {
|
| - |
|
364 |
this.transferPrice = transferPrice;
|
| - |
|
365 |
setTransferPriceIsSet(true);
|
| - |
|
366 |
}
|
| - |
|
367 |
|
| - |
|
368 |
public void unsetTransferPrice() {
|
| - |
|
369 |
__isset_bit_vector.clear(__TRANSFERPRICE_ISSET_ID);
|
| - |
|
370 |
}
|
| - |
|
371 |
|
| - |
|
372 |
/** Returns true if field transferPrice is set (has been assigned a value) and false otherwise */
|
| - |
|
373 |
public boolean isSetTransferPrice() {
|
| - |
|
374 |
return __isset_bit_vector.get(__TRANSFERPRICE_ISSET_ID);
|
| - |
|
375 |
}
|
| - |
|
376 |
|
| - |
|
377 |
public void setTransferPriceIsSet(boolean value) {
|
| - |
|
378 |
__isset_bit_vector.set(__TRANSFERPRICE_ISSET_ID, value);
|
| - |
|
379 |
}
|
| - |
|
380 |
|
| - |
|
381 |
public double getSellingPrice() {
|
| - |
|
382 |
return this.sellingPrice;
|
| - |
|
383 |
}
|
| - |
|
384 |
|
| - |
|
385 |
public void setSellingPrice(double sellingPrice) {
|
| - |
|
386 |
this.sellingPrice = sellingPrice;
|
| - |
|
387 |
setSellingPriceIsSet(true);
|
| - |
|
388 |
}
|
| - |
|
389 |
|
| - |
|
390 |
public void unsetSellingPrice() {
|
| - |
|
391 |
__isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
|
| - |
|
392 |
}
|
| - |
|
393 |
|
| - |
|
394 |
/** Returns true if field sellingPrice is set (has been assigned a value) and false otherwise */
|
| - |
|
395 |
public boolean isSetSellingPrice() {
|
| - |
|
396 |
return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
|
| - |
|
397 |
}
|
| - |
|
398 |
|
| - |
|
399 |
public void setSellingPriceIsSet(boolean value) {
|
| - |
|
400 |
__isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
|
| - |
|
401 |
}
|
| - |
|
402 |
|
| - |
|
403 |
public double getCourierCost() {
|
| - |
|
404 |
return this.courierCost;
|
| - |
|
405 |
}
|
| - |
|
406 |
|
| - |
|
407 |
public void setCourierCost(double courierCost) {
|
| - |
|
408 |
this.courierCost = courierCost;
|
| - |
|
409 |
setCourierCostIsSet(true);
|
| - |
|
410 |
}
|
| - |
|
411 |
|
| - |
|
412 |
public void unsetCourierCost() {
|
| - |
|
413 |
__isset_bit_vector.clear(__COURIERCOST_ISSET_ID);
|
| - |
|
414 |
}
|
| - |
|
415 |
|
| - |
|
416 |
/** Returns true if field courierCost is set (has been assigned a value) and false otherwise */
|
| - |
|
417 |
public boolean isSetCourierCost() {
|
| - |
|
418 |
return __isset_bit_vector.get(__COURIERCOST_ISSET_ID);
|
| - |
|
419 |
}
|
| - |
|
420 |
|
| - |
|
421 |
public void setCourierCostIsSet(boolean value) {
|
| - |
|
422 |
__isset_bit_vector.set(__COURIERCOST_ISSET_ID, value);
|
| - |
|
423 |
}
|
| - |
|
424 |
|
| - |
|
425 |
public double getCommission() {
|
| - |
|
426 |
return this.commission;
|
| - |
|
427 |
}
|
| - |
|
428 |
|
| - |
|
429 |
public void setCommission(double commission) {
|
| - |
|
430 |
this.commission = commission;
|
| - |
|
431 |
setCommissionIsSet(true);
|
| - |
|
432 |
}
|
| - |
|
433 |
|
| - |
|
434 |
public void unsetCommission() {
|
| - |
|
435 |
__isset_bit_vector.clear(__COMMISSION_ISSET_ID);
|
| - |
|
436 |
}
|
| - |
|
437 |
|
| - |
|
438 |
/** Returns true if field commission is set (has been assigned a value) and false otherwise */
|
| - |
|
439 |
public boolean isSetCommission() {
|
| - |
|
440 |
return __isset_bit_vector.get(__COMMISSION_ISSET_ID);
|
| - |
|
441 |
}
|
| - |
|
442 |
|
| - |
|
443 |
public void setCommissionIsSet(boolean value) {
|
| - |
|
444 |
__isset_bit_vector.set(__COMMISSION_ISSET_ID, value);
|
| - |
|
445 |
}
|
| - |
|
446 |
|
| - |
|
447 |
public double getServiceTax() {
|
| - |
|
448 |
return this.serviceTax;
|
| - |
|
449 |
}
|
| - |
|
450 |
|
| - |
|
451 |
public void setServiceTax(double serviceTax) {
|
| - |
|
452 |
this.serviceTax = serviceTax;
|
| - |
|
453 |
setServiceTaxIsSet(true);
|
| - |
|
454 |
}
|
| - |
|
455 |
|
| - |
|
456 |
public void unsetServiceTax() {
|
| - |
|
457 |
__isset_bit_vector.clear(__SERVICETAX_ISSET_ID);
|
| - |
|
458 |
}
|
| - |
|
459 |
|
| - |
|
460 |
/** Returns true if field serviceTax is set (has been assigned a value) and false otherwise */
|
| - |
|
461 |
public boolean isSetServiceTax() {
|
| - |
|
462 |
return __isset_bit_vector.get(__SERVICETAX_ISSET_ID);
|
| - |
|
463 |
}
|
| - |
|
464 |
|
| - |
|
465 |
public void setServiceTaxIsSet(boolean value) {
|
| - |
|
466 |
__isset_bit_vector.set(__SERVICETAX_ISSET_ID, value);
|
| - |
|
467 |
}
|
| - |
|
468 |
|
| - |
|
469 |
public boolean isSuppressPriceFeed() {
|
| - |
|
470 |
return this.suppressPriceFeed;
|
| - |
|
471 |
}
|
| - |
|
472 |
|
| - |
|
473 |
public void setSuppressPriceFeed(boolean suppressPriceFeed) {
|
| - |
|
474 |
this.suppressPriceFeed = suppressPriceFeed;
|
| - |
|
475 |
setSuppressPriceFeedIsSet(true);
|
| - |
|
476 |
}
|
| - |
|
477 |
|
| - |
|
478 |
public void unsetSuppressPriceFeed() {
|
| - |
|
479 |
__isset_bit_vector.clear(__SUPPRESSPRICEFEED_ISSET_ID);
|
| - |
|
480 |
}
|
| - |
|
481 |
|
| - |
|
482 |
/** Returns true if field suppressPriceFeed is set (has been assigned a value) and false otherwise */
|
| - |
|
483 |
public boolean isSetSuppressPriceFeed() {
|
| - |
|
484 |
return __isset_bit_vector.get(__SUPPRESSPRICEFEED_ISSET_ID);
|
| - |
|
485 |
}
|
| - |
|
486 |
|
| - |
|
487 |
public void setSuppressPriceFeedIsSet(boolean value) {
|
| - |
|
488 |
__isset_bit_vector.set(__SUPPRESSPRICEFEED_ISSET_ID, value);
|
| - |
|
489 |
}
|
| - |
|
490 |
|
| - |
|
491 |
public boolean isSuppressInventoryFeed() {
|
| - |
|
492 |
return this.suppressInventoryFeed;
|
| - |
|
493 |
}
|
| - |
|
494 |
|
| - |
|
495 |
public void setSuppressInventoryFeed(boolean suppressInventoryFeed) {
|
| - |
|
496 |
this.suppressInventoryFeed = suppressInventoryFeed;
|
| - |
|
497 |
setSuppressInventoryFeedIsSet(true);
|
| - |
|
498 |
}
|
| - |
|
499 |
|
| - |
|
500 |
public void unsetSuppressInventoryFeed() {
|
| - |
|
501 |
__isset_bit_vector.clear(__SUPPRESSINVENTORYFEED_ISSET_ID);
|
| - |
|
502 |
}
|
| - |
|
503 |
|
| - |
|
504 |
/** Returns true if field suppressInventoryFeed is set (has been assigned a value) and false otherwise */
|
| - |
|
505 |
public boolean isSetSuppressInventoryFeed() {
|
| - |
|
506 |
return __isset_bit_vector.get(__SUPPRESSINVENTORYFEED_ISSET_ID);
|
| - |
|
507 |
}
|
| - |
|
508 |
|
| - |
|
509 |
public void setSuppressInventoryFeedIsSet(boolean value) {
|
| - |
|
510 |
__isset_bit_vector.set(__SUPPRESSINVENTORYFEED_ISSET_ID, value);
|
| - |
|
511 |
}
|
| - |
|
512 |
|
| 261 |
public void setFieldValue(_Fields field, Object value) {
|
513 |
public void setFieldValue(_Fields field, Object value) {
|
| 262 |
switch (field) {
|
514 |
switch (field) {
|
| 263 |
case ITEM_ID:
|
515 |
case ITEM_ID:
|
| 264 |
if (value == null) {
|
516 |
if (value == null) {
|
| 265 |
unsetItem_id();
|
517 |
unsetItem_id();
|
| Line 290... |
Line 542... |
| 290 |
} else {
|
542 |
} else {
|
| 291 |
setIsListedOnSnapdeal((Boolean)value);
|
543 |
setIsListedOnSnapdeal((Boolean)value);
|
| 292 |
}
|
544 |
}
|
| 293 |
break;
|
545 |
break;
|
| 294 |
|
546 |
|
| - |
|
547 |
case TRANSFER_PRICE:
|
| - |
|
548 |
if (value == null) {
|
| - |
|
549 |
unsetTransferPrice();
|
| - |
|
550 |
} else {
|
| - |
|
551 |
setTransferPrice((Double)value);
|
| - |
|
552 |
}
|
| - |
|
553 |
break;
|
| - |
|
554 |
|
| - |
|
555 |
case SELLING_PRICE:
|
| - |
|
556 |
if (value == null) {
|
| - |
|
557 |
unsetSellingPrice();
|
| - |
|
558 |
} else {
|
| - |
|
559 |
setSellingPrice((Double)value);
|
| - |
|
560 |
}
|
| - |
|
561 |
break;
|
| - |
|
562 |
|
| - |
|
563 |
case COURIER_COST:
|
| - |
|
564 |
if (value == null) {
|
| - |
|
565 |
unsetCourierCost();
|
| - |
|
566 |
} else {
|
| - |
|
567 |
setCourierCost((Double)value);
|
| - |
|
568 |
}
|
| - |
|
569 |
break;
|
| - |
|
570 |
|
| - |
|
571 |
case COMMISSION:
|
| - |
|
572 |
if (value == null) {
|
| - |
|
573 |
unsetCommission();
|
| - |
|
574 |
} else {
|
| - |
|
575 |
setCommission((Double)value);
|
| - |
|
576 |
}
|
| - |
|
577 |
break;
|
| - |
|
578 |
|
| - |
|
579 |
case SERVICE_TAX:
|
| - |
|
580 |
if (value == null) {
|
| - |
|
581 |
unsetServiceTax();
|
| - |
|
582 |
} else {
|
| - |
|
583 |
setServiceTax((Double)value);
|
| - |
|
584 |
}
|
| - |
|
585 |
break;
|
| - |
|
586 |
|
| - |
|
587 |
case SUPPRESS_PRICE_FEED:
|
| - |
|
588 |
if (value == null) {
|
| - |
|
589 |
unsetSuppressPriceFeed();
|
| - |
|
590 |
} else {
|
| - |
|
591 |
setSuppressPriceFeed((Boolean)value);
|
| - |
|
592 |
}
|
| - |
|
593 |
break;
|
| - |
|
594 |
|
| - |
|
595 |
case SUPPRESS_INVENTORY_FEED:
|
| - |
|
596 |
if (value == null) {
|
| - |
|
597 |
unsetSuppressInventoryFeed();
|
| - |
|
598 |
} else {
|
| - |
|
599 |
setSuppressInventoryFeed((Boolean)value);
|
| - |
|
600 |
}
|
| - |
|
601 |
break;
|
| - |
|
602 |
|
| 295 |
}
|
603 |
}
|
| 296 |
}
|
604 |
}
|
| 297 |
|
605 |
|
| 298 |
public Object getFieldValue(_Fields field) {
|
606 |
public Object getFieldValue(_Fields field) {
|
| 299 |
switch (field) {
|
607 |
switch (field) {
|
| Line 307... |
Line 615... |
| 307 |
return Double.valueOf(getExceptionPrice());
|
615 |
return Double.valueOf(getExceptionPrice());
|
| 308 |
|
616 |
|
| 309 |
case IS_LISTED_ON_SNAPDEAL:
|
617 |
case IS_LISTED_ON_SNAPDEAL:
|
| 310 |
return Boolean.valueOf(isIsListedOnSnapdeal());
|
618 |
return Boolean.valueOf(isIsListedOnSnapdeal());
|
| 311 |
|
619 |
|
| - |
|
620 |
case TRANSFER_PRICE:
|
| - |
|
621 |
return Double.valueOf(getTransferPrice());
|
| - |
|
622 |
|
| - |
|
623 |
case SELLING_PRICE:
|
| - |
|
624 |
return Double.valueOf(getSellingPrice());
|
| - |
|
625 |
|
| - |
|
626 |
case COURIER_COST:
|
| - |
|
627 |
return Double.valueOf(getCourierCost());
|
| - |
|
628 |
|
| - |
|
629 |
case COMMISSION:
|
| - |
|
630 |
return Double.valueOf(getCommission());
|
| - |
|
631 |
|
| - |
|
632 |
case SERVICE_TAX:
|
| - |
|
633 |
return Double.valueOf(getServiceTax());
|
| - |
|
634 |
|
| - |
|
635 |
case SUPPRESS_PRICE_FEED:
|
| - |
|
636 |
return Boolean.valueOf(isSuppressPriceFeed());
|
| - |
|
637 |
|
| - |
|
638 |
case SUPPRESS_INVENTORY_FEED:
|
| - |
|
639 |
return Boolean.valueOf(isSuppressInventoryFeed());
|
| - |
|
640 |
|
| 312 |
}
|
641 |
}
|
| 313 |
throw new IllegalStateException();
|
642 |
throw new IllegalStateException();
|
| 314 |
}
|
643 |
}
|
| 315 |
|
644 |
|
| 316 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
645 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 326... |
Line 655... |
| 326 |
return isSetWarehouseId();
|
655 |
return isSetWarehouseId();
|
| 327 |
case EXCEPTION_PRICE:
|
656 |
case EXCEPTION_PRICE:
|
| 328 |
return isSetExceptionPrice();
|
657 |
return isSetExceptionPrice();
|
| 329 |
case IS_LISTED_ON_SNAPDEAL:
|
658 |
case IS_LISTED_ON_SNAPDEAL:
|
| 330 |
return isSetIsListedOnSnapdeal();
|
659 |
return isSetIsListedOnSnapdeal();
|
| - |
|
660 |
case TRANSFER_PRICE:
|
| - |
|
661 |
return isSetTransferPrice();
|
| - |
|
662 |
case SELLING_PRICE:
|
| - |
|
663 |
return isSetSellingPrice();
|
| - |
|
664 |
case COURIER_COST:
|
| - |
|
665 |
return isSetCourierCost();
|
| - |
|
666 |
case COMMISSION:
|
| - |
|
667 |
return isSetCommission();
|
| - |
|
668 |
case SERVICE_TAX:
|
| - |
|
669 |
return isSetServiceTax();
|
| - |
|
670 |
case SUPPRESS_PRICE_FEED:
|
| - |
|
671 |
return isSetSuppressPriceFeed();
|
| - |
|
672 |
case SUPPRESS_INVENTORY_FEED:
|
| - |
|
673 |
return isSetSuppressInventoryFeed();
|
| 331 |
}
|
674 |
}
|
| 332 |
throw new IllegalStateException();
|
675 |
throw new IllegalStateException();
|
| 333 |
}
|
676 |
}
|
| 334 |
|
677 |
|
| 335 |
@Override
|
678 |
@Override
|
| Line 379... |
Line 722... |
| 379 |
return false;
|
722 |
return false;
|
| 380 |
if (this.isListedOnSnapdeal != that.isListedOnSnapdeal)
|
723 |
if (this.isListedOnSnapdeal != that.isListedOnSnapdeal)
|
| 381 |
return false;
|
724 |
return false;
|
| 382 |
}
|
725 |
}
|
| 383 |
|
726 |
|
| - |
|
727 |
boolean this_present_transferPrice = true;
|
| - |
|
728 |
boolean that_present_transferPrice = true;
|
| - |
|
729 |
if (this_present_transferPrice || that_present_transferPrice) {
|
| - |
|
730 |
if (!(this_present_transferPrice && that_present_transferPrice))
|
| - |
|
731 |
return false;
|
| - |
|
732 |
if (this.transferPrice != that.transferPrice)
|
| - |
|
733 |
return false;
|
| - |
|
734 |
}
|
| - |
|
735 |
|
| - |
|
736 |
boolean this_present_sellingPrice = true;
|
| - |
|
737 |
boolean that_present_sellingPrice = true;
|
| - |
|
738 |
if (this_present_sellingPrice || that_present_sellingPrice) {
|
| - |
|
739 |
if (!(this_present_sellingPrice && that_present_sellingPrice))
|
| - |
|
740 |
return false;
|
| - |
|
741 |
if (this.sellingPrice != that.sellingPrice)
|
| - |
|
742 |
return false;
|
| - |
|
743 |
}
|
| - |
|
744 |
|
| - |
|
745 |
boolean this_present_courierCost = true;
|
| - |
|
746 |
boolean that_present_courierCost = true;
|
| - |
|
747 |
if (this_present_courierCost || that_present_courierCost) {
|
| - |
|
748 |
if (!(this_present_courierCost && that_present_courierCost))
|
| - |
|
749 |
return false;
|
| - |
|
750 |
if (this.courierCost != that.courierCost)
|
| - |
|
751 |
return false;
|
| - |
|
752 |
}
|
| - |
|
753 |
|
| - |
|
754 |
boolean this_present_commission = true;
|
| - |
|
755 |
boolean that_present_commission = true;
|
| - |
|
756 |
if (this_present_commission || that_present_commission) {
|
| - |
|
757 |
if (!(this_present_commission && that_present_commission))
|
| - |
|
758 |
return false;
|
| - |
|
759 |
if (this.commission != that.commission)
|
| - |
|
760 |
return false;
|
| - |
|
761 |
}
|
| - |
|
762 |
|
| - |
|
763 |
boolean this_present_serviceTax = true;
|
| - |
|
764 |
boolean that_present_serviceTax = true;
|
| - |
|
765 |
if (this_present_serviceTax || that_present_serviceTax) {
|
| - |
|
766 |
if (!(this_present_serviceTax && that_present_serviceTax))
|
| - |
|
767 |
return false;
|
| - |
|
768 |
if (this.serviceTax != that.serviceTax)
|
| - |
|
769 |
return false;
|
| - |
|
770 |
}
|
| - |
|
771 |
|
| - |
|
772 |
boolean this_present_suppressPriceFeed = true;
|
| - |
|
773 |
boolean that_present_suppressPriceFeed = true;
|
| - |
|
774 |
if (this_present_suppressPriceFeed || that_present_suppressPriceFeed) {
|
| - |
|
775 |
if (!(this_present_suppressPriceFeed && that_present_suppressPriceFeed))
|
| - |
|
776 |
return false;
|
| - |
|
777 |
if (this.suppressPriceFeed != that.suppressPriceFeed)
|
| - |
|
778 |
return false;
|
| - |
|
779 |
}
|
| - |
|
780 |
|
| - |
|
781 |
boolean this_present_suppressInventoryFeed = true;
|
| - |
|
782 |
boolean that_present_suppressInventoryFeed = true;
|
| - |
|
783 |
if (this_present_suppressInventoryFeed || that_present_suppressInventoryFeed) {
|
| - |
|
784 |
if (!(this_present_suppressInventoryFeed && that_present_suppressInventoryFeed))
|
| - |
|
785 |
return false;
|
| - |
|
786 |
if (this.suppressInventoryFeed != that.suppressInventoryFeed)
|
| - |
|
787 |
return false;
|
| - |
|
788 |
}
|
| - |
|
789 |
|
| 384 |
return true;
|
790 |
return true;
|
| 385 |
}
|
791 |
}
|
| 386 |
|
792 |
|
| 387 |
@Override
|
793 |
@Override
|
| 388 |
public int hashCode() {
|
794 |
public int hashCode() {
|
| Line 435... |
Line 841... |
| 435 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isListedOnSnapdeal, typedOther.isListedOnSnapdeal);
|
841 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isListedOnSnapdeal, typedOther.isListedOnSnapdeal);
|
| 436 |
if (lastComparison != 0) {
|
842 |
if (lastComparison != 0) {
|
| 437 |
return lastComparison;
|
843 |
return lastComparison;
|
| 438 |
}
|
844 |
}
|
| 439 |
}
|
845 |
}
|
| - |
|
846 |
lastComparison = Boolean.valueOf(isSetTransferPrice()).compareTo(typedOther.isSetTransferPrice());
|
| - |
|
847 |
if (lastComparison != 0) {
|
| - |
|
848 |
return lastComparison;
|
| - |
|
849 |
}
|
| - |
|
850 |
if (isSetTransferPrice()) {
|
| - |
|
851 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferPrice, typedOther.transferPrice);
|
| - |
|
852 |
if (lastComparison != 0) {
|
| - |
|
853 |
return lastComparison;
|
| - |
|
854 |
}
|
| - |
|
855 |
}
|
| - |
|
856 |
lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
|
| - |
|
857 |
if (lastComparison != 0) {
|
| - |
|
858 |
return lastComparison;
|
| - |
|
859 |
}
|
| - |
|
860 |
if (isSetSellingPrice()) {
|
| - |
|
861 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
|
| - |
|
862 |
if (lastComparison != 0) {
|
| - |
|
863 |
return lastComparison;
|
| - |
|
864 |
}
|
| - |
|
865 |
}
|
| - |
|
866 |
lastComparison = Boolean.valueOf(isSetCourierCost()).compareTo(typedOther.isSetCourierCost());
|
| - |
|
867 |
if (lastComparison != 0) {
|
| - |
|
868 |
return lastComparison;
|
| - |
|
869 |
}
|
| - |
|
870 |
if (isSetCourierCost()) {
|
| - |
|
871 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courierCost, typedOther.courierCost);
|
| - |
|
872 |
if (lastComparison != 0) {
|
| - |
|
873 |
return lastComparison;
|
| - |
|
874 |
}
|
| - |
|
875 |
}
|
| - |
|
876 |
lastComparison = Boolean.valueOf(isSetCommission()).compareTo(typedOther.isSetCommission());
|
| - |
|
877 |
if (lastComparison != 0) {
|
| - |
|
878 |
return lastComparison;
|
| - |
|
879 |
}
|
| - |
|
880 |
if (isSetCommission()) {
|
| - |
|
881 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commission, typedOther.commission);
|
| - |
|
882 |
if (lastComparison != 0) {
|
| - |
|
883 |
return lastComparison;
|
| - |
|
884 |
}
|
| - |
|
885 |
}
|
| - |
|
886 |
lastComparison = Boolean.valueOf(isSetServiceTax()).compareTo(typedOther.isSetServiceTax());
|
| - |
|
887 |
if (lastComparison != 0) {
|
| - |
|
888 |
return lastComparison;
|
| - |
|
889 |
}
|
| - |
|
890 |
if (isSetServiceTax()) {
|
| - |
|
891 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serviceTax, typedOther.serviceTax);
|
| - |
|
892 |
if (lastComparison != 0) {
|
| - |
|
893 |
return lastComparison;
|
| - |
|
894 |
}
|
| - |
|
895 |
}
|
| - |
|
896 |
lastComparison = Boolean.valueOf(isSetSuppressPriceFeed()).compareTo(typedOther.isSetSuppressPriceFeed());
|
| - |
|
897 |
if (lastComparison != 0) {
|
| - |
|
898 |
return lastComparison;
|
| - |
|
899 |
}
|
| - |
|
900 |
if (isSetSuppressPriceFeed()) {
|
| - |
|
901 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suppressPriceFeed, typedOther.suppressPriceFeed);
|
| - |
|
902 |
if (lastComparison != 0) {
|
| - |
|
903 |
return lastComparison;
|
| - |
|
904 |
}
|
| - |
|
905 |
}
|
| - |
|
906 |
lastComparison = Boolean.valueOf(isSetSuppressInventoryFeed()).compareTo(typedOther.isSetSuppressInventoryFeed());
|
| - |
|
907 |
if (lastComparison != 0) {
|
| - |
|
908 |
return lastComparison;
|
| - |
|
909 |
}
|
| - |
|
910 |
if (isSetSuppressInventoryFeed()) {
|
| - |
|
911 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suppressInventoryFeed, typedOther.suppressInventoryFeed);
|
| - |
|
912 |
if (lastComparison != 0) {
|
| - |
|
913 |
return lastComparison;
|
| - |
|
914 |
}
|
| - |
|
915 |
}
|
| 440 |
return 0;
|
916 |
return 0;
|
| 441 |
}
|
917 |
}
|
| 442 |
|
918 |
|
| 443 |
public _Fields fieldForId(int fieldId) {
|
919 |
public _Fields fieldForId(int fieldId) {
|
| 444 |
return _Fields.findByThriftId(fieldId);
|
920 |
return _Fields.findByThriftId(fieldId);
|
| Line 484... |
Line 960... |
| 484 |
setIsListedOnSnapdealIsSet(true);
|
960 |
setIsListedOnSnapdealIsSet(true);
|
| 485 |
} else {
|
961 |
} else {
|
| 486 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
962 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 487 |
}
|
963 |
}
|
| 488 |
break;
|
964 |
break;
|
| - |
|
965 |
case 5: // TRANSFER_PRICE
|
| - |
|
966 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
967 |
this.transferPrice = iprot.readDouble();
|
| - |
|
968 |
setTransferPriceIsSet(true);
|
| - |
|
969 |
} else {
|
| - |
|
970 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
971 |
}
|
| - |
|
972 |
break;
|
| - |
|
973 |
case 6: // SELLING_PRICE
|
| - |
|
974 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
975 |
this.sellingPrice = iprot.readDouble();
|
| - |
|
976 |
setSellingPriceIsSet(true);
|
| - |
|
977 |
} else {
|
| - |
|
978 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
979 |
}
|
| - |
|
980 |
break;
|
| - |
|
981 |
case 7: // COURIER_COST
|
| - |
|
982 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
983 |
this.courierCost = iprot.readDouble();
|
| - |
|
984 |
setCourierCostIsSet(true);
|
| - |
|
985 |
} else {
|
| - |
|
986 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
987 |
}
|
| - |
|
988 |
break;
|
| - |
|
989 |
case 8: // COMMISSION
|
| - |
|
990 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
991 |
this.commission = iprot.readDouble();
|
| - |
|
992 |
setCommissionIsSet(true);
|
| - |
|
993 |
} else {
|
| - |
|
994 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
995 |
}
|
| - |
|
996 |
break;
|
| - |
|
997 |
case 9: // SERVICE_TAX
|
| - |
|
998 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
999 |
this.serviceTax = iprot.readDouble();
|
| - |
|
1000 |
setServiceTaxIsSet(true);
|
| - |
|
1001 |
} else {
|
| - |
|
1002 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1003 |
}
|
| - |
|
1004 |
break;
|
| - |
|
1005 |
case 10: // SUPPRESS_PRICE_FEED
|
| - |
|
1006 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
1007 |
this.suppressPriceFeed = iprot.readBool();
|
| - |
|
1008 |
setSuppressPriceFeedIsSet(true);
|
| - |
|
1009 |
} else {
|
| - |
|
1010 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1011 |
}
|
| - |
|
1012 |
break;
|
| - |
|
1013 |
case 11: // SUPPRESS_INVENTORY_FEED
|
| - |
|
1014 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
1015 |
this.suppressInventoryFeed = iprot.readBool();
|
| - |
|
1016 |
setSuppressInventoryFeedIsSet(true);
|
| - |
|
1017 |
} else {
|
| - |
|
1018 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1019 |
}
|
| - |
|
1020 |
break;
|
| 489 |
default:
|
1021 |
default:
|
| 490 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1022 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 491 |
}
|
1023 |
}
|
| 492 |
iprot.readFieldEnd();
|
1024 |
iprot.readFieldEnd();
|
| 493 |
}
|
1025 |
}
|
| Line 509... |
Line 1041... |
| 509 |
oprot.writeDouble(this.exceptionPrice);
|
1041 |
oprot.writeDouble(this.exceptionPrice);
|
| 510 |
oprot.writeFieldEnd();
|
1042 |
oprot.writeFieldEnd();
|
| 511 |
oprot.writeFieldBegin(IS_LISTED_ON_SNAPDEAL_FIELD_DESC);
|
1043 |
oprot.writeFieldBegin(IS_LISTED_ON_SNAPDEAL_FIELD_DESC);
|
| 512 |
oprot.writeBool(this.isListedOnSnapdeal);
|
1044 |
oprot.writeBool(this.isListedOnSnapdeal);
|
| 513 |
oprot.writeFieldEnd();
|
1045 |
oprot.writeFieldEnd();
|
| - |
|
1046 |
oprot.writeFieldBegin(TRANSFER_PRICE_FIELD_DESC);
|
| - |
|
1047 |
oprot.writeDouble(this.transferPrice);
|
| - |
|
1048 |
oprot.writeFieldEnd();
|
| - |
|
1049 |
oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
|
| - |
|
1050 |
oprot.writeDouble(this.sellingPrice);
|
| - |
|
1051 |
oprot.writeFieldEnd();
|
| - |
|
1052 |
oprot.writeFieldBegin(COURIER_COST_FIELD_DESC);
|
| - |
|
1053 |
oprot.writeDouble(this.courierCost);
|
| - |
|
1054 |
oprot.writeFieldEnd();
|
| - |
|
1055 |
oprot.writeFieldBegin(COMMISSION_FIELD_DESC);
|
| - |
|
1056 |
oprot.writeDouble(this.commission);
|
| - |
|
1057 |
oprot.writeFieldEnd();
|
| - |
|
1058 |
oprot.writeFieldBegin(SERVICE_TAX_FIELD_DESC);
|
| - |
|
1059 |
oprot.writeDouble(this.serviceTax);
|
| - |
|
1060 |
oprot.writeFieldEnd();
|
| - |
|
1061 |
oprot.writeFieldBegin(SUPPRESS_PRICE_FEED_FIELD_DESC);
|
| - |
|
1062 |
oprot.writeBool(this.suppressPriceFeed);
|
| - |
|
1063 |
oprot.writeFieldEnd();
|
| - |
|
1064 |
oprot.writeFieldBegin(SUPPRESS_INVENTORY_FEED_FIELD_DESC);
|
| - |
|
1065 |
oprot.writeBool(this.suppressInventoryFeed);
|
| - |
|
1066 |
oprot.writeFieldEnd();
|
| 514 |
oprot.writeFieldStop();
|
1067 |
oprot.writeFieldStop();
|
| 515 |
oprot.writeStructEnd();
|
1068 |
oprot.writeStructEnd();
|
| 516 |
}
|
1069 |
}
|
| 517 |
|
1070 |
|
| 518 |
@Override
|
1071 |
@Override
|
| Line 533... |
Line 1086... |
| 533 |
first = false;
|
1086 |
first = false;
|
| 534 |
if (!first) sb.append(", ");
|
1087 |
if (!first) sb.append(", ");
|
| 535 |
sb.append("isListedOnSnapdeal:");
|
1088 |
sb.append("isListedOnSnapdeal:");
|
| 536 |
sb.append(this.isListedOnSnapdeal);
|
1089 |
sb.append(this.isListedOnSnapdeal);
|
| 537 |
first = false;
|
1090 |
first = false;
|
| - |
|
1091 |
if (!first) sb.append(", ");
|
| - |
|
1092 |
sb.append("transferPrice:");
|
| - |
|
1093 |
sb.append(this.transferPrice);
|
| - |
|
1094 |
first = false;
|
| - |
|
1095 |
if (!first) sb.append(", ");
|
| - |
|
1096 |
sb.append("sellingPrice:");
|
| - |
|
1097 |
sb.append(this.sellingPrice);
|
| - |
|
1098 |
first = false;
|
| - |
|
1099 |
if (!first) sb.append(", ");
|
| - |
|
1100 |
sb.append("courierCost:");
|
| - |
|
1101 |
sb.append(this.courierCost);
|
| - |
|
1102 |
first = false;
|
| - |
|
1103 |
if (!first) sb.append(", ");
|
| - |
|
1104 |
sb.append("commission:");
|
| - |
|
1105 |
sb.append(this.commission);
|
| - |
|
1106 |
first = false;
|
| - |
|
1107 |
if (!first) sb.append(", ");
|
| - |
|
1108 |
sb.append("serviceTax:");
|
| - |
|
1109 |
sb.append(this.serviceTax);
|
| - |
|
1110 |
first = false;
|
| - |
|
1111 |
if (!first) sb.append(", ");
|
| - |
|
1112 |
sb.append("suppressPriceFeed:");
|
| - |
|
1113 |
sb.append(this.suppressPriceFeed);
|
| - |
|
1114 |
first = false;
|
| - |
|
1115 |
if (!first) sb.append(", ");
|
| - |
|
1116 |
sb.append("suppressInventoryFeed:");
|
| - |
|
1117 |
sb.append(this.suppressInventoryFeed);
|
| - |
|
1118 |
first = false;
|
| 538 |
sb.append(")");
|
1119 |
sb.append(")");
|
| 539 |
return sb.toString();
|
1120 |
return sb.toString();
|
| 540 |
}
|
1121 |
}
|
| 541 |
|
1122 |
|
| 542 |
public void validate() throws org.apache.thrift.TException {
|
1123 |
public void validate() throws org.apache.thrift.TException {
|