| Line 40... |
Line 40... |
| 40 |
private static final org.apache.thrift.protocol.TField SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingTime", org.apache.thrift.protocol.TType.STRING, (short)15);
|
40 |
private static final org.apache.thrift.protocol.TField SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingTime", org.apache.thrift.protocol.TType.STRING, (short)15);
|
| 41 |
private static final org.apache.thrift.protocol.TField UPDATED_BY_FIELD_DESC = new org.apache.thrift.protocol.TField("updatedBy", org.apache.thrift.protocol.TType.STRING, (short)16);
|
41 |
private static final org.apache.thrift.protocol.TField UPDATED_BY_FIELD_DESC = new org.apache.thrift.protocol.TField("updatedBy", org.apache.thrift.protocol.TType.STRING, (short)16);
|
| 42 |
private static final org.apache.thrift.protocol.TField MARKETPLACE_ITEMS_FIELD_DESC = new org.apache.thrift.protocol.TField("marketplaceItems", org.apache.thrift.protocol.TType.STRUCT, (short)17);
|
42 |
private static final org.apache.thrift.protocol.TField MARKETPLACE_ITEMS_FIELD_DESC = new org.apache.thrift.protocol.TField("marketplaceItems", org.apache.thrift.protocol.TType.STRUCT, (short)17);
|
| 43 |
private static final org.apache.thrift.protocol.TField COURIER_COST_MARKETPLACE_FIELD_DESC = new org.apache.thrift.protocol.TField("courierCostMarketplace", org.apache.thrift.protocol.TType.DOUBLE, (short)18);
|
43 |
private static final org.apache.thrift.protocol.TField COURIER_COST_MARKETPLACE_FIELD_DESC = new org.apache.thrift.protocol.TField("courierCostMarketplace", org.apache.thrift.protocol.TType.DOUBLE, (short)18);
|
| 44 |
private static final org.apache.thrift.protocol.TField ITEM_FIELD_DESC = new org.apache.thrift.protocol.TField("item", org.apache.thrift.protocol.TType.STRUCT, (short)19);
|
44 |
private static final org.apache.thrift.protocol.TField ITEM_FIELD_DESC = new org.apache.thrift.protocol.TField("item", org.apache.thrift.protocol.TType.STRUCT, (short)19);
|
| - |
|
45 |
private static final org.apache.thrift.protocol.TField IS_VOI_LISTED_FIELD_DESC = new org.apache.thrift.protocol.TField("isVoiListed", org.apache.thrift.protocol.TType.BOOL, (short)20);
|
| - |
|
46 |
private static final org.apache.thrift.protocol.TField VOI_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("voiSellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)21);
|
| - |
|
47 |
private static final org.apache.thrift.protocol.TField SUPPRESS_VOI_PRICE_FEED_FIELD_DESC = new org.apache.thrift.protocol.TField("suppressVoiPriceFeed", org.apache.thrift.protocol.TType.BOOL, (short)22);
|
| - |
|
48 |
private static final org.apache.thrift.protocol.TField VOI_PRICE_LAST_UPDATED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("voiPriceLastUpdatedOn", org.apache.thrift.protocol.TType.I64, (short)23);
|
| - |
|
49 |
private static final org.apache.thrift.protocol.TField VOI_SKU_AT_SNAPDEAL_FIELD_DESC = new org.apache.thrift.protocol.TField("voiSkuAtSnapdeal", org.apache.thrift.protocol.TType.STRING, (short)24);
|
| - |
|
50 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_SP_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleSpVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)25);
|
| - |
|
51 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_TP_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleTpVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)26);
|
| - |
|
52 |
private static final org.apache.thrift.protocol.TField COURIER_COST_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("courierCostVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)27);
|
| - |
|
53 |
private static final org.apache.thrift.protocol.TField SERVICE_TAX_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("serviceTaxVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)28);
|
| - |
|
54 |
private static final org.apache.thrift.protocol.TField TRANSFER_PRICE_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("transferPriceVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)29);
|
| - |
|
55 |
private static final org.apache.thrift.protocol.TField COMMISSION_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("commissionVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)30);
|
| 45 |
|
56 |
|
| 46 |
private long item_id; // required
|
57 |
private long item_id; // required
|
| 47 |
private long warehouseId; // required
|
58 |
private long warehouseId; // required
|
| 48 |
private double exceptionPrice; // required
|
59 |
private double exceptionPrice; // required
|
| 49 |
private boolean isListedOnSnapdeal; // required
|
60 |
private boolean isListedOnSnapdeal; // required
|
| Line 60... |
Line 71... |
| 60 |
private String shippingTime; // required
|
71 |
private String shippingTime; // required
|
| 61 |
private String updatedBy; // required
|
72 |
private String updatedBy; // required
|
| 62 |
private MarketplaceItems marketplaceItems; // required
|
73 |
private MarketplaceItems marketplaceItems; // required
|
| 63 |
private double courierCostMarketplace; // required
|
74 |
private double courierCostMarketplace; // required
|
| 64 |
private Item item; // required
|
75 |
private Item item; // required
|
| - |
|
76 |
private boolean isVoiListed; // required
|
| - |
|
77 |
private double voiSellingPrice; // required
|
| - |
|
78 |
private boolean suppressVoiPriceFeed; // required
|
| - |
|
79 |
private long voiPriceLastUpdatedOn; // required
|
| - |
|
80 |
private String voiSkuAtSnapdeal; // required
|
| - |
|
81 |
private double minimumPossibleSpVoi; // required
|
| - |
|
82 |
private double minimumPossibleTpVoi; // required
|
| - |
|
83 |
private double courierCostVoi; // required
|
| - |
|
84 |
private double serviceTaxVoi; // required
|
| - |
|
85 |
private double transferPriceVoi; // required
|
| - |
|
86 |
private double commissionVoi; // required
|
| 65 |
|
87 |
|
| 66 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
88 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 67 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
89 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 68 |
ITEM_ID((short)1, "item_id"),
|
90 |
ITEM_ID((short)1, "item_id"),
|
| 69 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
91 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
| Line 81... |
Line 103... |
| 81 |
SUPC((short)14, "supc"),
|
103 |
SUPC((short)14, "supc"),
|
| 82 |
SHIPPING_TIME((short)15, "shippingTime"),
|
104 |
SHIPPING_TIME((short)15, "shippingTime"),
|
| 83 |
UPDATED_BY((short)16, "updatedBy"),
|
105 |
UPDATED_BY((short)16, "updatedBy"),
|
| 84 |
MARKETPLACE_ITEMS((short)17, "marketplaceItems"),
|
106 |
MARKETPLACE_ITEMS((short)17, "marketplaceItems"),
|
| 85 |
COURIER_COST_MARKETPLACE((short)18, "courierCostMarketplace"),
|
107 |
COURIER_COST_MARKETPLACE((short)18, "courierCostMarketplace"),
|
| 86 |
ITEM((short)19, "item");
|
108 |
ITEM((short)19, "item"),
|
| - |
|
109 |
IS_VOI_LISTED((short)20, "isVoiListed"),
|
| - |
|
110 |
VOI_SELLING_PRICE((short)21, "voiSellingPrice"),
|
| - |
|
111 |
SUPPRESS_VOI_PRICE_FEED((short)22, "suppressVoiPriceFeed"),
|
| - |
|
112 |
VOI_PRICE_LAST_UPDATED_ON((short)23, "voiPriceLastUpdatedOn"),
|
| - |
|
113 |
VOI_SKU_AT_SNAPDEAL((short)24, "voiSkuAtSnapdeal"),
|
| - |
|
114 |
MINIMUM_POSSIBLE_SP_VOI((short)25, "minimumPossibleSpVoi"),
|
| - |
|
115 |
MINIMUM_POSSIBLE_TP_VOI((short)26, "minimumPossibleTpVoi"),
|
| - |
|
116 |
COURIER_COST_VOI((short)27, "courierCostVoi"),
|
| - |
|
117 |
SERVICE_TAX_VOI((short)28, "serviceTaxVoi"),
|
| - |
|
118 |
TRANSFER_PRICE_VOI((short)29, "transferPriceVoi"),
|
| - |
|
119 |
COMMISSION_VOI((short)30, "commissionVoi");
|
| 87 |
|
120 |
|
| 88 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
121 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 89 |
|
122 |
|
| 90 |
static {
|
123 |
static {
|
| 91 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
124 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 134... |
Line 167... |
| 134 |
return MARKETPLACE_ITEMS;
|
167 |
return MARKETPLACE_ITEMS;
|
| 135 |
case 18: // COURIER_COST_MARKETPLACE
|
168 |
case 18: // COURIER_COST_MARKETPLACE
|
| 136 |
return COURIER_COST_MARKETPLACE;
|
169 |
return COURIER_COST_MARKETPLACE;
|
| 137 |
case 19: // ITEM
|
170 |
case 19: // ITEM
|
| 138 |
return ITEM;
|
171 |
return ITEM;
|
| - |
|
172 |
case 20: // IS_VOI_LISTED
|
| - |
|
173 |
return IS_VOI_LISTED;
|
| - |
|
174 |
case 21: // VOI_SELLING_PRICE
|
| - |
|
175 |
return VOI_SELLING_PRICE;
|
| - |
|
176 |
case 22: // SUPPRESS_VOI_PRICE_FEED
|
| - |
|
177 |
return SUPPRESS_VOI_PRICE_FEED;
|
| - |
|
178 |
case 23: // VOI_PRICE_LAST_UPDATED_ON
|
| - |
|
179 |
return VOI_PRICE_LAST_UPDATED_ON;
|
| - |
|
180 |
case 24: // VOI_SKU_AT_SNAPDEAL
|
| - |
|
181 |
return VOI_SKU_AT_SNAPDEAL;
|
| - |
|
182 |
case 25: // MINIMUM_POSSIBLE_SP_VOI
|
| - |
|
183 |
return MINIMUM_POSSIBLE_SP_VOI;
|
| - |
|
184 |
case 26: // MINIMUM_POSSIBLE_TP_VOI
|
| - |
|
185 |
return MINIMUM_POSSIBLE_TP_VOI;
|
| - |
|
186 |
case 27: // COURIER_COST_VOI
|
| - |
|
187 |
return COURIER_COST_VOI;
|
| - |
|
188 |
case 28: // SERVICE_TAX_VOI
|
| - |
|
189 |
return SERVICE_TAX_VOI;
|
| - |
|
190 |
case 29: // TRANSFER_PRICE_VOI
|
| - |
|
191 |
return TRANSFER_PRICE_VOI;
|
| - |
|
192 |
case 30: // COMMISSION_VOI
|
| - |
|
193 |
return COMMISSION_VOI;
|
| 139 |
default:
|
194 |
default:
|
| 140 |
return null;
|
195 |
return null;
|
| 141 |
}
|
196 |
}
|
| 142 |
}
|
197 |
}
|
| 143 |
|
198 |
|
| Line 187... |
Line 242... |
| 187 |
private static final int __SERVICETAX_ISSET_ID = 8;
|
242 |
private static final int __SERVICETAX_ISSET_ID = 8;
|
| 188 |
private static final int __SUPPRESSPRICEFEED_ISSET_ID = 9;
|
243 |
private static final int __SUPPRESSPRICEFEED_ISSET_ID = 9;
|
| 189 |
private static final int __SUPPRESSINVENTORYFEED_ISSET_ID = 10;
|
244 |
private static final int __SUPPRESSINVENTORYFEED_ISSET_ID = 10;
|
| 190 |
private static final int __MAXNLC_ISSET_ID = 11;
|
245 |
private static final int __MAXNLC_ISSET_ID = 11;
|
| 191 |
private static final int __COURIERCOSTMARKETPLACE_ISSET_ID = 12;
|
246 |
private static final int __COURIERCOSTMARKETPLACE_ISSET_ID = 12;
|
| - |
|
247 |
private static final int __ISVOILISTED_ISSET_ID = 13;
|
| - |
|
248 |
private static final int __VOISELLINGPRICE_ISSET_ID = 14;
|
| - |
|
249 |
private static final int __SUPPRESSVOIPRICEFEED_ISSET_ID = 15;
|
| - |
|
250 |
private static final int __VOIPRICELASTUPDATEDON_ISSET_ID = 16;
|
| - |
|
251 |
private static final int __MINIMUMPOSSIBLESPVOI_ISSET_ID = 17;
|
| - |
|
252 |
private static final int __MINIMUMPOSSIBLETPVOI_ISSET_ID = 18;
|
| - |
|
253 |
private static final int __COURIERCOSTVOI_ISSET_ID = 19;
|
| - |
|
254 |
private static final int __SERVICETAXVOI_ISSET_ID = 20;
|
| - |
|
255 |
private static final int __TRANSFERPRICEVOI_ISSET_ID = 21;
|
| - |
|
256 |
private static final int __COMMISSIONVOI_ISSET_ID = 22;
|
| 192 |
private BitSet __isset_bit_vector = new BitSet(13);
|
257 |
private BitSet __isset_bit_vector = new BitSet(23);
|
| 193 |
|
258 |
|
| 194 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
259 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 195 |
static {
|
260 |
static {
|
| 196 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
261 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 197 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
262 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 230... |
Line 295... |
| 230 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MarketplaceItems.class)));
|
295 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MarketplaceItems.class)));
|
| 231 |
tmpMap.put(_Fields.COURIER_COST_MARKETPLACE, new org.apache.thrift.meta_data.FieldMetaData("courierCostMarketplace", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
296 |
tmpMap.put(_Fields.COURIER_COST_MARKETPLACE, new org.apache.thrift.meta_data.FieldMetaData("courierCostMarketplace", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 232 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
297 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 233 |
tmpMap.put(_Fields.ITEM, new org.apache.thrift.meta_data.FieldMetaData("item", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
298 |
tmpMap.put(_Fields.ITEM, new org.apache.thrift.meta_data.FieldMetaData("item", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 234 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Item.class)));
|
299 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Item.class)));
|
| - |
|
300 |
tmpMap.put(_Fields.IS_VOI_LISTED, new org.apache.thrift.meta_data.FieldMetaData("isVoiListed", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
301 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| - |
|
302 |
tmpMap.put(_Fields.VOI_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("voiSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
303 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
304 |
tmpMap.put(_Fields.SUPPRESS_VOI_PRICE_FEED, new org.apache.thrift.meta_data.FieldMetaData("suppressVoiPriceFeed", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
305 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| - |
|
306 |
tmpMap.put(_Fields.VOI_PRICE_LAST_UPDATED_ON, new org.apache.thrift.meta_data.FieldMetaData("voiPriceLastUpdatedOn", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
307 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
308 |
tmpMap.put(_Fields.VOI_SKU_AT_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("voiSkuAtSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
309 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| - |
|
310 |
tmpMap.put(_Fields.MINIMUM_POSSIBLE_SP_VOI, new org.apache.thrift.meta_data.FieldMetaData("minimumPossibleSpVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
311 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
312 |
tmpMap.put(_Fields.MINIMUM_POSSIBLE_TP_VOI, new org.apache.thrift.meta_data.FieldMetaData("minimumPossibleTpVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
313 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
314 |
tmpMap.put(_Fields.COURIER_COST_VOI, new org.apache.thrift.meta_data.FieldMetaData("courierCostVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
315 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
316 |
tmpMap.put(_Fields.SERVICE_TAX_VOI, new org.apache.thrift.meta_data.FieldMetaData("serviceTaxVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
317 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
318 |
tmpMap.put(_Fields.TRANSFER_PRICE_VOI, new org.apache.thrift.meta_data.FieldMetaData("transferPriceVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
319 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
320 |
tmpMap.put(_Fields.COMMISSION_VOI, new org.apache.thrift.meta_data.FieldMetaData("commissionVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
321 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 235 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
322 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 236 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItem.class, metaDataMap);
|
323 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItem.class, metaDataMap);
|
| 237 |
}
|
324 |
}
|
| 238 |
|
325 |
|
| 239 |
public SnapdealItem() {
|
326 |
public SnapdealItem() {
|
| Line 256... |
Line 343... |
| 256 |
String supc,
|
343 |
String supc,
|
| 257 |
String shippingTime,
|
344 |
String shippingTime,
|
| 258 |
String updatedBy,
|
345 |
String updatedBy,
|
| 259 |
MarketplaceItems marketplaceItems,
|
346 |
MarketplaceItems marketplaceItems,
|
| 260 |
double courierCostMarketplace,
|
347 |
double courierCostMarketplace,
|
| 261 |
Item item)
|
348 |
Item item,
|
| - |
|
349 |
boolean isVoiListed,
|
| - |
|
350 |
double voiSellingPrice,
|
| - |
|
351 |
boolean suppressVoiPriceFeed,
|
| - |
|
352 |
long voiPriceLastUpdatedOn,
|
| - |
|
353 |
String voiSkuAtSnapdeal,
|
| - |
|
354 |
double minimumPossibleSpVoi,
|
| - |
|
355 |
double minimumPossibleTpVoi,
|
| - |
|
356 |
double courierCostVoi,
|
| - |
|
357 |
double serviceTaxVoi,
|
| - |
|
358 |
double transferPriceVoi,
|
| - |
|
359 |
double commissionVoi)
|
| 262 |
{
|
360 |
{
|
| 263 |
this();
|
361 |
this();
|
| 264 |
this.item_id = item_id;
|
362 |
this.item_id = item_id;
|
| 265 |
setItem_idIsSet(true);
|
363 |
setItem_idIsSet(true);
|
| 266 |
this.warehouseId = warehouseId;
|
364 |
this.warehouseId = warehouseId;
|
| Line 291... |
Line 389... |
| 291 |
this.updatedBy = updatedBy;
|
389 |
this.updatedBy = updatedBy;
|
| 292 |
this.marketplaceItems = marketplaceItems;
|
390 |
this.marketplaceItems = marketplaceItems;
|
| 293 |
this.courierCostMarketplace = courierCostMarketplace;
|
391 |
this.courierCostMarketplace = courierCostMarketplace;
|
| 294 |
setCourierCostMarketplaceIsSet(true);
|
392 |
setCourierCostMarketplaceIsSet(true);
|
| 295 |
this.item = item;
|
393 |
this.item = item;
|
| - |
|
394 |
this.isVoiListed = isVoiListed;
|
| - |
|
395 |
setIsVoiListedIsSet(true);
|
| - |
|
396 |
this.voiSellingPrice = voiSellingPrice;
|
| - |
|
397 |
setVoiSellingPriceIsSet(true);
|
| - |
|
398 |
this.suppressVoiPriceFeed = suppressVoiPriceFeed;
|
| - |
|
399 |
setSuppressVoiPriceFeedIsSet(true);
|
| - |
|
400 |
this.voiPriceLastUpdatedOn = voiPriceLastUpdatedOn;
|
| - |
|
401 |
setVoiPriceLastUpdatedOnIsSet(true);
|
| - |
|
402 |
this.voiSkuAtSnapdeal = voiSkuAtSnapdeal;
|
| - |
|
403 |
this.minimumPossibleSpVoi = minimumPossibleSpVoi;
|
| - |
|
404 |
setMinimumPossibleSpVoiIsSet(true);
|
| - |
|
405 |
this.minimumPossibleTpVoi = minimumPossibleTpVoi;
|
| - |
|
406 |
setMinimumPossibleTpVoiIsSet(true);
|
| - |
|
407 |
this.courierCostVoi = courierCostVoi;
|
| - |
|
408 |
setCourierCostVoiIsSet(true);
|
| - |
|
409 |
this.serviceTaxVoi = serviceTaxVoi;
|
| - |
|
410 |
setServiceTaxVoiIsSet(true);
|
| - |
|
411 |
this.transferPriceVoi = transferPriceVoi;
|
| - |
|
412 |
setTransferPriceVoiIsSet(true);
|
| - |
|
413 |
this.commissionVoi = commissionVoi;
|
| - |
|
414 |
setCommissionVoiIsSet(true);
|
| 296 |
}
|
415 |
}
|
| 297 |
|
416 |
|
| 298 |
/**
|
417 |
/**
|
| 299 |
* Performs a deep copy on <i>other</i>.
|
418 |
* Performs a deep copy on <i>other</i>.
|
| 300 |
*/
|
419 |
*/
|
| Line 330... |
Line 449... |
| 330 |
}
|
449 |
}
|
| 331 |
this.courierCostMarketplace = other.courierCostMarketplace;
|
450 |
this.courierCostMarketplace = other.courierCostMarketplace;
|
| 332 |
if (other.isSetItem()) {
|
451 |
if (other.isSetItem()) {
|
| 333 |
this.item = new Item(other.item);
|
452 |
this.item = new Item(other.item);
|
| 334 |
}
|
453 |
}
|
| - |
|
454 |
this.isVoiListed = other.isVoiListed;
|
| - |
|
455 |
this.voiSellingPrice = other.voiSellingPrice;
|
| - |
|
456 |
this.suppressVoiPriceFeed = other.suppressVoiPriceFeed;
|
| - |
|
457 |
this.voiPriceLastUpdatedOn = other.voiPriceLastUpdatedOn;
|
| - |
|
458 |
if (other.isSetVoiSkuAtSnapdeal()) {
|
| - |
|
459 |
this.voiSkuAtSnapdeal = other.voiSkuAtSnapdeal;
|
| - |
|
460 |
}
|
| - |
|
461 |
this.minimumPossibleSpVoi = other.minimumPossibleSpVoi;
|
| - |
|
462 |
this.minimumPossibleTpVoi = other.minimumPossibleTpVoi;
|
| - |
|
463 |
this.courierCostVoi = other.courierCostVoi;
|
| - |
|
464 |
this.serviceTaxVoi = other.serviceTaxVoi;
|
| - |
|
465 |
this.transferPriceVoi = other.transferPriceVoi;
|
| - |
|
466 |
this.commissionVoi = other.commissionVoi;
|
| 335 |
}
|
467 |
}
|
| 336 |
|
468 |
|
| 337 |
public SnapdealItem deepCopy() {
|
469 |
public SnapdealItem deepCopy() {
|
| 338 |
return new SnapdealItem(this);
|
470 |
return new SnapdealItem(this);
|
| 339 |
}
|
471 |
}
|
| Line 370... |
Line 502... |
| 370 |
this.updatedBy = null;
|
502 |
this.updatedBy = null;
|
| 371 |
this.marketplaceItems = null;
|
503 |
this.marketplaceItems = null;
|
| 372 |
setCourierCostMarketplaceIsSet(false);
|
504 |
setCourierCostMarketplaceIsSet(false);
|
| 373 |
this.courierCostMarketplace = 0.0;
|
505 |
this.courierCostMarketplace = 0.0;
|
| 374 |
this.item = null;
|
506 |
this.item = null;
|
| - |
|
507 |
setIsVoiListedIsSet(false);
|
| - |
|
508 |
this.isVoiListed = false;
|
| - |
|
509 |
setVoiSellingPriceIsSet(false);
|
| - |
|
510 |
this.voiSellingPrice = 0.0;
|
| - |
|
511 |
setSuppressVoiPriceFeedIsSet(false);
|
| - |
|
512 |
this.suppressVoiPriceFeed = false;
|
| - |
|
513 |
setVoiPriceLastUpdatedOnIsSet(false);
|
| - |
|
514 |
this.voiPriceLastUpdatedOn = 0;
|
| - |
|
515 |
this.voiSkuAtSnapdeal = null;
|
| - |
|
516 |
setMinimumPossibleSpVoiIsSet(false);
|
| - |
|
517 |
this.minimumPossibleSpVoi = 0.0;
|
| - |
|
518 |
setMinimumPossibleTpVoiIsSet(false);
|
| - |
|
519 |
this.minimumPossibleTpVoi = 0.0;
|
| - |
|
520 |
setCourierCostVoiIsSet(false);
|
| - |
|
521 |
this.courierCostVoi = 0.0;
|
| - |
|
522 |
setServiceTaxVoiIsSet(false);
|
| - |
|
523 |
this.serviceTaxVoi = 0.0;
|
| - |
|
524 |
setTransferPriceVoiIsSet(false);
|
| - |
|
525 |
this.transferPriceVoi = 0.0;
|
| - |
|
526 |
setCommissionVoiIsSet(false);
|
| - |
|
527 |
this.commissionVoi = 0.0;
|
| 375 |
}
|
528 |
}
|
| 376 |
|
529 |
|
| 377 |
public long getItem_id() {
|
530 |
public long getItem_id() {
|
| 378 |
return this.item_id;
|
531 |
return this.item_id;
|
| 379 |
}
|
532 |
}
|
| Line 796... |
Line 949... |
| 796 |
if (!value) {
|
949 |
if (!value) {
|
| 797 |
this.item = null;
|
950 |
this.item = null;
|
| 798 |
}
|
951 |
}
|
| 799 |
}
|
952 |
}
|
| 800 |
|
953 |
|
| - |
|
954 |
public boolean isIsVoiListed() {
|
| - |
|
955 |
return this.isVoiListed;
|
| - |
|
956 |
}
|
| - |
|
957 |
|
| - |
|
958 |
public void setIsVoiListed(boolean isVoiListed) {
|
| - |
|
959 |
this.isVoiListed = isVoiListed;
|
| - |
|
960 |
setIsVoiListedIsSet(true);
|
| - |
|
961 |
}
|
| - |
|
962 |
|
| - |
|
963 |
public void unsetIsVoiListed() {
|
| - |
|
964 |
__isset_bit_vector.clear(__ISVOILISTED_ISSET_ID);
|
| - |
|
965 |
}
|
| - |
|
966 |
|
| - |
|
967 |
/** Returns true if field isVoiListed is set (has been assigned a value) and false otherwise */
|
| - |
|
968 |
public boolean isSetIsVoiListed() {
|
| - |
|
969 |
return __isset_bit_vector.get(__ISVOILISTED_ISSET_ID);
|
| - |
|
970 |
}
|
| - |
|
971 |
|
| - |
|
972 |
public void setIsVoiListedIsSet(boolean value) {
|
| - |
|
973 |
__isset_bit_vector.set(__ISVOILISTED_ISSET_ID, value);
|
| - |
|
974 |
}
|
| - |
|
975 |
|
| - |
|
976 |
public double getVoiSellingPrice() {
|
| - |
|
977 |
return this.voiSellingPrice;
|
| - |
|
978 |
}
|
| - |
|
979 |
|
| - |
|
980 |
public void setVoiSellingPrice(double voiSellingPrice) {
|
| - |
|
981 |
this.voiSellingPrice = voiSellingPrice;
|
| - |
|
982 |
setVoiSellingPriceIsSet(true);
|
| - |
|
983 |
}
|
| - |
|
984 |
|
| - |
|
985 |
public void unsetVoiSellingPrice() {
|
| - |
|
986 |
__isset_bit_vector.clear(__VOISELLINGPRICE_ISSET_ID);
|
| - |
|
987 |
}
|
| - |
|
988 |
|
| - |
|
989 |
/** Returns true if field voiSellingPrice is set (has been assigned a value) and false otherwise */
|
| - |
|
990 |
public boolean isSetVoiSellingPrice() {
|
| - |
|
991 |
return __isset_bit_vector.get(__VOISELLINGPRICE_ISSET_ID);
|
| - |
|
992 |
}
|
| - |
|
993 |
|
| - |
|
994 |
public void setVoiSellingPriceIsSet(boolean value) {
|
| - |
|
995 |
__isset_bit_vector.set(__VOISELLINGPRICE_ISSET_ID, value);
|
| - |
|
996 |
}
|
| - |
|
997 |
|
| - |
|
998 |
public boolean isSuppressVoiPriceFeed() {
|
| - |
|
999 |
return this.suppressVoiPriceFeed;
|
| - |
|
1000 |
}
|
| - |
|
1001 |
|
| - |
|
1002 |
public void setSuppressVoiPriceFeed(boolean suppressVoiPriceFeed) {
|
| - |
|
1003 |
this.suppressVoiPriceFeed = suppressVoiPriceFeed;
|
| - |
|
1004 |
setSuppressVoiPriceFeedIsSet(true);
|
| - |
|
1005 |
}
|
| - |
|
1006 |
|
| - |
|
1007 |
public void unsetSuppressVoiPriceFeed() {
|
| - |
|
1008 |
__isset_bit_vector.clear(__SUPPRESSVOIPRICEFEED_ISSET_ID);
|
| - |
|
1009 |
}
|
| - |
|
1010 |
|
| - |
|
1011 |
/** Returns true if field suppressVoiPriceFeed is set (has been assigned a value) and false otherwise */
|
| - |
|
1012 |
public boolean isSetSuppressVoiPriceFeed() {
|
| - |
|
1013 |
return __isset_bit_vector.get(__SUPPRESSVOIPRICEFEED_ISSET_ID);
|
| - |
|
1014 |
}
|
| - |
|
1015 |
|
| - |
|
1016 |
public void setSuppressVoiPriceFeedIsSet(boolean value) {
|
| - |
|
1017 |
__isset_bit_vector.set(__SUPPRESSVOIPRICEFEED_ISSET_ID, value);
|
| - |
|
1018 |
}
|
| - |
|
1019 |
|
| - |
|
1020 |
public long getVoiPriceLastUpdatedOn() {
|
| - |
|
1021 |
return this.voiPriceLastUpdatedOn;
|
| - |
|
1022 |
}
|
| - |
|
1023 |
|
| - |
|
1024 |
public void setVoiPriceLastUpdatedOn(long voiPriceLastUpdatedOn) {
|
| - |
|
1025 |
this.voiPriceLastUpdatedOn = voiPriceLastUpdatedOn;
|
| - |
|
1026 |
setVoiPriceLastUpdatedOnIsSet(true);
|
| - |
|
1027 |
}
|
| - |
|
1028 |
|
| - |
|
1029 |
public void unsetVoiPriceLastUpdatedOn() {
|
| - |
|
1030 |
__isset_bit_vector.clear(__VOIPRICELASTUPDATEDON_ISSET_ID);
|
| - |
|
1031 |
}
|
| - |
|
1032 |
|
| - |
|
1033 |
/** Returns true if field voiPriceLastUpdatedOn is set (has been assigned a value) and false otherwise */
|
| - |
|
1034 |
public boolean isSetVoiPriceLastUpdatedOn() {
|
| - |
|
1035 |
return __isset_bit_vector.get(__VOIPRICELASTUPDATEDON_ISSET_ID);
|
| - |
|
1036 |
}
|
| - |
|
1037 |
|
| - |
|
1038 |
public void setVoiPriceLastUpdatedOnIsSet(boolean value) {
|
| - |
|
1039 |
__isset_bit_vector.set(__VOIPRICELASTUPDATEDON_ISSET_ID, value);
|
| - |
|
1040 |
}
|
| - |
|
1041 |
|
| - |
|
1042 |
public String getVoiSkuAtSnapdeal() {
|
| - |
|
1043 |
return this.voiSkuAtSnapdeal;
|
| - |
|
1044 |
}
|
| - |
|
1045 |
|
| - |
|
1046 |
public void setVoiSkuAtSnapdeal(String voiSkuAtSnapdeal) {
|
| - |
|
1047 |
this.voiSkuAtSnapdeal = voiSkuAtSnapdeal;
|
| - |
|
1048 |
}
|
| - |
|
1049 |
|
| - |
|
1050 |
public void unsetVoiSkuAtSnapdeal() {
|
| - |
|
1051 |
this.voiSkuAtSnapdeal = null;
|
| - |
|
1052 |
}
|
| - |
|
1053 |
|
| - |
|
1054 |
/** Returns true if field voiSkuAtSnapdeal is set (has been assigned a value) and false otherwise */
|
| - |
|
1055 |
public boolean isSetVoiSkuAtSnapdeal() {
|
| - |
|
1056 |
return this.voiSkuAtSnapdeal != null;
|
| - |
|
1057 |
}
|
| - |
|
1058 |
|
| - |
|
1059 |
public void setVoiSkuAtSnapdealIsSet(boolean value) {
|
| - |
|
1060 |
if (!value) {
|
| - |
|
1061 |
this.voiSkuAtSnapdeal = null;
|
| - |
|
1062 |
}
|
| - |
|
1063 |
}
|
| - |
|
1064 |
|
| - |
|
1065 |
public double getMinimumPossibleSpVoi() {
|
| - |
|
1066 |
return this.minimumPossibleSpVoi;
|
| - |
|
1067 |
}
|
| - |
|
1068 |
|
| - |
|
1069 |
public void setMinimumPossibleSpVoi(double minimumPossibleSpVoi) {
|
| - |
|
1070 |
this.minimumPossibleSpVoi = minimumPossibleSpVoi;
|
| - |
|
1071 |
setMinimumPossibleSpVoiIsSet(true);
|
| - |
|
1072 |
}
|
| - |
|
1073 |
|
| - |
|
1074 |
public void unsetMinimumPossibleSpVoi() {
|
| - |
|
1075 |
__isset_bit_vector.clear(__MINIMUMPOSSIBLESPVOI_ISSET_ID);
|
| - |
|
1076 |
}
|
| - |
|
1077 |
|
| - |
|
1078 |
/** Returns true if field minimumPossibleSpVoi is set (has been assigned a value) and false otherwise */
|
| - |
|
1079 |
public boolean isSetMinimumPossibleSpVoi() {
|
| - |
|
1080 |
return __isset_bit_vector.get(__MINIMUMPOSSIBLESPVOI_ISSET_ID);
|
| - |
|
1081 |
}
|
| - |
|
1082 |
|
| - |
|
1083 |
public void setMinimumPossibleSpVoiIsSet(boolean value) {
|
| - |
|
1084 |
__isset_bit_vector.set(__MINIMUMPOSSIBLESPVOI_ISSET_ID, value);
|
| - |
|
1085 |
}
|
| - |
|
1086 |
|
| - |
|
1087 |
public double getMinimumPossibleTpVoi() {
|
| - |
|
1088 |
return this.minimumPossibleTpVoi;
|
| - |
|
1089 |
}
|
| - |
|
1090 |
|
| - |
|
1091 |
public void setMinimumPossibleTpVoi(double minimumPossibleTpVoi) {
|
| - |
|
1092 |
this.minimumPossibleTpVoi = minimumPossibleTpVoi;
|
| - |
|
1093 |
setMinimumPossibleTpVoiIsSet(true);
|
| - |
|
1094 |
}
|
| - |
|
1095 |
|
| - |
|
1096 |
public void unsetMinimumPossibleTpVoi() {
|
| - |
|
1097 |
__isset_bit_vector.clear(__MINIMUMPOSSIBLETPVOI_ISSET_ID);
|
| - |
|
1098 |
}
|
| - |
|
1099 |
|
| - |
|
1100 |
/** Returns true if field minimumPossibleTpVoi is set (has been assigned a value) and false otherwise */
|
| - |
|
1101 |
public boolean isSetMinimumPossibleTpVoi() {
|
| - |
|
1102 |
return __isset_bit_vector.get(__MINIMUMPOSSIBLETPVOI_ISSET_ID);
|
| - |
|
1103 |
}
|
| - |
|
1104 |
|
| - |
|
1105 |
public void setMinimumPossibleTpVoiIsSet(boolean value) {
|
| - |
|
1106 |
__isset_bit_vector.set(__MINIMUMPOSSIBLETPVOI_ISSET_ID, value);
|
| - |
|
1107 |
}
|
| - |
|
1108 |
|
| - |
|
1109 |
public double getCourierCostVoi() {
|
| - |
|
1110 |
return this.courierCostVoi;
|
| - |
|
1111 |
}
|
| - |
|
1112 |
|
| - |
|
1113 |
public void setCourierCostVoi(double courierCostVoi) {
|
| - |
|
1114 |
this.courierCostVoi = courierCostVoi;
|
| - |
|
1115 |
setCourierCostVoiIsSet(true);
|
| - |
|
1116 |
}
|
| - |
|
1117 |
|
| - |
|
1118 |
public void unsetCourierCostVoi() {
|
| - |
|
1119 |
__isset_bit_vector.clear(__COURIERCOSTVOI_ISSET_ID);
|
| - |
|
1120 |
}
|
| - |
|
1121 |
|
| - |
|
1122 |
/** Returns true if field courierCostVoi is set (has been assigned a value) and false otherwise */
|
| - |
|
1123 |
public boolean isSetCourierCostVoi() {
|
| - |
|
1124 |
return __isset_bit_vector.get(__COURIERCOSTVOI_ISSET_ID);
|
| - |
|
1125 |
}
|
| - |
|
1126 |
|
| - |
|
1127 |
public void setCourierCostVoiIsSet(boolean value) {
|
| - |
|
1128 |
__isset_bit_vector.set(__COURIERCOSTVOI_ISSET_ID, value);
|
| - |
|
1129 |
}
|
| - |
|
1130 |
|
| - |
|
1131 |
public double getServiceTaxVoi() {
|
| - |
|
1132 |
return this.serviceTaxVoi;
|
| - |
|
1133 |
}
|
| - |
|
1134 |
|
| - |
|
1135 |
public void setServiceTaxVoi(double serviceTaxVoi) {
|
| - |
|
1136 |
this.serviceTaxVoi = serviceTaxVoi;
|
| - |
|
1137 |
setServiceTaxVoiIsSet(true);
|
| - |
|
1138 |
}
|
| - |
|
1139 |
|
| - |
|
1140 |
public void unsetServiceTaxVoi() {
|
| - |
|
1141 |
__isset_bit_vector.clear(__SERVICETAXVOI_ISSET_ID);
|
| - |
|
1142 |
}
|
| - |
|
1143 |
|
| - |
|
1144 |
/** Returns true if field serviceTaxVoi is set (has been assigned a value) and false otherwise */
|
| - |
|
1145 |
public boolean isSetServiceTaxVoi() {
|
| - |
|
1146 |
return __isset_bit_vector.get(__SERVICETAXVOI_ISSET_ID);
|
| - |
|
1147 |
}
|
| - |
|
1148 |
|
| - |
|
1149 |
public void setServiceTaxVoiIsSet(boolean value) {
|
| - |
|
1150 |
__isset_bit_vector.set(__SERVICETAXVOI_ISSET_ID, value);
|
| - |
|
1151 |
}
|
| - |
|
1152 |
|
| - |
|
1153 |
public double getTransferPriceVoi() {
|
| - |
|
1154 |
return this.transferPriceVoi;
|
| - |
|
1155 |
}
|
| - |
|
1156 |
|
| - |
|
1157 |
public void setTransferPriceVoi(double transferPriceVoi) {
|
| - |
|
1158 |
this.transferPriceVoi = transferPriceVoi;
|
| - |
|
1159 |
setTransferPriceVoiIsSet(true);
|
| - |
|
1160 |
}
|
| - |
|
1161 |
|
| - |
|
1162 |
public void unsetTransferPriceVoi() {
|
| - |
|
1163 |
__isset_bit_vector.clear(__TRANSFERPRICEVOI_ISSET_ID);
|
| - |
|
1164 |
}
|
| - |
|
1165 |
|
| - |
|
1166 |
/** Returns true if field transferPriceVoi is set (has been assigned a value) and false otherwise */
|
| - |
|
1167 |
public boolean isSetTransferPriceVoi() {
|
| - |
|
1168 |
return __isset_bit_vector.get(__TRANSFERPRICEVOI_ISSET_ID);
|
| - |
|
1169 |
}
|
| - |
|
1170 |
|
| - |
|
1171 |
public void setTransferPriceVoiIsSet(boolean value) {
|
| - |
|
1172 |
__isset_bit_vector.set(__TRANSFERPRICEVOI_ISSET_ID, value);
|
| - |
|
1173 |
}
|
| - |
|
1174 |
|
| - |
|
1175 |
public double getCommissionVoi() {
|
| - |
|
1176 |
return this.commissionVoi;
|
| - |
|
1177 |
}
|
| - |
|
1178 |
|
| - |
|
1179 |
public void setCommissionVoi(double commissionVoi) {
|
| - |
|
1180 |
this.commissionVoi = commissionVoi;
|
| - |
|
1181 |
setCommissionVoiIsSet(true);
|
| - |
|
1182 |
}
|
| - |
|
1183 |
|
| - |
|
1184 |
public void unsetCommissionVoi() {
|
| - |
|
1185 |
__isset_bit_vector.clear(__COMMISSIONVOI_ISSET_ID);
|
| - |
|
1186 |
}
|
| - |
|
1187 |
|
| - |
|
1188 |
/** Returns true if field commissionVoi is set (has been assigned a value) and false otherwise */
|
| - |
|
1189 |
public boolean isSetCommissionVoi() {
|
| - |
|
1190 |
return __isset_bit_vector.get(__COMMISSIONVOI_ISSET_ID);
|
| - |
|
1191 |
}
|
| - |
|
1192 |
|
| - |
|
1193 |
public void setCommissionVoiIsSet(boolean value) {
|
| - |
|
1194 |
__isset_bit_vector.set(__COMMISSIONVOI_ISSET_ID, value);
|
| - |
|
1195 |
}
|
| - |
|
1196 |
|
| 801 |
public void setFieldValue(_Fields field, Object value) {
|
1197 |
public void setFieldValue(_Fields field, Object value) {
|
| 802 |
switch (field) {
|
1198 |
switch (field) {
|
| 803 |
case ITEM_ID:
|
1199 |
case ITEM_ID:
|
| 804 |
if (value == null) {
|
1200 |
if (value == null) {
|
| 805 |
unsetItem_id();
|
1201 |
unsetItem_id();
|
| Line 950... |
Line 1346... |
| 950 |
} else {
|
1346 |
} else {
|
| 951 |
setItem((Item)value);
|
1347 |
setItem((Item)value);
|
| 952 |
}
|
1348 |
}
|
| 953 |
break;
|
1349 |
break;
|
| 954 |
|
1350 |
|
| - |
|
1351 |
case IS_VOI_LISTED:
|
| - |
|
1352 |
if (value == null) {
|
| - |
|
1353 |
unsetIsVoiListed();
|
| - |
|
1354 |
} else {
|
| - |
|
1355 |
setIsVoiListed((Boolean)value);
|
| - |
|
1356 |
}
|
| - |
|
1357 |
break;
|
| - |
|
1358 |
|
| - |
|
1359 |
case VOI_SELLING_PRICE:
|
| - |
|
1360 |
if (value == null) {
|
| - |
|
1361 |
unsetVoiSellingPrice();
|
| - |
|
1362 |
} else {
|
| - |
|
1363 |
setVoiSellingPrice((Double)value);
|
| - |
|
1364 |
}
|
| - |
|
1365 |
break;
|
| - |
|
1366 |
|
| - |
|
1367 |
case SUPPRESS_VOI_PRICE_FEED:
|
| - |
|
1368 |
if (value == null) {
|
| - |
|
1369 |
unsetSuppressVoiPriceFeed();
|
| - |
|
1370 |
} else {
|
| - |
|
1371 |
setSuppressVoiPriceFeed((Boolean)value);
|
| - |
|
1372 |
}
|
| - |
|
1373 |
break;
|
| - |
|
1374 |
|
| - |
|
1375 |
case VOI_PRICE_LAST_UPDATED_ON:
|
| - |
|
1376 |
if (value == null) {
|
| - |
|
1377 |
unsetVoiPriceLastUpdatedOn();
|
| - |
|
1378 |
} else {
|
| - |
|
1379 |
setVoiPriceLastUpdatedOn((Long)value);
|
| - |
|
1380 |
}
|
| - |
|
1381 |
break;
|
| - |
|
1382 |
|
| - |
|
1383 |
case VOI_SKU_AT_SNAPDEAL:
|
| - |
|
1384 |
if (value == null) {
|
| - |
|
1385 |
unsetVoiSkuAtSnapdeal();
|
| - |
|
1386 |
} else {
|
| - |
|
1387 |
setVoiSkuAtSnapdeal((String)value);
|
| - |
|
1388 |
}
|
| - |
|
1389 |
break;
|
| - |
|
1390 |
|
| - |
|
1391 |
case MINIMUM_POSSIBLE_SP_VOI:
|
| - |
|
1392 |
if (value == null) {
|
| - |
|
1393 |
unsetMinimumPossibleSpVoi();
|
| - |
|
1394 |
} else {
|
| - |
|
1395 |
setMinimumPossibleSpVoi((Double)value);
|
| - |
|
1396 |
}
|
| - |
|
1397 |
break;
|
| - |
|
1398 |
|
| - |
|
1399 |
case MINIMUM_POSSIBLE_TP_VOI:
|
| - |
|
1400 |
if (value == null) {
|
| - |
|
1401 |
unsetMinimumPossibleTpVoi();
|
| - |
|
1402 |
} else {
|
| - |
|
1403 |
setMinimumPossibleTpVoi((Double)value);
|
| - |
|
1404 |
}
|
| - |
|
1405 |
break;
|
| - |
|
1406 |
|
| - |
|
1407 |
case COURIER_COST_VOI:
|
| - |
|
1408 |
if (value == null) {
|
| - |
|
1409 |
unsetCourierCostVoi();
|
| - |
|
1410 |
} else {
|
| - |
|
1411 |
setCourierCostVoi((Double)value);
|
| - |
|
1412 |
}
|
| - |
|
1413 |
break;
|
| - |
|
1414 |
|
| - |
|
1415 |
case SERVICE_TAX_VOI:
|
| - |
|
1416 |
if (value == null) {
|
| - |
|
1417 |
unsetServiceTaxVoi();
|
| - |
|
1418 |
} else {
|
| - |
|
1419 |
setServiceTaxVoi((Double)value);
|
| - |
|
1420 |
}
|
| - |
|
1421 |
break;
|
| - |
|
1422 |
|
| - |
|
1423 |
case TRANSFER_PRICE_VOI:
|
| - |
|
1424 |
if (value == null) {
|
| - |
|
1425 |
unsetTransferPriceVoi();
|
| - |
|
1426 |
} else {
|
| - |
|
1427 |
setTransferPriceVoi((Double)value);
|
| - |
|
1428 |
}
|
| - |
|
1429 |
break;
|
| - |
|
1430 |
|
| - |
|
1431 |
case COMMISSION_VOI:
|
| - |
|
1432 |
if (value == null) {
|
| - |
|
1433 |
unsetCommissionVoi();
|
| - |
|
1434 |
} else {
|
| - |
|
1435 |
setCommissionVoi((Double)value);
|
| - |
|
1436 |
}
|
| - |
|
1437 |
break;
|
| - |
|
1438 |
|
| 955 |
}
|
1439 |
}
|
| 956 |
}
|
1440 |
}
|
| 957 |
|
1441 |
|
| 958 |
public Object getFieldValue(_Fields field) {
|
1442 |
public Object getFieldValue(_Fields field) {
|
| 959 |
switch (field) {
|
1443 |
switch (field) {
|
| Line 1012... |
Line 1496... |
| 1012 |
return Double.valueOf(getCourierCostMarketplace());
|
1496 |
return Double.valueOf(getCourierCostMarketplace());
|
| 1013 |
|
1497 |
|
| 1014 |
case ITEM:
|
1498 |
case ITEM:
|
| 1015 |
return getItem();
|
1499 |
return getItem();
|
| 1016 |
|
1500 |
|
| - |
|
1501 |
case IS_VOI_LISTED:
|
| - |
|
1502 |
return Boolean.valueOf(isIsVoiListed());
|
| - |
|
1503 |
|
| - |
|
1504 |
case VOI_SELLING_PRICE:
|
| - |
|
1505 |
return Double.valueOf(getVoiSellingPrice());
|
| - |
|
1506 |
|
| - |
|
1507 |
case SUPPRESS_VOI_PRICE_FEED:
|
| - |
|
1508 |
return Boolean.valueOf(isSuppressVoiPriceFeed());
|
| - |
|
1509 |
|
| - |
|
1510 |
case VOI_PRICE_LAST_UPDATED_ON:
|
| - |
|
1511 |
return Long.valueOf(getVoiPriceLastUpdatedOn());
|
| - |
|
1512 |
|
| - |
|
1513 |
case VOI_SKU_AT_SNAPDEAL:
|
| - |
|
1514 |
return getVoiSkuAtSnapdeal();
|
| - |
|
1515 |
|
| - |
|
1516 |
case MINIMUM_POSSIBLE_SP_VOI:
|
| - |
|
1517 |
return Double.valueOf(getMinimumPossibleSpVoi());
|
| - |
|
1518 |
|
| - |
|
1519 |
case MINIMUM_POSSIBLE_TP_VOI:
|
| - |
|
1520 |
return Double.valueOf(getMinimumPossibleTpVoi());
|
| - |
|
1521 |
|
| - |
|
1522 |
case COURIER_COST_VOI:
|
| - |
|
1523 |
return Double.valueOf(getCourierCostVoi());
|
| - |
|
1524 |
|
| - |
|
1525 |
case SERVICE_TAX_VOI:
|
| - |
|
1526 |
return Double.valueOf(getServiceTaxVoi());
|
| - |
|
1527 |
|
| - |
|
1528 |
case TRANSFER_PRICE_VOI:
|
| - |
|
1529 |
return Double.valueOf(getTransferPriceVoi());
|
| - |
|
1530 |
|
| - |
|
1531 |
case COMMISSION_VOI:
|
| - |
|
1532 |
return Double.valueOf(getCommissionVoi());
|
| - |
|
1533 |
|
| 1017 |
}
|
1534 |
}
|
| 1018 |
throw new IllegalStateException();
|
1535 |
throw new IllegalStateException();
|
| 1019 |
}
|
1536 |
}
|
| 1020 |
|
1537 |
|
| 1021 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1538 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1061... |
Line 1578... |
| 1061 |
return isSetMarketplaceItems();
|
1578 |
return isSetMarketplaceItems();
|
| 1062 |
case COURIER_COST_MARKETPLACE:
|
1579 |
case COURIER_COST_MARKETPLACE:
|
| 1063 |
return isSetCourierCostMarketplace();
|
1580 |
return isSetCourierCostMarketplace();
|
| 1064 |
case ITEM:
|
1581 |
case ITEM:
|
| 1065 |
return isSetItem();
|
1582 |
return isSetItem();
|
| - |
|
1583 |
case IS_VOI_LISTED:
|
| - |
|
1584 |
return isSetIsVoiListed();
|
| - |
|
1585 |
case VOI_SELLING_PRICE:
|
| - |
|
1586 |
return isSetVoiSellingPrice();
|
| - |
|
1587 |
case SUPPRESS_VOI_PRICE_FEED:
|
| - |
|
1588 |
return isSetSuppressVoiPriceFeed();
|
| - |
|
1589 |
case VOI_PRICE_LAST_UPDATED_ON:
|
| - |
|
1590 |
return isSetVoiPriceLastUpdatedOn();
|
| - |
|
1591 |
case VOI_SKU_AT_SNAPDEAL:
|
| - |
|
1592 |
return isSetVoiSkuAtSnapdeal();
|
| - |
|
1593 |
case MINIMUM_POSSIBLE_SP_VOI:
|
| - |
|
1594 |
return isSetMinimumPossibleSpVoi();
|
| - |
|
1595 |
case MINIMUM_POSSIBLE_TP_VOI:
|
| - |
|
1596 |
return isSetMinimumPossibleTpVoi();
|
| - |
|
1597 |
case COURIER_COST_VOI:
|
| - |
|
1598 |
return isSetCourierCostVoi();
|
| - |
|
1599 |
case SERVICE_TAX_VOI:
|
| - |
|
1600 |
return isSetServiceTaxVoi();
|
| - |
|
1601 |
case TRANSFER_PRICE_VOI:
|
| - |
|
1602 |
return isSetTransferPriceVoi();
|
| - |
|
1603 |
case COMMISSION_VOI:
|
| - |
|
1604 |
return isSetCommissionVoi();
|
| 1066 |
}
|
1605 |
}
|
| 1067 |
throw new IllegalStateException();
|
1606 |
throw new IllegalStateException();
|
| 1068 |
}
|
1607 |
}
|
| 1069 |
|
1608 |
|
| 1070 |
@Override
|
1609 |
@Override
|
| Line 1249... |
Line 1788... |
| 1249 |
return false;
|
1788 |
return false;
|
| 1250 |
if (!this.item.equals(that.item))
|
1789 |
if (!this.item.equals(that.item))
|
| 1251 |
return false;
|
1790 |
return false;
|
| 1252 |
}
|
1791 |
}
|
| 1253 |
|
1792 |
|
| - |
|
1793 |
boolean this_present_isVoiListed = true;
|
| - |
|
1794 |
boolean that_present_isVoiListed = true;
|
| - |
|
1795 |
if (this_present_isVoiListed || that_present_isVoiListed) {
|
| - |
|
1796 |
if (!(this_present_isVoiListed && that_present_isVoiListed))
|
| - |
|
1797 |
return false;
|
| - |
|
1798 |
if (this.isVoiListed != that.isVoiListed)
|
| - |
|
1799 |
return false;
|
| - |
|
1800 |
}
|
| - |
|
1801 |
|
| - |
|
1802 |
boolean this_present_voiSellingPrice = true;
|
| - |
|
1803 |
boolean that_present_voiSellingPrice = true;
|
| - |
|
1804 |
if (this_present_voiSellingPrice || that_present_voiSellingPrice) {
|
| - |
|
1805 |
if (!(this_present_voiSellingPrice && that_present_voiSellingPrice))
|
| - |
|
1806 |
return false;
|
| - |
|
1807 |
if (this.voiSellingPrice != that.voiSellingPrice)
|
| - |
|
1808 |
return false;
|
| - |
|
1809 |
}
|
| - |
|
1810 |
|
| - |
|
1811 |
boolean this_present_suppressVoiPriceFeed = true;
|
| - |
|
1812 |
boolean that_present_suppressVoiPriceFeed = true;
|
| - |
|
1813 |
if (this_present_suppressVoiPriceFeed || that_present_suppressVoiPriceFeed) {
|
| - |
|
1814 |
if (!(this_present_suppressVoiPriceFeed && that_present_suppressVoiPriceFeed))
|
| - |
|
1815 |
return false;
|
| - |
|
1816 |
if (this.suppressVoiPriceFeed != that.suppressVoiPriceFeed)
|
| - |
|
1817 |
return false;
|
| - |
|
1818 |
}
|
| - |
|
1819 |
|
| - |
|
1820 |
boolean this_present_voiPriceLastUpdatedOn = true;
|
| - |
|
1821 |
boolean that_present_voiPriceLastUpdatedOn = true;
|
| - |
|
1822 |
if (this_present_voiPriceLastUpdatedOn || that_present_voiPriceLastUpdatedOn) {
|
| - |
|
1823 |
if (!(this_present_voiPriceLastUpdatedOn && that_present_voiPriceLastUpdatedOn))
|
| - |
|
1824 |
return false;
|
| - |
|
1825 |
if (this.voiPriceLastUpdatedOn != that.voiPriceLastUpdatedOn)
|
| - |
|
1826 |
return false;
|
| - |
|
1827 |
}
|
| - |
|
1828 |
|
| - |
|
1829 |
boolean this_present_voiSkuAtSnapdeal = true && this.isSetVoiSkuAtSnapdeal();
|
| - |
|
1830 |
boolean that_present_voiSkuAtSnapdeal = true && that.isSetVoiSkuAtSnapdeal();
|
| - |
|
1831 |
if (this_present_voiSkuAtSnapdeal || that_present_voiSkuAtSnapdeal) {
|
| - |
|
1832 |
if (!(this_present_voiSkuAtSnapdeal && that_present_voiSkuAtSnapdeal))
|
| - |
|
1833 |
return false;
|
| - |
|
1834 |
if (!this.voiSkuAtSnapdeal.equals(that.voiSkuAtSnapdeal))
|
| - |
|
1835 |
return false;
|
| - |
|
1836 |
}
|
| - |
|
1837 |
|
| - |
|
1838 |
boolean this_present_minimumPossibleSpVoi = true;
|
| - |
|
1839 |
boolean that_present_minimumPossibleSpVoi = true;
|
| - |
|
1840 |
if (this_present_minimumPossibleSpVoi || that_present_minimumPossibleSpVoi) {
|
| - |
|
1841 |
if (!(this_present_minimumPossibleSpVoi && that_present_minimumPossibleSpVoi))
|
| - |
|
1842 |
return false;
|
| - |
|
1843 |
if (this.minimumPossibleSpVoi != that.minimumPossibleSpVoi)
|
| - |
|
1844 |
return false;
|
| - |
|
1845 |
}
|
| - |
|
1846 |
|
| - |
|
1847 |
boolean this_present_minimumPossibleTpVoi = true;
|
| - |
|
1848 |
boolean that_present_minimumPossibleTpVoi = true;
|
| - |
|
1849 |
if (this_present_minimumPossibleTpVoi || that_present_minimumPossibleTpVoi) {
|
| - |
|
1850 |
if (!(this_present_minimumPossibleTpVoi && that_present_minimumPossibleTpVoi))
|
| - |
|
1851 |
return false;
|
| - |
|
1852 |
if (this.minimumPossibleTpVoi != that.minimumPossibleTpVoi)
|
| - |
|
1853 |
return false;
|
| - |
|
1854 |
}
|
| - |
|
1855 |
|
| - |
|
1856 |
boolean this_present_courierCostVoi = true;
|
| - |
|
1857 |
boolean that_present_courierCostVoi = true;
|
| - |
|
1858 |
if (this_present_courierCostVoi || that_present_courierCostVoi) {
|
| - |
|
1859 |
if (!(this_present_courierCostVoi && that_present_courierCostVoi))
|
| - |
|
1860 |
return false;
|
| - |
|
1861 |
if (this.courierCostVoi != that.courierCostVoi)
|
| - |
|
1862 |
return false;
|
| - |
|
1863 |
}
|
| - |
|
1864 |
|
| - |
|
1865 |
boolean this_present_serviceTaxVoi = true;
|
| - |
|
1866 |
boolean that_present_serviceTaxVoi = true;
|
| - |
|
1867 |
if (this_present_serviceTaxVoi || that_present_serviceTaxVoi) {
|
| - |
|
1868 |
if (!(this_present_serviceTaxVoi && that_present_serviceTaxVoi))
|
| - |
|
1869 |
return false;
|
| - |
|
1870 |
if (this.serviceTaxVoi != that.serviceTaxVoi)
|
| - |
|
1871 |
return false;
|
| - |
|
1872 |
}
|
| - |
|
1873 |
|
| - |
|
1874 |
boolean this_present_transferPriceVoi = true;
|
| - |
|
1875 |
boolean that_present_transferPriceVoi = true;
|
| - |
|
1876 |
if (this_present_transferPriceVoi || that_present_transferPriceVoi) {
|
| - |
|
1877 |
if (!(this_present_transferPriceVoi && that_present_transferPriceVoi))
|
| - |
|
1878 |
return false;
|
| - |
|
1879 |
if (this.transferPriceVoi != that.transferPriceVoi)
|
| - |
|
1880 |
return false;
|
| - |
|
1881 |
}
|
| - |
|
1882 |
|
| - |
|
1883 |
boolean this_present_commissionVoi = true;
|
| - |
|
1884 |
boolean that_present_commissionVoi = true;
|
| - |
|
1885 |
if (this_present_commissionVoi || that_present_commissionVoi) {
|
| - |
|
1886 |
if (!(this_present_commissionVoi && that_present_commissionVoi))
|
| - |
|
1887 |
return false;
|
| - |
|
1888 |
if (this.commissionVoi != that.commissionVoi)
|
| - |
|
1889 |
return false;
|
| - |
|
1890 |
}
|
| - |
|
1891 |
|
| 1254 |
return true;
|
1892 |
return true;
|
| 1255 |
}
|
1893 |
}
|
| 1256 |
|
1894 |
|
| 1257 |
@Override
|
1895 |
@Override
|
| 1258 |
public int hashCode() {
|
1896 |
public int hashCode() {
|
| Line 1455... |
Line 2093... |
| 1455 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item, typedOther.item);
|
2093 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item, typedOther.item);
|
| 1456 |
if (lastComparison != 0) {
|
2094 |
if (lastComparison != 0) {
|
| 1457 |
return lastComparison;
|
2095 |
return lastComparison;
|
| 1458 |
}
|
2096 |
}
|
| 1459 |
}
|
2097 |
}
|
| - |
|
2098 |
lastComparison = Boolean.valueOf(isSetIsVoiListed()).compareTo(typedOther.isSetIsVoiListed());
|
| - |
|
2099 |
if (lastComparison != 0) {
|
| - |
|
2100 |
return lastComparison;
|
| - |
|
2101 |
}
|
| - |
|
2102 |
if (isSetIsVoiListed()) {
|
| - |
|
2103 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isVoiListed, typedOther.isVoiListed);
|
| - |
|
2104 |
if (lastComparison != 0) {
|
| - |
|
2105 |
return lastComparison;
|
| - |
|
2106 |
}
|
| - |
|
2107 |
}
|
| - |
|
2108 |
lastComparison = Boolean.valueOf(isSetVoiSellingPrice()).compareTo(typedOther.isSetVoiSellingPrice());
|
| - |
|
2109 |
if (lastComparison != 0) {
|
| - |
|
2110 |
return lastComparison;
|
| - |
|
2111 |
}
|
| - |
|
2112 |
if (isSetVoiSellingPrice()) {
|
| - |
|
2113 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.voiSellingPrice, typedOther.voiSellingPrice);
|
| - |
|
2114 |
if (lastComparison != 0) {
|
| - |
|
2115 |
return lastComparison;
|
| - |
|
2116 |
}
|
| - |
|
2117 |
}
|
| - |
|
2118 |
lastComparison = Boolean.valueOf(isSetSuppressVoiPriceFeed()).compareTo(typedOther.isSetSuppressVoiPriceFeed());
|
| - |
|
2119 |
if (lastComparison != 0) {
|
| - |
|
2120 |
return lastComparison;
|
| - |
|
2121 |
}
|
| - |
|
2122 |
if (isSetSuppressVoiPriceFeed()) {
|
| - |
|
2123 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suppressVoiPriceFeed, typedOther.suppressVoiPriceFeed);
|
| - |
|
2124 |
if (lastComparison != 0) {
|
| - |
|
2125 |
return lastComparison;
|
| - |
|
2126 |
}
|
| - |
|
2127 |
}
|
| - |
|
2128 |
lastComparison = Boolean.valueOf(isSetVoiPriceLastUpdatedOn()).compareTo(typedOther.isSetVoiPriceLastUpdatedOn());
|
| - |
|
2129 |
if (lastComparison != 0) {
|
| - |
|
2130 |
return lastComparison;
|
| - |
|
2131 |
}
|
| - |
|
2132 |
if (isSetVoiPriceLastUpdatedOn()) {
|
| - |
|
2133 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.voiPriceLastUpdatedOn, typedOther.voiPriceLastUpdatedOn);
|
| - |
|
2134 |
if (lastComparison != 0) {
|
| - |
|
2135 |
return lastComparison;
|
| - |
|
2136 |
}
|
| - |
|
2137 |
}
|
| - |
|
2138 |
lastComparison = Boolean.valueOf(isSetVoiSkuAtSnapdeal()).compareTo(typedOther.isSetVoiSkuAtSnapdeal());
|
| - |
|
2139 |
if (lastComparison != 0) {
|
| - |
|
2140 |
return lastComparison;
|
| - |
|
2141 |
}
|
| - |
|
2142 |
if (isSetVoiSkuAtSnapdeal()) {
|
| - |
|
2143 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.voiSkuAtSnapdeal, typedOther.voiSkuAtSnapdeal);
|
| - |
|
2144 |
if (lastComparison != 0) {
|
| - |
|
2145 |
return lastComparison;
|
| - |
|
2146 |
}
|
| - |
|
2147 |
}
|
| - |
|
2148 |
lastComparison = Boolean.valueOf(isSetMinimumPossibleSpVoi()).compareTo(typedOther.isSetMinimumPossibleSpVoi());
|
| - |
|
2149 |
if (lastComparison != 0) {
|
| - |
|
2150 |
return lastComparison;
|
| - |
|
2151 |
}
|
| - |
|
2152 |
if (isSetMinimumPossibleSpVoi()) {
|
| - |
|
2153 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minimumPossibleSpVoi, typedOther.minimumPossibleSpVoi);
|
| - |
|
2154 |
if (lastComparison != 0) {
|
| - |
|
2155 |
return lastComparison;
|
| - |
|
2156 |
}
|
| - |
|
2157 |
}
|
| - |
|
2158 |
lastComparison = Boolean.valueOf(isSetMinimumPossibleTpVoi()).compareTo(typedOther.isSetMinimumPossibleTpVoi());
|
| - |
|
2159 |
if (lastComparison != 0) {
|
| - |
|
2160 |
return lastComparison;
|
| - |
|
2161 |
}
|
| - |
|
2162 |
if (isSetMinimumPossibleTpVoi()) {
|
| - |
|
2163 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minimumPossibleTpVoi, typedOther.minimumPossibleTpVoi);
|
| - |
|
2164 |
if (lastComparison != 0) {
|
| - |
|
2165 |
return lastComparison;
|
| - |
|
2166 |
}
|
| - |
|
2167 |
}
|
| - |
|
2168 |
lastComparison = Boolean.valueOf(isSetCourierCostVoi()).compareTo(typedOther.isSetCourierCostVoi());
|
| - |
|
2169 |
if (lastComparison != 0) {
|
| - |
|
2170 |
return lastComparison;
|
| - |
|
2171 |
}
|
| - |
|
2172 |
if (isSetCourierCostVoi()) {
|
| - |
|
2173 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courierCostVoi, typedOther.courierCostVoi);
|
| - |
|
2174 |
if (lastComparison != 0) {
|
| - |
|
2175 |
return lastComparison;
|
| - |
|
2176 |
}
|
| - |
|
2177 |
}
|
| - |
|
2178 |
lastComparison = Boolean.valueOf(isSetServiceTaxVoi()).compareTo(typedOther.isSetServiceTaxVoi());
|
| - |
|
2179 |
if (lastComparison != 0) {
|
| - |
|
2180 |
return lastComparison;
|
| - |
|
2181 |
}
|
| - |
|
2182 |
if (isSetServiceTaxVoi()) {
|
| - |
|
2183 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serviceTaxVoi, typedOther.serviceTaxVoi);
|
| - |
|
2184 |
if (lastComparison != 0) {
|
| - |
|
2185 |
return lastComparison;
|
| - |
|
2186 |
}
|
| - |
|
2187 |
}
|
| - |
|
2188 |
lastComparison = Boolean.valueOf(isSetTransferPriceVoi()).compareTo(typedOther.isSetTransferPriceVoi());
|
| - |
|
2189 |
if (lastComparison != 0) {
|
| - |
|
2190 |
return lastComparison;
|
| - |
|
2191 |
}
|
| - |
|
2192 |
if (isSetTransferPriceVoi()) {
|
| - |
|
2193 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferPriceVoi, typedOther.transferPriceVoi);
|
| - |
|
2194 |
if (lastComparison != 0) {
|
| - |
|
2195 |
return lastComparison;
|
| - |
|
2196 |
}
|
| - |
|
2197 |
}
|
| - |
|
2198 |
lastComparison = Boolean.valueOf(isSetCommissionVoi()).compareTo(typedOther.isSetCommissionVoi());
|
| - |
|
2199 |
if (lastComparison != 0) {
|
| - |
|
2200 |
return lastComparison;
|
| - |
|
2201 |
}
|
| - |
|
2202 |
if (isSetCommissionVoi()) {
|
| - |
|
2203 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commissionVoi, typedOther.commissionVoi);
|
| - |
|
2204 |
if (lastComparison != 0) {
|
| - |
|
2205 |
return lastComparison;
|
| - |
|
2206 |
}
|
| - |
|
2207 |
}
|
| 1460 |
return 0;
|
2208 |
return 0;
|
| 1461 |
}
|
2209 |
}
|
| 1462 |
|
2210 |
|
| 1463 |
public _Fields fieldForId(int fieldId) {
|
2211 |
public _Fields fieldForId(int fieldId) {
|
| 1464 |
return _Fields.findByThriftId(fieldId);
|
2212 |
return _Fields.findByThriftId(fieldId);
|
| Line 1620... |
Line 2368... |
| 1620 |
this.item.read(iprot);
|
2368 |
this.item.read(iprot);
|
| 1621 |
} else {
|
2369 |
} else {
|
| 1622 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2370 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1623 |
}
|
2371 |
}
|
| 1624 |
break;
|
2372 |
break;
|
| - |
|
2373 |
case 20: // IS_VOI_LISTED
|
| - |
|
2374 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
2375 |
this.isVoiListed = iprot.readBool();
|
| - |
|
2376 |
setIsVoiListedIsSet(true);
|
| - |
|
2377 |
} else {
|
| - |
|
2378 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2379 |
}
|
| - |
|
2380 |
break;
|
| - |
|
2381 |
case 21: // VOI_SELLING_PRICE
|
| - |
|
2382 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2383 |
this.voiSellingPrice = iprot.readDouble();
|
| - |
|
2384 |
setVoiSellingPriceIsSet(true);
|
| - |
|
2385 |
} else {
|
| - |
|
2386 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2387 |
}
|
| - |
|
2388 |
break;
|
| - |
|
2389 |
case 22: // SUPPRESS_VOI_PRICE_FEED
|
| - |
|
2390 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
2391 |
this.suppressVoiPriceFeed = iprot.readBool();
|
| - |
|
2392 |
setSuppressVoiPriceFeedIsSet(true);
|
| - |
|
2393 |
} else {
|
| - |
|
2394 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2395 |
}
|
| - |
|
2396 |
break;
|
| - |
|
2397 |
case 23: // VOI_PRICE_LAST_UPDATED_ON
|
| - |
|
2398 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
2399 |
this.voiPriceLastUpdatedOn = iprot.readI64();
|
| - |
|
2400 |
setVoiPriceLastUpdatedOnIsSet(true);
|
| - |
|
2401 |
} else {
|
| - |
|
2402 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2403 |
}
|
| - |
|
2404 |
break;
|
| - |
|
2405 |
case 24: // VOI_SKU_AT_SNAPDEAL
|
| - |
|
2406 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| - |
|
2407 |
this.voiSkuAtSnapdeal = iprot.readString();
|
| - |
|
2408 |
} else {
|
| - |
|
2409 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2410 |
}
|
| - |
|
2411 |
break;
|
| - |
|
2412 |
case 25: // MINIMUM_POSSIBLE_SP_VOI
|
| - |
|
2413 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2414 |
this.minimumPossibleSpVoi = iprot.readDouble();
|
| - |
|
2415 |
setMinimumPossibleSpVoiIsSet(true);
|
| - |
|
2416 |
} else {
|
| - |
|
2417 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2418 |
}
|
| - |
|
2419 |
break;
|
| - |
|
2420 |
case 26: // MINIMUM_POSSIBLE_TP_VOI
|
| - |
|
2421 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2422 |
this.minimumPossibleTpVoi = iprot.readDouble();
|
| - |
|
2423 |
setMinimumPossibleTpVoiIsSet(true);
|
| - |
|
2424 |
} else {
|
| - |
|
2425 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2426 |
}
|
| - |
|
2427 |
break;
|
| - |
|
2428 |
case 27: // COURIER_COST_VOI
|
| - |
|
2429 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2430 |
this.courierCostVoi = iprot.readDouble();
|
| - |
|
2431 |
setCourierCostVoiIsSet(true);
|
| - |
|
2432 |
} else {
|
| - |
|
2433 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2434 |
}
|
| - |
|
2435 |
break;
|
| - |
|
2436 |
case 28: // SERVICE_TAX_VOI
|
| - |
|
2437 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2438 |
this.serviceTaxVoi = iprot.readDouble();
|
| - |
|
2439 |
setServiceTaxVoiIsSet(true);
|
| - |
|
2440 |
} else {
|
| - |
|
2441 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2442 |
}
|
| - |
|
2443 |
break;
|
| - |
|
2444 |
case 29: // TRANSFER_PRICE_VOI
|
| - |
|
2445 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2446 |
this.transferPriceVoi = iprot.readDouble();
|
| - |
|
2447 |
setTransferPriceVoiIsSet(true);
|
| - |
|
2448 |
} else {
|
| - |
|
2449 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2450 |
}
|
| - |
|
2451 |
break;
|
| - |
|
2452 |
case 30: // COMMISSION_VOI
|
| - |
|
2453 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2454 |
this.commissionVoi = iprot.readDouble();
|
| - |
|
2455 |
setCommissionVoiIsSet(true);
|
| - |
|
2456 |
} else {
|
| - |
|
2457 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2458 |
}
|
| - |
|
2459 |
break;
|
| 1625 |
default:
|
2460 |
default:
|
| 1626 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2461 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1627 |
}
|
2462 |
}
|
| 1628 |
iprot.readFieldEnd();
|
2463 |
iprot.readFieldEnd();
|
| 1629 |
}
|
2464 |
}
|
| Line 1702... |
Line 2537... |
| 1702 |
if (this.item != null) {
|
2537 |
if (this.item != null) {
|
| 1703 |
oprot.writeFieldBegin(ITEM_FIELD_DESC);
|
2538 |
oprot.writeFieldBegin(ITEM_FIELD_DESC);
|
| 1704 |
this.item.write(oprot);
|
2539 |
this.item.write(oprot);
|
| 1705 |
oprot.writeFieldEnd();
|
2540 |
oprot.writeFieldEnd();
|
| 1706 |
}
|
2541 |
}
|
| - |
|
2542 |
oprot.writeFieldBegin(IS_VOI_LISTED_FIELD_DESC);
|
| - |
|
2543 |
oprot.writeBool(this.isVoiListed);
|
| - |
|
2544 |
oprot.writeFieldEnd();
|
| - |
|
2545 |
oprot.writeFieldBegin(VOI_SELLING_PRICE_FIELD_DESC);
|
| - |
|
2546 |
oprot.writeDouble(this.voiSellingPrice);
|
| - |
|
2547 |
oprot.writeFieldEnd();
|
| - |
|
2548 |
oprot.writeFieldBegin(SUPPRESS_VOI_PRICE_FEED_FIELD_DESC);
|
| - |
|
2549 |
oprot.writeBool(this.suppressVoiPriceFeed);
|
| - |
|
2550 |
oprot.writeFieldEnd();
|
| - |
|
2551 |
oprot.writeFieldBegin(VOI_PRICE_LAST_UPDATED_ON_FIELD_DESC);
|
| - |
|
2552 |
oprot.writeI64(this.voiPriceLastUpdatedOn);
|
| - |
|
2553 |
oprot.writeFieldEnd();
|
| - |
|
2554 |
if (this.voiSkuAtSnapdeal != null) {
|
| - |
|
2555 |
oprot.writeFieldBegin(VOI_SKU_AT_SNAPDEAL_FIELD_DESC);
|
| - |
|
2556 |
oprot.writeString(this.voiSkuAtSnapdeal);
|
| - |
|
2557 |
oprot.writeFieldEnd();
|
| - |
|
2558 |
}
|
| - |
|
2559 |
oprot.writeFieldBegin(MINIMUM_POSSIBLE_SP_VOI_FIELD_DESC);
|
| - |
|
2560 |
oprot.writeDouble(this.minimumPossibleSpVoi);
|
| - |
|
2561 |
oprot.writeFieldEnd();
|
| - |
|
2562 |
oprot.writeFieldBegin(MINIMUM_POSSIBLE_TP_VOI_FIELD_DESC);
|
| - |
|
2563 |
oprot.writeDouble(this.minimumPossibleTpVoi);
|
| - |
|
2564 |
oprot.writeFieldEnd();
|
| - |
|
2565 |
oprot.writeFieldBegin(COURIER_COST_VOI_FIELD_DESC);
|
| - |
|
2566 |
oprot.writeDouble(this.courierCostVoi);
|
| - |
|
2567 |
oprot.writeFieldEnd();
|
| - |
|
2568 |
oprot.writeFieldBegin(SERVICE_TAX_VOI_FIELD_DESC);
|
| - |
|
2569 |
oprot.writeDouble(this.serviceTaxVoi);
|
| - |
|
2570 |
oprot.writeFieldEnd();
|
| - |
|
2571 |
oprot.writeFieldBegin(TRANSFER_PRICE_VOI_FIELD_DESC);
|
| - |
|
2572 |
oprot.writeDouble(this.transferPriceVoi);
|
| - |
|
2573 |
oprot.writeFieldEnd();
|
| - |
|
2574 |
oprot.writeFieldBegin(COMMISSION_VOI_FIELD_DESC);
|
| - |
|
2575 |
oprot.writeDouble(this.commissionVoi);
|
| - |
|
2576 |
oprot.writeFieldEnd();
|
| 1707 |
oprot.writeFieldStop();
|
2577 |
oprot.writeFieldStop();
|
| 1708 |
oprot.writeStructEnd();
|
2578 |
oprot.writeStructEnd();
|
| 1709 |
}
|
2579 |
}
|
| 1710 |
|
2580 |
|
| 1711 |
@Override
|
2581 |
@Override
|
| Line 1810... |
Line 2680... |
| 1810 |
sb.append("null");
|
2680 |
sb.append("null");
|
| 1811 |
} else {
|
2681 |
} else {
|
| 1812 |
sb.append(this.item);
|
2682 |
sb.append(this.item);
|
| 1813 |
}
|
2683 |
}
|
| 1814 |
first = false;
|
2684 |
first = false;
|
| - |
|
2685 |
if (!first) sb.append(", ");
|
| - |
|
2686 |
sb.append("isVoiListed:");
|
| - |
|
2687 |
sb.append(this.isVoiListed);
|
| - |
|
2688 |
first = false;
|
| - |
|
2689 |
if (!first) sb.append(", ");
|
| - |
|
2690 |
sb.append("voiSellingPrice:");
|
| - |
|
2691 |
sb.append(this.voiSellingPrice);
|
| - |
|
2692 |
first = false;
|
| - |
|
2693 |
if (!first) sb.append(", ");
|
| - |
|
2694 |
sb.append("suppressVoiPriceFeed:");
|
| - |
|
2695 |
sb.append(this.suppressVoiPriceFeed);
|
| - |
|
2696 |
first = false;
|
| - |
|
2697 |
if (!first) sb.append(", ");
|
| - |
|
2698 |
sb.append("voiPriceLastUpdatedOn:");
|
| - |
|
2699 |
sb.append(this.voiPriceLastUpdatedOn);
|
| - |
|
2700 |
first = false;
|
| - |
|
2701 |
if (!first) sb.append(", ");
|
| - |
|
2702 |
sb.append("voiSkuAtSnapdeal:");
|
| - |
|
2703 |
if (this.voiSkuAtSnapdeal == null) {
|
| - |
|
2704 |
sb.append("null");
|
| - |
|
2705 |
} else {
|
| - |
|
2706 |
sb.append(this.voiSkuAtSnapdeal);
|
| - |
|
2707 |
}
|
| - |
|
2708 |
first = false;
|
| - |
|
2709 |
if (!first) sb.append(", ");
|
| - |
|
2710 |
sb.append("minimumPossibleSpVoi:");
|
| - |
|
2711 |
sb.append(this.minimumPossibleSpVoi);
|
| - |
|
2712 |
first = false;
|
| - |
|
2713 |
if (!first) sb.append(", ");
|
| - |
|
2714 |
sb.append("minimumPossibleTpVoi:");
|
| - |
|
2715 |
sb.append(this.minimumPossibleTpVoi);
|
| - |
|
2716 |
first = false;
|
| - |
|
2717 |
if (!first) sb.append(", ");
|
| - |
|
2718 |
sb.append("courierCostVoi:");
|
| - |
|
2719 |
sb.append(this.courierCostVoi);
|
| - |
|
2720 |
first = false;
|
| - |
|
2721 |
if (!first) sb.append(", ");
|
| - |
|
2722 |
sb.append("serviceTaxVoi:");
|
| - |
|
2723 |
sb.append(this.serviceTaxVoi);
|
| - |
|
2724 |
first = false;
|
| - |
|
2725 |
if (!first) sb.append(", ");
|
| - |
|
2726 |
sb.append("transferPriceVoi:");
|
| - |
|
2727 |
sb.append(this.transferPriceVoi);
|
| - |
|
2728 |
first = false;
|
| - |
|
2729 |
if (!first) sb.append(", ");
|
| - |
|
2730 |
sb.append("commissionVoi:");
|
| - |
|
2731 |
sb.append(this.commissionVoi);
|
| - |
|
2732 |
first = false;
|
| 1815 |
sb.append(")");
|
2733 |
sb.append(")");
|
| 1816 |
return sb.toString();
|
2734 |
return sb.toString();
|
| 1817 |
}
|
2735 |
}
|
| 1818 |
|
2736 |
|
| 1819 |
public void validate() throws org.apache.thrift.TException {
|
2737 |
public void validate() throws org.apache.thrift.TException {
|