| 9242 |
kshitij.so |
1 |
/**
|
|
|
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
|
|
3 |
*
|
|
|
4 |
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
*/
|
|
|
6 |
package in.shop2020.model.v1.catalog;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
|
|
9 |
import java.util.ArrayList;
|
|
|
10 |
import java.util.Map;
|
|
|
11 |
import java.util.HashMap;
|
|
|
12 |
import java.util.EnumMap;
|
|
|
13 |
import java.util.Set;
|
|
|
14 |
import java.util.HashSet;
|
|
|
15 |
import java.util.EnumSet;
|
|
|
16 |
import java.util.Collections;
|
|
|
17 |
import java.util.BitSet;
|
|
|
18 |
import java.nio.ByteBuffer;
|
|
|
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
|
|
23 |
public class SnapdealItemDetails implements org.apache.thrift.TBase<SnapdealItemDetails, SnapdealItemDetails._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SnapdealItemDetails");
|
|
|
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);
|
|
|
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);
|
|
|
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 BRAND_FIELD_DESC = new org.apache.thrift.protocol.TField("brand", org.apache.thrift.protocol.TType.STRING, (short)10);
|
|
|
36 |
private static final org.apache.thrift.protocol.TField MODEL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("model_name", org.apache.thrift.protocol.TType.STRING, (short)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField MODEL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("model_number", org.apache.thrift.protocol.TType.STRING, (short)12);
|
|
|
38 |
private static final org.apache.thrift.protocol.TField COLOR_FIELD_DESC = new org.apache.thrift.protocol.TField("color", org.apache.thrift.protocol.TType.STRING, (short)13);
|
|
|
39 |
private static final org.apache.thrift.protocol.TField RISKY_FIELD_DESC = new org.apache.thrift.protocol.TField("risky", org.apache.thrift.protocol.TType.BOOL, (short)14);
|
|
|
40 |
private static final org.apache.thrift.protocol.TField ITEM_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemStatus", org.apache.thrift.protocol.TType.I32, (short)15);
|
|
|
41 |
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)16);
|
|
|
42 |
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)17);
|
|
|
43 |
private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)18);
|
|
|
44 |
private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)19);
|
|
|
45 |
private static final org.apache.thrift.protocol.TField WEBSITE_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("websiteSellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
|
| 9478 |
kshitij.so |
46 |
private static final org.apache.thrift.protocol.TField MAX_NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("maxNlc", org.apache.thrift.protocol.TType.DOUBLE, (short)21);
|
|
|
47 |
private static final org.apache.thrift.protocol.TField SKU_AT_SNAPDEAL_FIELD_DESC = new org.apache.thrift.protocol.TField("skuAtSnapdeal", org.apache.thrift.protocol.TType.STRING, (short)22);
|
| 9568 |
kshitij.so |
48 |
private static final org.apache.thrift.protocol.TField SUPC_FIELD_DESC = new org.apache.thrift.protocol.TField("supc", org.apache.thrift.protocol.TType.STRING, (short)23);
|
| 9724 |
kshitij.so |
49 |
private static final org.apache.thrift.protocol.TField LAST_UPDATED_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("lastUpdatedInventory", org.apache.thrift.protocol.TType.I64, (short)24);
|
|
|
50 |
private static final org.apache.thrift.protocol.TField LAST_UPDATED_INVENTORY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("lastUpdatedInventoryTimestamp", org.apache.thrift.protocol.TType.I64, (short)25);
|
|
|
51 |
private static final org.apache.thrift.protocol.TField SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingTime", org.apache.thrift.protocol.TType.I64, (short)26);
|
| 11096 |
kshitij.so |
52 |
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)27);
|
| 14780 |
manish.sha |
53 |
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)28);
|
| 9242 |
kshitij.so |
54 |
|
|
|
55 |
private long item_id; // required
|
|
|
56 |
private long warehouseId; // required
|
|
|
57 |
private double exceptionPrice; // required
|
|
|
58 |
private boolean isListedOnSnapdeal; // required
|
|
|
59 |
private double transferPrice; // required
|
|
|
60 |
private double sellingPrice; // required
|
|
|
61 |
private double courierCost; // required
|
|
|
62 |
private double commission; // required
|
|
|
63 |
private double serviceTax; // required
|
|
|
64 |
private String brand; // required
|
|
|
65 |
private String model_name; // required
|
|
|
66 |
private String model_number; // required
|
|
|
67 |
private String color; // required
|
|
|
68 |
private boolean risky; // required
|
|
|
69 |
private status itemStatus; // required
|
|
|
70 |
private boolean suppressPriceFeed; // required
|
|
|
71 |
private boolean suppressInventoryFeed; // required
|
|
|
72 |
private double weight; // required
|
|
|
73 |
private double mrp; // required
|
|
|
74 |
private double websiteSellingPrice; // required
|
| 9478 |
kshitij.so |
75 |
private double maxNlc; // required
|
| 9456 |
vikram.rag |
76 |
private String skuAtSnapdeal; // required
|
| 9568 |
kshitij.so |
77 |
private String supc; // required
|
| 9724 |
kshitij.so |
78 |
private long lastUpdatedInventory; // required
|
|
|
79 |
private long lastUpdatedInventoryTimestamp; // required
|
|
|
80 |
private long shippingTime; // required
|
| 11096 |
kshitij.so |
81 |
private double courierCostMarketplace; // required
|
| 14780 |
manish.sha |
82 |
private boolean isVoiListed; // required
|
| 9242 |
kshitij.so |
83 |
|
|
|
84 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
85 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
|
|
86 |
ITEM_ID((short)1, "item_id"),
|
|
|
87 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
|
|
88 |
EXCEPTION_PRICE((short)3, "exceptionPrice"),
|
|
|
89 |
IS_LISTED_ON_SNAPDEAL((short)4, "isListedOnSnapdeal"),
|
|
|
90 |
TRANSFER_PRICE((short)5, "transferPrice"),
|
|
|
91 |
SELLING_PRICE((short)6, "sellingPrice"),
|
|
|
92 |
COURIER_COST((short)7, "courierCost"),
|
|
|
93 |
COMMISSION((short)8, "commission"),
|
|
|
94 |
SERVICE_TAX((short)9, "serviceTax"),
|
|
|
95 |
BRAND((short)10, "brand"),
|
|
|
96 |
MODEL_NAME((short)11, "model_name"),
|
|
|
97 |
MODEL_NUMBER((short)12, "model_number"),
|
|
|
98 |
COLOR((short)13, "color"),
|
|
|
99 |
RISKY((short)14, "risky"),
|
|
|
100 |
/**
|
|
|
101 |
*
|
|
|
102 |
* @see status
|
|
|
103 |
*/
|
|
|
104 |
ITEM_STATUS((short)15, "itemStatus"),
|
|
|
105 |
SUPPRESS_PRICE_FEED((short)16, "suppressPriceFeed"),
|
|
|
106 |
SUPPRESS_INVENTORY_FEED((short)17, "suppressInventoryFeed"),
|
|
|
107 |
WEIGHT((short)18, "weight"),
|
|
|
108 |
MRP((short)19, "mrp"),
|
| 9456 |
vikram.rag |
109 |
WEBSITE_SELLING_PRICE((short)20, "websiteSellingPrice"),
|
| 9478 |
kshitij.so |
110 |
MAX_NLC((short)21, "maxNlc"),
|
| 9568 |
kshitij.so |
111 |
SKU_AT_SNAPDEAL((short)22, "skuAtSnapdeal"),
|
| 9724 |
kshitij.so |
112 |
SUPC((short)23, "supc"),
|
|
|
113 |
LAST_UPDATED_INVENTORY((short)24, "lastUpdatedInventory"),
|
|
|
114 |
LAST_UPDATED_INVENTORY_TIMESTAMP((short)25, "lastUpdatedInventoryTimestamp"),
|
| 11096 |
kshitij.so |
115 |
SHIPPING_TIME((short)26, "shippingTime"),
|
| 14780 |
manish.sha |
116 |
COURIER_COST_MARKETPLACE((short)27, "courierCostMarketplace"),
|
|
|
117 |
IS_VOI_LISTED((short)28, "isVoiListed");
|
| 9242 |
kshitij.so |
118 |
|
|
|
119 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
120 |
|
|
|
121 |
static {
|
|
|
122 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
123 |
byName.put(field.getFieldName(), field);
|
|
|
124 |
}
|
|
|
125 |
}
|
|
|
126 |
|
|
|
127 |
/**
|
|
|
128 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
129 |
*/
|
|
|
130 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
131 |
switch(fieldId) {
|
|
|
132 |
case 1: // ITEM_ID
|
|
|
133 |
return ITEM_ID;
|
|
|
134 |
case 2: // WAREHOUSE_ID
|
|
|
135 |
return WAREHOUSE_ID;
|
|
|
136 |
case 3: // EXCEPTION_PRICE
|
|
|
137 |
return EXCEPTION_PRICE;
|
|
|
138 |
case 4: // IS_LISTED_ON_SNAPDEAL
|
|
|
139 |
return IS_LISTED_ON_SNAPDEAL;
|
|
|
140 |
case 5: // TRANSFER_PRICE
|
|
|
141 |
return TRANSFER_PRICE;
|
|
|
142 |
case 6: // SELLING_PRICE
|
|
|
143 |
return SELLING_PRICE;
|
|
|
144 |
case 7: // COURIER_COST
|
|
|
145 |
return COURIER_COST;
|
|
|
146 |
case 8: // COMMISSION
|
|
|
147 |
return COMMISSION;
|
|
|
148 |
case 9: // SERVICE_TAX
|
|
|
149 |
return SERVICE_TAX;
|
|
|
150 |
case 10: // BRAND
|
|
|
151 |
return BRAND;
|
|
|
152 |
case 11: // MODEL_NAME
|
|
|
153 |
return MODEL_NAME;
|
|
|
154 |
case 12: // MODEL_NUMBER
|
|
|
155 |
return MODEL_NUMBER;
|
|
|
156 |
case 13: // COLOR
|
|
|
157 |
return COLOR;
|
|
|
158 |
case 14: // RISKY
|
|
|
159 |
return RISKY;
|
|
|
160 |
case 15: // ITEM_STATUS
|
|
|
161 |
return ITEM_STATUS;
|
|
|
162 |
case 16: // SUPPRESS_PRICE_FEED
|
|
|
163 |
return SUPPRESS_PRICE_FEED;
|
|
|
164 |
case 17: // SUPPRESS_INVENTORY_FEED
|
|
|
165 |
return SUPPRESS_INVENTORY_FEED;
|
|
|
166 |
case 18: // WEIGHT
|
|
|
167 |
return WEIGHT;
|
|
|
168 |
case 19: // MRP
|
|
|
169 |
return MRP;
|
|
|
170 |
case 20: // WEBSITE_SELLING_PRICE
|
|
|
171 |
return WEBSITE_SELLING_PRICE;
|
| 9478 |
kshitij.so |
172 |
case 21: // MAX_NLC
|
|
|
173 |
return MAX_NLC;
|
|
|
174 |
case 22: // SKU_AT_SNAPDEAL
|
| 9456 |
vikram.rag |
175 |
return SKU_AT_SNAPDEAL;
|
| 9568 |
kshitij.so |
176 |
case 23: // SUPC
|
|
|
177 |
return SUPC;
|
| 9724 |
kshitij.so |
178 |
case 24: // LAST_UPDATED_INVENTORY
|
|
|
179 |
return LAST_UPDATED_INVENTORY;
|
|
|
180 |
case 25: // LAST_UPDATED_INVENTORY_TIMESTAMP
|
|
|
181 |
return LAST_UPDATED_INVENTORY_TIMESTAMP;
|
|
|
182 |
case 26: // SHIPPING_TIME
|
|
|
183 |
return SHIPPING_TIME;
|
| 11096 |
kshitij.so |
184 |
case 27: // COURIER_COST_MARKETPLACE
|
|
|
185 |
return COURIER_COST_MARKETPLACE;
|
| 14780 |
manish.sha |
186 |
case 28: // IS_VOI_LISTED
|
|
|
187 |
return IS_VOI_LISTED;
|
| 9242 |
kshitij.so |
188 |
default:
|
|
|
189 |
return null;
|
|
|
190 |
}
|
|
|
191 |
}
|
|
|
192 |
|
|
|
193 |
/**
|
|
|
194 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
195 |
* if it is not found.
|
|
|
196 |
*/
|
|
|
197 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
198 |
_Fields fields = findByThriftId(fieldId);
|
|
|
199 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
200 |
return fields;
|
|
|
201 |
}
|
|
|
202 |
|
|
|
203 |
/**
|
|
|
204 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
205 |
*/
|
|
|
206 |
public static _Fields findByName(String name) {
|
|
|
207 |
return byName.get(name);
|
|
|
208 |
}
|
|
|
209 |
|
|
|
210 |
private final short _thriftId;
|
|
|
211 |
private final String _fieldName;
|
|
|
212 |
|
|
|
213 |
_Fields(short thriftId, String fieldName) {
|
|
|
214 |
_thriftId = thriftId;
|
|
|
215 |
_fieldName = fieldName;
|
|
|
216 |
}
|
|
|
217 |
|
|
|
218 |
public short getThriftFieldId() {
|
|
|
219 |
return _thriftId;
|
|
|
220 |
}
|
|
|
221 |
|
|
|
222 |
public String getFieldName() {
|
|
|
223 |
return _fieldName;
|
|
|
224 |
}
|
|
|
225 |
}
|
|
|
226 |
|
|
|
227 |
// isset id assignments
|
|
|
228 |
private static final int __ITEM_ID_ISSET_ID = 0;
|
|
|
229 |
private static final int __WAREHOUSEID_ISSET_ID = 1;
|
|
|
230 |
private static final int __EXCEPTIONPRICE_ISSET_ID = 2;
|
|
|
231 |
private static final int __ISLISTEDONSNAPDEAL_ISSET_ID = 3;
|
|
|
232 |
private static final int __TRANSFERPRICE_ISSET_ID = 4;
|
|
|
233 |
private static final int __SELLINGPRICE_ISSET_ID = 5;
|
|
|
234 |
private static final int __COURIERCOST_ISSET_ID = 6;
|
|
|
235 |
private static final int __COMMISSION_ISSET_ID = 7;
|
|
|
236 |
private static final int __SERVICETAX_ISSET_ID = 8;
|
|
|
237 |
private static final int __RISKY_ISSET_ID = 9;
|
|
|
238 |
private static final int __SUPPRESSPRICEFEED_ISSET_ID = 10;
|
|
|
239 |
private static final int __SUPPRESSINVENTORYFEED_ISSET_ID = 11;
|
|
|
240 |
private static final int __WEIGHT_ISSET_ID = 12;
|
|
|
241 |
private static final int __MRP_ISSET_ID = 13;
|
|
|
242 |
private static final int __WEBSITESELLINGPRICE_ISSET_ID = 14;
|
| 9478 |
kshitij.so |
243 |
private static final int __MAXNLC_ISSET_ID = 15;
|
| 9724 |
kshitij.so |
244 |
private static final int __LASTUPDATEDINVENTORY_ISSET_ID = 16;
|
|
|
245 |
private static final int __LASTUPDATEDINVENTORYTIMESTAMP_ISSET_ID = 17;
|
|
|
246 |
private static final int __SHIPPINGTIME_ISSET_ID = 18;
|
| 11096 |
kshitij.so |
247 |
private static final int __COURIERCOSTMARKETPLACE_ISSET_ID = 19;
|
| 14780 |
manish.sha |
248 |
private static final int __ISVOILISTED_ISSET_ID = 20;
|
|
|
249 |
private BitSet __isset_bit_vector = new BitSet(21);
|
| 9242 |
kshitij.so |
250 |
|
|
|
251 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
|
|
252 |
static {
|
|
|
253 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
254 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
255 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
256 |
tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
257 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
258 |
tmpMap.put(_Fields.EXCEPTION_PRICE, new org.apache.thrift.meta_data.FieldMetaData("exceptionPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
259 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
260 |
tmpMap.put(_Fields.IS_LISTED_ON_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("isListedOnSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
261 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
262 |
tmpMap.put(_Fields.TRANSFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("transferPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
263 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
264 |
tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
265 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
266 |
tmpMap.put(_Fields.COURIER_COST, new org.apache.thrift.meta_data.FieldMetaData("courierCost", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
267 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
268 |
tmpMap.put(_Fields.COMMISSION, new org.apache.thrift.meta_data.FieldMetaData("commission", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
269 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
270 |
tmpMap.put(_Fields.SERVICE_TAX, new org.apache.thrift.meta_data.FieldMetaData("serviceTax", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
271 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
272 |
tmpMap.put(_Fields.BRAND, new org.apache.thrift.meta_data.FieldMetaData("brand", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
273 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
274 |
tmpMap.put(_Fields.MODEL_NAME, new org.apache.thrift.meta_data.FieldMetaData("model_name", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
275 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
276 |
tmpMap.put(_Fields.MODEL_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("model_number", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
277 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
278 |
tmpMap.put(_Fields.COLOR, new org.apache.thrift.meta_data.FieldMetaData("color", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
279 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
280 |
tmpMap.put(_Fields.RISKY, new org.apache.thrift.meta_data.FieldMetaData("risky", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
281 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
282 |
tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
283 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
|
|
|
284 |
tmpMap.put(_Fields.SUPPRESS_PRICE_FEED, new org.apache.thrift.meta_data.FieldMetaData("suppressPriceFeed", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
285 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
286 |
tmpMap.put(_Fields.SUPPRESS_INVENTORY_FEED, new org.apache.thrift.meta_data.FieldMetaData("suppressInventoryFeed", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
287 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
288 |
tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
289 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
290 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
291 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
292 |
tmpMap.put(_Fields.WEBSITE_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("websiteSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
293 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 9478 |
kshitij.so |
294 |
tmpMap.put(_Fields.MAX_NLC, new org.apache.thrift.meta_data.FieldMetaData("maxNlc", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
295 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 9456 |
vikram.rag |
296 |
tmpMap.put(_Fields.SKU_AT_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("skuAtSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
297 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 9568 |
kshitij.so |
298 |
tmpMap.put(_Fields.SUPC, new org.apache.thrift.meta_data.FieldMetaData("supc", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
299 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 9724 |
kshitij.so |
300 |
tmpMap.put(_Fields.LAST_UPDATED_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("lastUpdatedInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
301 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
302 |
tmpMap.put(_Fields.LAST_UPDATED_INVENTORY_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("lastUpdatedInventoryTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
303 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
304 |
tmpMap.put(_Fields.SHIPPING_TIME, new org.apache.thrift.meta_data.FieldMetaData("shippingTime", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
305 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11096 |
kshitij.so |
306 |
tmpMap.put(_Fields.COURIER_COST_MARKETPLACE, new org.apache.thrift.meta_data.FieldMetaData("courierCostMarketplace", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
307 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 14780 |
manish.sha |
308 |
tmpMap.put(_Fields.IS_VOI_LISTED, new org.apache.thrift.meta_data.FieldMetaData("isVoiListed", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
309 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 9242 |
kshitij.so |
310 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
311 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItemDetails.class, metaDataMap);
|
|
|
312 |
}
|
|
|
313 |
|
|
|
314 |
public SnapdealItemDetails() {
|
|
|
315 |
}
|
|
|
316 |
|
|
|
317 |
public SnapdealItemDetails(
|
|
|
318 |
long item_id,
|
|
|
319 |
long warehouseId,
|
|
|
320 |
double exceptionPrice,
|
|
|
321 |
boolean isListedOnSnapdeal,
|
|
|
322 |
double transferPrice,
|
|
|
323 |
double sellingPrice,
|
|
|
324 |
double courierCost,
|
|
|
325 |
double commission,
|
|
|
326 |
double serviceTax,
|
|
|
327 |
String brand,
|
|
|
328 |
String model_name,
|
|
|
329 |
String model_number,
|
|
|
330 |
String color,
|
|
|
331 |
boolean risky,
|
|
|
332 |
status itemStatus,
|
|
|
333 |
boolean suppressPriceFeed,
|
|
|
334 |
boolean suppressInventoryFeed,
|
|
|
335 |
double weight,
|
|
|
336 |
double mrp,
|
| 9456 |
vikram.rag |
337 |
double websiteSellingPrice,
|
| 9478 |
kshitij.so |
338 |
double maxNlc,
|
| 9568 |
kshitij.so |
339 |
String skuAtSnapdeal,
|
| 9724 |
kshitij.so |
340 |
String supc,
|
|
|
341 |
long lastUpdatedInventory,
|
|
|
342 |
long lastUpdatedInventoryTimestamp,
|
| 11096 |
kshitij.so |
343 |
long shippingTime,
|
| 14780 |
manish.sha |
344 |
double courierCostMarketplace,
|
|
|
345 |
boolean isVoiListed)
|
| 9242 |
kshitij.so |
346 |
{
|
|
|
347 |
this();
|
|
|
348 |
this.item_id = item_id;
|
|
|
349 |
setItem_idIsSet(true);
|
|
|
350 |
this.warehouseId = warehouseId;
|
|
|
351 |
setWarehouseIdIsSet(true);
|
|
|
352 |
this.exceptionPrice = exceptionPrice;
|
|
|
353 |
setExceptionPriceIsSet(true);
|
|
|
354 |
this.isListedOnSnapdeal = isListedOnSnapdeal;
|
|
|
355 |
setIsListedOnSnapdealIsSet(true);
|
|
|
356 |
this.transferPrice = transferPrice;
|
|
|
357 |
setTransferPriceIsSet(true);
|
|
|
358 |
this.sellingPrice = sellingPrice;
|
|
|
359 |
setSellingPriceIsSet(true);
|
|
|
360 |
this.courierCost = courierCost;
|
|
|
361 |
setCourierCostIsSet(true);
|
|
|
362 |
this.commission = commission;
|
|
|
363 |
setCommissionIsSet(true);
|
|
|
364 |
this.serviceTax = serviceTax;
|
|
|
365 |
setServiceTaxIsSet(true);
|
|
|
366 |
this.brand = brand;
|
|
|
367 |
this.model_name = model_name;
|
|
|
368 |
this.model_number = model_number;
|
|
|
369 |
this.color = color;
|
|
|
370 |
this.risky = risky;
|
|
|
371 |
setRiskyIsSet(true);
|
|
|
372 |
this.itemStatus = itemStatus;
|
|
|
373 |
this.suppressPriceFeed = suppressPriceFeed;
|
|
|
374 |
setSuppressPriceFeedIsSet(true);
|
|
|
375 |
this.suppressInventoryFeed = suppressInventoryFeed;
|
|
|
376 |
setSuppressInventoryFeedIsSet(true);
|
|
|
377 |
this.weight = weight;
|
|
|
378 |
setWeightIsSet(true);
|
|
|
379 |
this.mrp = mrp;
|
|
|
380 |
setMrpIsSet(true);
|
|
|
381 |
this.websiteSellingPrice = websiteSellingPrice;
|
|
|
382 |
setWebsiteSellingPriceIsSet(true);
|
| 9478 |
kshitij.so |
383 |
this.maxNlc = maxNlc;
|
|
|
384 |
setMaxNlcIsSet(true);
|
| 9456 |
vikram.rag |
385 |
this.skuAtSnapdeal = skuAtSnapdeal;
|
| 9568 |
kshitij.so |
386 |
this.supc = supc;
|
| 9724 |
kshitij.so |
387 |
this.lastUpdatedInventory = lastUpdatedInventory;
|
|
|
388 |
setLastUpdatedInventoryIsSet(true);
|
|
|
389 |
this.lastUpdatedInventoryTimestamp = lastUpdatedInventoryTimestamp;
|
|
|
390 |
setLastUpdatedInventoryTimestampIsSet(true);
|
|
|
391 |
this.shippingTime = shippingTime;
|
|
|
392 |
setShippingTimeIsSet(true);
|
| 11096 |
kshitij.so |
393 |
this.courierCostMarketplace = courierCostMarketplace;
|
|
|
394 |
setCourierCostMarketplaceIsSet(true);
|
| 14780 |
manish.sha |
395 |
this.isVoiListed = isVoiListed;
|
|
|
396 |
setIsVoiListedIsSet(true);
|
| 9242 |
kshitij.so |
397 |
}
|
|
|
398 |
|
|
|
399 |
/**
|
|
|
400 |
* Performs a deep copy on <i>other</i>.
|
|
|
401 |
*/
|
|
|
402 |
public SnapdealItemDetails(SnapdealItemDetails other) {
|
|
|
403 |
__isset_bit_vector.clear();
|
|
|
404 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
405 |
this.item_id = other.item_id;
|
|
|
406 |
this.warehouseId = other.warehouseId;
|
|
|
407 |
this.exceptionPrice = other.exceptionPrice;
|
|
|
408 |
this.isListedOnSnapdeal = other.isListedOnSnapdeal;
|
|
|
409 |
this.transferPrice = other.transferPrice;
|
|
|
410 |
this.sellingPrice = other.sellingPrice;
|
|
|
411 |
this.courierCost = other.courierCost;
|
|
|
412 |
this.commission = other.commission;
|
|
|
413 |
this.serviceTax = other.serviceTax;
|
|
|
414 |
if (other.isSetBrand()) {
|
|
|
415 |
this.brand = other.brand;
|
|
|
416 |
}
|
|
|
417 |
if (other.isSetModel_name()) {
|
|
|
418 |
this.model_name = other.model_name;
|
|
|
419 |
}
|
|
|
420 |
if (other.isSetModel_number()) {
|
|
|
421 |
this.model_number = other.model_number;
|
|
|
422 |
}
|
|
|
423 |
if (other.isSetColor()) {
|
|
|
424 |
this.color = other.color;
|
|
|
425 |
}
|
|
|
426 |
this.risky = other.risky;
|
|
|
427 |
if (other.isSetItemStatus()) {
|
|
|
428 |
this.itemStatus = other.itemStatus;
|
|
|
429 |
}
|
|
|
430 |
this.suppressPriceFeed = other.suppressPriceFeed;
|
|
|
431 |
this.suppressInventoryFeed = other.suppressInventoryFeed;
|
|
|
432 |
this.weight = other.weight;
|
|
|
433 |
this.mrp = other.mrp;
|
|
|
434 |
this.websiteSellingPrice = other.websiteSellingPrice;
|
| 9478 |
kshitij.so |
435 |
this.maxNlc = other.maxNlc;
|
| 9456 |
vikram.rag |
436 |
if (other.isSetSkuAtSnapdeal()) {
|
|
|
437 |
this.skuAtSnapdeal = other.skuAtSnapdeal;
|
|
|
438 |
}
|
| 9568 |
kshitij.so |
439 |
if (other.isSetSupc()) {
|
|
|
440 |
this.supc = other.supc;
|
|
|
441 |
}
|
| 9724 |
kshitij.so |
442 |
this.lastUpdatedInventory = other.lastUpdatedInventory;
|
|
|
443 |
this.lastUpdatedInventoryTimestamp = other.lastUpdatedInventoryTimestamp;
|
|
|
444 |
this.shippingTime = other.shippingTime;
|
| 11096 |
kshitij.so |
445 |
this.courierCostMarketplace = other.courierCostMarketplace;
|
| 14780 |
manish.sha |
446 |
this.isVoiListed = other.isVoiListed;
|
| 9242 |
kshitij.so |
447 |
}
|
|
|
448 |
|
|
|
449 |
public SnapdealItemDetails deepCopy() {
|
|
|
450 |
return new SnapdealItemDetails(this);
|
|
|
451 |
}
|
|
|
452 |
|
|
|
453 |
@Override
|
|
|
454 |
public void clear() {
|
|
|
455 |
setItem_idIsSet(false);
|
|
|
456 |
this.item_id = 0;
|
|
|
457 |
setWarehouseIdIsSet(false);
|
|
|
458 |
this.warehouseId = 0;
|
|
|
459 |
setExceptionPriceIsSet(false);
|
|
|
460 |
this.exceptionPrice = 0.0;
|
|
|
461 |
setIsListedOnSnapdealIsSet(false);
|
|
|
462 |
this.isListedOnSnapdeal = false;
|
|
|
463 |
setTransferPriceIsSet(false);
|
|
|
464 |
this.transferPrice = 0.0;
|
|
|
465 |
setSellingPriceIsSet(false);
|
|
|
466 |
this.sellingPrice = 0.0;
|
|
|
467 |
setCourierCostIsSet(false);
|
|
|
468 |
this.courierCost = 0.0;
|
|
|
469 |
setCommissionIsSet(false);
|
|
|
470 |
this.commission = 0.0;
|
|
|
471 |
setServiceTaxIsSet(false);
|
|
|
472 |
this.serviceTax = 0.0;
|
|
|
473 |
this.brand = null;
|
|
|
474 |
this.model_name = null;
|
|
|
475 |
this.model_number = null;
|
|
|
476 |
this.color = null;
|
|
|
477 |
setRiskyIsSet(false);
|
|
|
478 |
this.risky = false;
|
|
|
479 |
this.itemStatus = null;
|
|
|
480 |
setSuppressPriceFeedIsSet(false);
|
|
|
481 |
this.suppressPriceFeed = false;
|
|
|
482 |
setSuppressInventoryFeedIsSet(false);
|
|
|
483 |
this.suppressInventoryFeed = false;
|
|
|
484 |
setWeightIsSet(false);
|
|
|
485 |
this.weight = 0.0;
|
|
|
486 |
setMrpIsSet(false);
|
|
|
487 |
this.mrp = 0.0;
|
|
|
488 |
setWebsiteSellingPriceIsSet(false);
|
|
|
489 |
this.websiteSellingPrice = 0.0;
|
| 9478 |
kshitij.so |
490 |
setMaxNlcIsSet(false);
|
|
|
491 |
this.maxNlc = 0.0;
|
| 9456 |
vikram.rag |
492 |
this.skuAtSnapdeal = null;
|
| 9568 |
kshitij.so |
493 |
this.supc = null;
|
| 9724 |
kshitij.so |
494 |
setLastUpdatedInventoryIsSet(false);
|
|
|
495 |
this.lastUpdatedInventory = 0;
|
|
|
496 |
setLastUpdatedInventoryTimestampIsSet(false);
|
|
|
497 |
this.lastUpdatedInventoryTimestamp = 0;
|
|
|
498 |
setShippingTimeIsSet(false);
|
|
|
499 |
this.shippingTime = 0;
|
| 11096 |
kshitij.so |
500 |
setCourierCostMarketplaceIsSet(false);
|
|
|
501 |
this.courierCostMarketplace = 0.0;
|
| 14780 |
manish.sha |
502 |
setIsVoiListedIsSet(false);
|
|
|
503 |
this.isVoiListed = false;
|
| 9242 |
kshitij.so |
504 |
}
|
|
|
505 |
|
|
|
506 |
public long getItem_id() {
|
|
|
507 |
return this.item_id;
|
|
|
508 |
}
|
|
|
509 |
|
|
|
510 |
public void setItem_id(long item_id) {
|
|
|
511 |
this.item_id = item_id;
|
|
|
512 |
setItem_idIsSet(true);
|
|
|
513 |
}
|
|
|
514 |
|
|
|
515 |
public void unsetItem_id() {
|
|
|
516 |
__isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
|
|
|
517 |
}
|
|
|
518 |
|
|
|
519 |
/** Returns true if field item_id is set (has been assigned a value) and false otherwise */
|
|
|
520 |
public boolean isSetItem_id() {
|
|
|
521 |
return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
|
|
|
522 |
}
|
|
|
523 |
|
|
|
524 |
public void setItem_idIsSet(boolean value) {
|
|
|
525 |
__isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
|
|
|
526 |
}
|
|
|
527 |
|
|
|
528 |
public long getWarehouseId() {
|
|
|
529 |
return this.warehouseId;
|
|
|
530 |
}
|
|
|
531 |
|
|
|
532 |
public void setWarehouseId(long warehouseId) {
|
|
|
533 |
this.warehouseId = warehouseId;
|
|
|
534 |
setWarehouseIdIsSet(true);
|
|
|
535 |
}
|
|
|
536 |
|
|
|
537 |
public void unsetWarehouseId() {
|
|
|
538 |
__isset_bit_vector.clear(__WAREHOUSEID_ISSET_ID);
|
|
|
539 |
}
|
|
|
540 |
|
|
|
541 |
/** Returns true if field warehouseId is set (has been assigned a value) and false otherwise */
|
|
|
542 |
public boolean isSetWarehouseId() {
|
|
|
543 |
return __isset_bit_vector.get(__WAREHOUSEID_ISSET_ID);
|
|
|
544 |
}
|
|
|
545 |
|
|
|
546 |
public void setWarehouseIdIsSet(boolean value) {
|
|
|
547 |
__isset_bit_vector.set(__WAREHOUSEID_ISSET_ID, value);
|
|
|
548 |
}
|
|
|
549 |
|
|
|
550 |
public double getExceptionPrice() {
|
|
|
551 |
return this.exceptionPrice;
|
|
|
552 |
}
|
|
|
553 |
|
|
|
554 |
public void setExceptionPrice(double exceptionPrice) {
|
|
|
555 |
this.exceptionPrice = exceptionPrice;
|
|
|
556 |
setExceptionPriceIsSet(true);
|
|
|
557 |
}
|
|
|
558 |
|
|
|
559 |
public void unsetExceptionPrice() {
|
|
|
560 |
__isset_bit_vector.clear(__EXCEPTIONPRICE_ISSET_ID);
|
|
|
561 |
}
|
|
|
562 |
|
|
|
563 |
/** Returns true if field exceptionPrice is set (has been assigned a value) and false otherwise */
|
|
|
564 |
public boolean isSetExceptionPrice() {
|
|
|
565 |
return __isset_bit_vector.get(__EXCEPTIONPRICE_ISSET_ID);
|
|
|
566 |
}
|
|
|
567 |
|
|
|
568 |
public void setExceptionPriceIsSet(boolean value) {
|
|
|
569 |
__isset_bit_vector.set(__EXCEPTIONPRICE_ISSET_ID, value);
|
|
|
570 |
}
|
|
|
571 |
|
|
|
572 |
public boolean isIsListedOnSnapdeal() {
|
|
|
573 |
return this.isListedOnSnapdeal;
|
|
|
574 |
}
|
|
|
575 |
|
|
|
576 |
public void setIsListedOnSnapdeal(boolean isListedOnSnapdeal) {
|
|
|
577 |
this.isListedOnSnapdeal = isListedOnSnapdeal;
|
|
|
578 |
setIsListedOnSnapdealIsSet(true);
|
|
|
579 |
}
|
|
|
580 |
|
|
|
581 |
public void unsetIsListedOnSnapdeal() {
|
|
|
582 |
__isset_bit_vector.clear(__ISLISTEDONSNAPDEAL_ISSET_ID);
|
|
|
583 |
}
|
|
|
584 |
|
|
|
585 |
/** Returns true if field isListedOnSnapdeal is set (has been assigned a value) and false otherwise */
|
|
|
586 |
public boolean isSetIsListedOnSnapdeal() {
|
|
|
587 |
return __isset_bit_vector.get(__ISLISTEDONSNAPDEAL_ISSET_ID);
|
|
|
588 |
}
|
|
|
589 |
|
|
|
590 |
public void setIsListedOnSnapdealIsSet(boolean value) {
|
|
|
591 |
__isset_bit_vector.set(__ISLISTEDONSNAPDEAL_ISSET_ID, value);
|
|
|
592 |
}
|
|
|
593 |
|
|
|
594 |
public double getTransferPrice() {
|
|
|
595 |
return this.transferPrice;
|
|
|
596 |
}
|
|
|
597 |
|
|
|
598 |
public void setTransferPrice(double transferPrice) {
|
|
|
599 |
this.transferPrice = transferPrice;
|
|
|
600 |
setTransferPriceIsSet(true);
|
|
|
601 |
}
|
|
|
602 |
|
|
|
603 |
public void unsetTransferPrice() {
|
|
|
604 |
__isset_bit_vector.clear(__TRANSFERPRICE_ISSET_ID);
|
|
|
605 |
}
|
|
|
606 |
|
|
|
607 |
/** Returns true if field transferPrice is set (has been assigned a value) and false otherwise */
|
|
|
608 |
public boolean isSetTransferPrice() {
|
|
|
609 |
return __isset_bit_vector.get(__TRANSFERPRICE_ISSET_ID);
|
|
|
610 |
}
|
|
|
611 |
|
|
|
612 |
public void setTransferPriceIsSet(boolean value) {
|
|
|
613 |
__isset_bit_vector.set(__TRANSFERPRICE_ISSET_ID, value);
|
|
|
614 |
}
|
|
|
615 |
|
|
|
616 |
public double getSellingPrice() {
|
|
|
617 |
return this.sellingPrice;
|
|
|
618 |
}
|
|
|
619 |
|
|
|
620 |
public void setSellingPrice(double sellingPrice) {
|
|
|
621 |
this.sellingPrice = sellingPrice;
|
|
|
622 |
setSellingPriceIsSet(true);
|
|
|
623 |
}
|
|
|
624 |
|
|
|
625 |
public void unsetSellingPrice() {
|
|
|
626 |
__isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
|
|
|
627 |
}
|
|
|
628 |
|
|
|
629 |
/** Returns true if field sellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
630 |
public boolean isSetSellingPrice() {
|
|
|
631 |
return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
|
|
|
632 |
}
|
|
|
633 |
|
|
|
634 |
public void setSellingPriceIsSet(boolean value) {
|
|
|
635 |
__isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
|
|
|
636 |
}
|
|
|
637 |
|
|
|
638 |
public double getCourierCost() {
|
|
|
639 |
return this.courierCost;
|
|
|
640 |
}
|
|
|
641 |
|
|
|
642 |
public void setCourierCost(double courierCost) {
|
|
|
643 |
this.courierCost = courierCost;
|
|
|
644 |
setCourierCostIsSet(true);
|
|
|
645 |
}
|
|
|
646 |
|
|
|
647 |
public void unsetCourierCost() {
|
|
|
648 |
__isset_bit_vector.clear(__COURIERCOST_ISSET_ID);
|
|
|
649 |
}
|
|
|
650 |
|
|
|
651 |
/** Returns true if field courierCost is set (has been assigned a value) and false otherwise */
|
|
|
652 |
public boolean isSetCourierCost() {
|
|
|
653 |
return __isset_bit_vector.get(__COURIERCOST_ISSET_ID);
|
|
|
654 |
}
|
|
|
655 |
|
|
|
656 |
public void setCourierCostIsSet(boolean value) {
|
|
|
657 |
__isset_bit_vector.set(__COURIERCOST_ISSET_ID, value);
|
|
|
658 |
}
|
|
|
659 |
|
|
|
660 |
public double getCommission() {
|
|
|
661 |
return this.commission;
|
|
|
662 |
}
|
|
|
663 |
|
|
|
664 |
public void setCommission(double commission) {
|
|
|
665 |
this.commission = commission;
|
|
|
666 |
setCommissionIsSet(true);
|
|
|
667 |
}
|
|
|
668 |
|
|
|
669 |
public void unsetCommission() {
|
|
|
670 |
__isset_bit_vector.clear(__COMMISSION_ISSET_ID);
|
|
|
671 |
}
|
|
|
672 |
|
|
|
673 |
/** Returns true if field commission is set (has been assigned a value) and false otherwise */
|
|
|
674 |
public boolean isSetCommission() {
|
|
|
675 |
return __isset_bit_vector.get(__COMMISSION_ISSET_ID);
|
|
|
676 |
}
|
|
|
677 |
|
|
|
678 |
public void setCommissionIsSet(boolean value) {
|
|
|
679 |
__isset_bit_vector.set(__COMMISSION_ISSET_ID, value);
|
|
|
680 |
}
|
|
|
681 |
|
|
|
682 |
public double getServiceTax() {
|
|
|
683 |
return this.serviceTax;
|
|
|
684 |
}
|
|
|
685 |
|
|
|
686 |
public void setServiceTax(double serviceTax) {
|
|
|
687 |
this.serviceTax = serviceTax;
|
|
|
688 |
setServiceTaxIsSet(true);
|
|
|
689 |
}
|
|
|
690 |
|
|
|
691 |
public void unsetServiceTax() {
|
|
|
692 |
__isset_bit_vector.clear(__SERVICETAX_ISSET_ID);
|
|
|
693 |
}
|
|
|
694 |
|
|
|
695 |
/** Returns true if field serviceTax is set (has been assigned a value) and false otherwise */
|
|
|
696 |
public boolean isSetServiceTax() {
|
|
|
697 |
return __isset_bit_vector.get(__SERVICETAX_ISSET_ID);
|
|
|
698 |
}
|
|
|
699 |
|
|
|
700 |
public void setServiceTaxIsSet(boolean value) {
|
|
|
701 |
__isset_bit_vector.set(__SERVICETAX_ISSET_ID, value);
|
|
|
702 |
}
|
|
|
703 |
|
|
|
704 |
public String getBrand() {
|
|
|
705 |
return this.brand;
|
|
|
706 |
}
|
|
|
707 |
|
|
|
708 |
public void setBrand(String brand) {
|
|
|
709 |
this.brand = brand;
|
|
|
710 |
}
|
|
|
711 |
|
|
|
712 |
public void unsetBrand() {
|
|
|
713 |
this.brand = null;
|
|
|
714 |
}
|
|
|
715 |
|
|
|
716 |
/** Returns true if field brand is set (has been assigned a value) and false otherwise */
|
|
|
717 |
public boolean isSetBrand() {
|
|
|
718 |
return this.brand != null;
|
|
|
719 |
}
|
|
|
720 |
|
|
|
721 |
public void setBrandIsSet(boolean value) {
|
|
|
722 |
if (!value) {
|
|
|
723 |
this.brand = null;
|
|
|
724 |
}
|
|
|
725 |
}
|
|
|
726 |
|
|
|
727 |
public String getModel_name() {
|
|
|
728 |
return this.model_name;
|
|
|
729 |
}
|
|
|
730 |
|
|
|
731 |
public void setModel_name(String model_name) {
|
|
|
732 |
this.model_name = model_name;
|
|
|
733 |
}
|
|
|
734 |
|
|
|
735 |
public void unsetModel_name() {
|
|
|
736 |
this.model_name = null;
|
|
|
737 |
}
|
|
|
738 |
|
|
|
739 |
/** Returns true if field model_name is set (has been assigned a value) and false otherwise */
|
|
|
740 |
public boolean isSetModel_name() {
|
|
|
741 |
return this.model_name != null;
|
|
|
742 |
}
|
|
|
743 |
|
|
|
744 |
public void setModel_nameIsSet(boolean value) {
|
|
|
745 |
if (!value) {
|
|
|
746 |
this.model_name = null;
|
|
|
747 |
}
|
|
|
748 |
}
|
|
|
749 |
|
|
|
750 |
public String getModel_number() {
|
|
|
751 |
return this.model_number;
|
|
|
752 |
}
|
|
|
753 |
|
|
|
754 |
public void setModel_number(String model_number) {
|
|
|
755 |
this.model_number = model_number;
|
|
|
756 |
}
|
|
|
757 |
|
|
|
758 |
public void unsetModel_number() {
|
|
|
759 |
this.model_number = null;
|
|
|
760 |
}
|
|
|
761 |
|
|
|
762 |
/** Returns true if field model_number is set (has been assigned a value) and false otherwise */
|
|
|
763 |
public boolean isSetModel_number() {
|
|
|
764 |
return this.model_number != null;
|
|
|
765 |
}
|
|
|
766 |
|
|
|
767 |
public void setModel_numberIsSet(boolean value) {
|
|
|
768 |
if (!value) {
|
|
|
769 |
this.model_number = null;
|
|
|
770 |
}
|
|
|
771 |
}
|
|
|
772 |
|
|
|
773 |
public String getColor() {
|
|
|
774 |
return this.color;
|
|
|
775 |
}
|
|
|
776 |
|
|
|
777 |
public void setColor(String color) {
|
|
|
778 |
this.color = color;
|
|
|
779 |
}
|
|
|
780 |
|
|
|
781 |
public void unsetColor() {
|
|
|
782 |
this.color = null;
|
|
|
783 |
}
|
|
|
784 |
|
|
|
785 |
/** Returns true if field color is set (has been assigned a value) and false otherwise */
|
|
|
786 |
public boolean isSetColor() {
|
|
|
787 |
return this.color != null;
|
|
|
788 |
}
|
|
|
789 |
|
|
|
790 |
public void setColorIsSet(boolean value) {
|
|
|
791 |
if (!value) {
|
|
|
792 |
this.color = null;
|
|
|
793 |
}
|
|
|
794 |
}
|
|
|
795 |
|
|
|
796 |
public boolean isRisky() {
|
|
|
797 |
return this.risky;
|
|
|
798 |
}
|
|
|
799 |
|
|
|
800 |
public void setRisky(boolean risky) {
|
|
|
801 |
this.risky = risky;
|
|
|
802 |
setRiskyIsSet(true);
|
|
|
803 |
}
|
|
|
804 |
|
|
|
805 |
public void unsetRisky() {
|
|
|
806 |
__isset_bit_vector.clear(__RISKY_ISSET_ID);
|
|
|
807 |
}
|
|
|
808 |
|
|
|
809 |
/** Returns true if field risky is set (has been assigned a value) and false otherwise */
|
|
|
810 |
public boolean isSetRisky() {
|
|
|
811 |
return __isset_bit_vector.get(__RISKY_ISSET_ID);
|
|
|
812 |
}
|
|
|
813 |
|
|
|
814 |
public void setRiskyIsSet(boolean value) {
|
|
|
815 |
__isset_bit_vector.set(__RISKY_ISSET_ID, value);
|
|
|
816 |
}
|
|
|
817 |
|
|
|
818 |
/**
|
|
|
819 |
*
|
|
|
820 |
* @see status
|
|
|
821 |
*/
|
|
|
822 |
public status getItemStatus() {
|
|
|
823 |
return this.itemStatus;
|
|
|
824 |
}
|
|
|
825 |
|
|
|
826 |
/**
|
|
|
827 |
*
|
|
|
828 |
* @see status
|
|
|
829 |
*/
|
|
|
830 |
public void setItemStatus(status itemStatus) {
|
|
|
831 |
this.itemStatus = itemStatus;
|
|
|
832 |
}
|
|
|
833 |
|
|
|
834 |
public void unsetItemStatus() {
|
|
|
835 |
this.itemStatus = null;
|
|
|
836 |
}
|
|
|
837 |
|
|
|
838 |
/** Returns true if field itemStatus is set (has been assigned a value) and false otherwise */
|
|
|
839 |
public boolean isSetItemStatus() {
|
|
|
840 |
return this.itemStatus != null;
|
|
|
841 |
}
|
|
|
842 |
|
|
|
843 |
public void setItemStatusIsSet(boolean value) {
|
|
|
844 |
if (!value) {
|
|
|
845 |
this.itemStatus = null;
|
|
|
846 |
}
|
|
|
847 |
}
|
|
|
848 |
|
|
|
849 |
public boolean isSuppressPriceFeed() {
|
|
|
850 |
return this.suppressPriceFeed;
|
|
|
851 |
}
|
|
|
852 |
|
|
|
853 |
public void setSuppressPriceFeed(boolean suppressPriceFeed) {
|
|
|
854 |
this.suppressPriceFeed = suppressPriceFeed;
|
|
|
855 |
setSuppressPriceFeedIsSet(true);
|
|
|
856 |
}
|
|
|
857 |
|
|
|
858 |
public void unsetSuppressPriceFeed() {
|
|
|
859 |
__isset_bit_vector.clear(__SUPPRESSPRICEFEED_ISSET_ID);
|
|
|
860 |
}
|
|
|
861 |
|
|
|
862 |
/** Returns true if field suppressPriceFeed is set (has been assigned a value) and false otherwise */
|
|
|
863 |
public boolean isSetSuppressPriceFeed() {
|
|
|
864 |
return __isset_bit_vector.get(__SUPPRESSPRICEFEED_ISSET_ID);
|
|
|
865 |
}
|
|
|
866 |
|
|
|
867 |
public void setSuppressPriceFeedIsSet(boolean value) {
|
|
|
868 |
__isset_bit_vector.set(__SUPPRESSPRICEFEED_ISSET_ID, value);
|
|
|
869 |
}
|
|
|
870 |
|
|
|
871 |
public boolean isSuppressInventoryFeed() {
|
|
|
872 |
return this.suppressInventoryFeed;
|
|
|
873 |
}
|
|
|
874 |
|
|
|
875 |
public void setSuppressInventoryFeed(boolean suppressInventoryFeed) {
|
|
|
876 |
this.suppressInventoryFeed = suppressInventoryFeed;
|
|
|
877 |
setSuppressInventoryFeedIsSet(true);
|
|
|
878 |
}
|
|
|
879 |
|
|
|
880 |
public void unsetSuppressInventoryFeed() {
|
|
|
881 |
__isset_bit_vector.clear(__SUPPRESSINVENTORYFEED_ISSET_ID);
|
|
|
882 |
}
|
|
|
883 |
|
|
|
884 |
/** Returns true if field suppressInventoryFeed is set (has been assigned a value) and false otherwise */
|
|
|
885 |
public boolean isSetSuppressInventoryFeed() {
|
|
|
886 |
return __isset_bit_vector.get(__SUPPRESSINVENTORYFEED_ISSET_ID);
|
|
|
887 |
}
|
|
|
888 |
|
|
|
889 |
public void setSuppressInventoryFeedIsSet(boolean value) {
|
|
|
890 |
__isset_bit_vector.set(__SUPPRESSINVENTORYFEED_ISSET_ID, value);
|
|
|
891 |
}
|
|
|
892 |
|
|
|
893 |
public double getWeight() {
|
|
|
894 |
return this.weight;
|
|
|
895 |
}
|
|
|
896 |
|
|
|
897 |
public void setWeight(double weight) {
|
|
|
898 |
this.weight = weight;
|
|
|
899 |
setWeightIsSet(true);
|
|
|
900 |
}
|
|
|
901 |
|
|
|
902 |
public void unsetWeight() {
|
|
|
903 |
__isset_bit_vector.clear(__WEIGHT_ISSET_ID);
|
|
|
904 |
}
|
|
|
905 |
|
|
|
906 |
/** Returns true if field weight is set (has been assigned a value) and false otherwise */
|
|
|
907 |
public boolean isSetWeight() {
|
|
|
908 |
return __isset_bit_vector.get(__WEIGHT_ISSET_ID);
|
|
|
909 |
}
|
|
|
910 |
|
|
|
911 |
public void setWeightIsSet(boolean value) {
|
|
|
912 |
__isset_bit_vector.set(__WEIGHT_ISSET_ID, value);
|
|
|
913 |
}
|
|
|
914 |
|
|
|
915 |
public double getMrp() {
|
|
|
916 |
return this.mrp;
|
|
|
917 |
}
|
|
|
918 |
|
|
|
919 |
public void setMrp(double mrp) {
|
|
|
920 |
this.mrp = mrp;
|
|
|
921 |
setMrpIsSet(true);
|
|
|
922 |
}
|
|
|
923 |
|
|
|
924 |
public void unsetMrp() {
|
|
|
925 |
__isset_bit_vector.clear(__MRP_ISSET_ID);
|
|
|
926 |
}
|
|
|
927 |
|
|
|
928 |
/** Returns true if field mrp is set (has been assigned a value) and false otherwise */
|
|
|
929 |
public boolean isSetMrp() {
|
|
|
930 |
return __isset_bit_vector.get(__MRP_ISSET_ID);
|
|
|
931 |
}
|
|
|
932 |
|
|
|
933 |
public void setMrpIsSet(boolean value) {
|
|
|
934 |
__isset_bit_vector.set(__MRP_ISSET_ID, value);
|
|
|
935 |
}
|
|
|
936 |
|
|
|
937 |
public double getWebsiteSellingPrice() {
|
|
|
938 |
return this.websiteSellingPrice;
|
|
|
939 |
}
|
|
|
940 |
|
|
|
941 |
public void setWebsiteSellingPrice(double websiteSellingPrice) {
|
|
|
942 |
this.websiteSellingPrice = websiteSellingPrice;
|
|
|
943 |
setWebsiteSellingPriceIsSet(true);
|
|
|
944 |
}
|
|
|
945 |
|
|
|
946 |
public void unsetWebsiteSellingPrice() {
|
|
|
947 |
__isset_bit_vector.clear(__WEBSITESELLINGPRICE_ISSET_ID);
|
|
|
948 |
}
|
|
|
949 |
|
|
|
950 |
/** Returns true if field websiteSellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
951 |
public boolean isSetWebsiteSellingPrice() {
|
|
|
952 |
return __isset_bit_vector.get(__WEBSITESELLINGPRICE_ISSET_ID);
|
|
|
953 |
}
|
|
|
954 |
|
|
|
955 |
public void setWebsiteSellingPriceIsSet(boolean value) {
|
|
|
956 |
__isset_bit_vector.set(__WEBSITESELLINGPRICE_ISSET_ID, value);
|
|
|
957 |
}
|
|
|
958 |
|
| 9478 |
kshitij.so |
959 |
public double getMaxNlc() {
|
|
|
960 |
return this.maxNlc;
|
|
|
961 |
}
|
|
|
962 |
|
|
|
963 |
public void setMaxNlc(double maxNlc) {
|
|
|
964 |
this.maxNlc = maxNlc;
|
|
|
965 |
setMaxNlcIsSet(true);
|
|
|
966 |
}
|
|
|
967 |
|
|
|
968 |
public void unsetMaxNlc() {
|
|
|
969 |
__isset_bit_vector.clear(__MAXNLC_ISSET_ID);
|
|
|
970 |
}
|
|
|
971 |
|
|
|
972 |
/** Returns true if field maxNlc is set (has been assigned a value) and false otherwise */
|
|
|
973 |
public boolean isSetMaxNlc() {
|
|
|
974 |
return __isset_bit_vector.get(__MAXNLC_ISSET_ID);
|
|
|
975 |
}
|
|
|
976 |
|
|
|
977 |
public void setMaxNlcIsSet(boolean value) {
|
|
|
978 |
__isset_bit_vector.set(__MAXNLC_ISSET_ID, value);
|
|
|
979 |
}
|
|
|
980 |
|
| 9456 |
vikram.rag |
981 |
public String getSkuAtSnapdeal() {
|
|
|
982 |
return this.skuAtSnapdeal;
|
|
|
983 |
}
|
|
|
984 |
|
|
|
985 |
public void setSkuAtSnapdeal(String skuAtSnapdeal) {
|
|
|
986 |
this.skuAtSnapdeal = skuAtSnapdeal;
|
|
|
987 |
}
|
|
|
988 |
|
|
|
989 |
public void unsetSkuAtSnapdeal() {
|
|
|
990 |
this.skuAtSnapdeal = null;
|
|
|
991 |
}
|
|
|
992 |
|
|
|
993 |
/** Returns true if field skuAtSnapdeal is set (has been assigned a value) and false otherwise */
|
|
|
994 |
public boolean isSetSkuAtSnapdeal() {
|
|
|
995 |
return this.skuAtSnapdeal != null;
|
|
|
996 |
}
|
|
|
997 |
|
|
|
998 |
public void setSkuAtSnapdealIsSet(boolean value) {
|
|
|
999 |
if (!value) {
|
|
|
1000 |
this.skuAtSnapdeal = null;
|
|
|
1001 |
}
|
|
|
1002 |
}
|
|
|
1003 |
|
| 9568 |
kshitij.so |
1004 |
public String getSupc() {
|
|
|
1005 |
return this.supc;
|
|
|
1006 |
}
|
|
|
1007 |
|
|
|
1008 |
public void setSupc(String supc) {
|
|
|
1009 |
this.supc = supc;
|
|
|
1010 |
}
|
|
|
1011 |
|
|
|
1012 |
public void unsetSupc() {
|
|
|
1013 |
this.supc = null;
|
|
|
1014 |
}
|
|
|
1015 |
|
|
|
1016 |
/** Returns true if field supc is set (has been assigned a value) and false otherwise */
|
|
|
1017 |
public boolean isSetSupc() {
|
|
|
1018 |
return this.supc != null;
|
|
|
1019 |
}
|
|
|
1020 |
|
|
|
1021 |
public void setSupcIsSet(boolean value) {
|
|
|
1022 |
if (!value) {
|
|
|
1023 |
this.supc = null;
|
|
|
1024 |
}
|
|
|
1025 |
}
|
|
|
1026 |
|
| 9724 |
kshitij.so |
1027 |
public long getLastUpdatedInventory() {
|
|
|
1028 |
return this.lastUpdatedInventory;
|
|
|
1029 |
}
|
|
|
1030 |
|
|
|
1031 |
public void setLastUpdatedInventory(long lastUpdatedInventory) {
|
|
|
1032 |
this.lastUpdatedInventory = lastUpdatedInventory;
|
|
|
1033 |
setLastUpdatedInventoryIsSet(true);
|
|
|
1034 |
}
|
|
|
1035 |
|
|
|
1036 |
public void unsetLastUpdatedInventory() {
|
|
|
1037 |
__isset_bit_vector.clear(__LASTUPDATEDINVENTORY_ISSET_ID);
|
|
|
1038 |
}
|
|
|
1039 |
|
|
|
1040 |
/** Returns true if field lastUpdatedInventory is set (has been assigned a value) and false otherwise */
|
|
|
1041 |
public boolean isSetLastUpdatedInventory() {
|
|
|
1042 |
return __isset_bit_vector.get(__LASTUPDATEDINVENTORY_ISSET_ID);
|
|
|
1043 |
}
|
|
|
1044 |
|
|
|
1045 |
public void setLastUpdatedInventoryIsSet(boolean value) {
|
|
|
1046 |
__isset_bit_vector.set(__LASTUPDATEDINVENTORY_ISSET_ID, value);
|
|
|
1047 |
}
|
|
|
1048 |
|
|
|
1049 |
public long getLastUpdatedInventoryTimestamp() {
|
|
|
1050 |
return this.lastUpdatedInventoryTimestamp;
|
|
|
1051 |
}
|
|
|
1052 |
|
|
|
1053 |
public void setLastUpdatedInventoryTimestamp(long lastUpdatedInventoryTimestamp) {
|
|
|
1054 |
this.lastUpdatedInventoryTimestamp = lastUpdatedInventoryTimestamp;
|
|
|
1055 |
setLastUpdatedInventoryTimestampIsSet(true);
|
|
|
1056 |
}
|
|
|
1057 |
|
|
|
1058 |
public void unsetLastUpdatedInventoryTimestamp() {
|
|
|
1059 |
__isset_bit_vector.clear(__LASTUPDATEDINVENTORYTIMESTAMP_ISSET_ID);
|
|
|
1060 |
}
|
|
|
1061 |
|
|
|
1062 |
/** Returns true if field lastUpdatedInventoryTimestamp is set (has been assigned a value) and false otherwise */
|
|
|
1063 |
public boolean isSetLastUpdatedInventoryTimestamp() {
|
|
|
1064 |
return __isset_bit_vector.get(__LASTUPDATEDINVENTORYTIMESTAMP_ISSET_ID);
|
|
|
1065 |
}
|
|
|
1066 |
|
|
|
1067 |
public void setLastUpdatedInventoryTimestampIsSet(boolean value) {
|
|
|
1068 |
__isset_bit_vector.set(__LASTUPDATEDINVENTORYTIMESTAMP_ISSET_ID, value);
|
|
|
1069 |
}
|
|
|
1070 |
|
|
|
1071 |
public long getShippingTime() {
|
|
|
1072 |
return this.shippingTime;
|
|
|
1073 |
}
|
|
|
1074 |
|
|
|
1075 |
public void setShippingTime(long shippingTime) {
|
|
|
1076 |
this.shippingTime = shippingTime;
|
|
|
1077 |
setShippingTimeIsSet(true);
|
|
|
1078 |
}
|
|
|
1079 |
|
|
|
1080 |
public void unsetShippingTime() {
|
|
|
1081 |
__isset_bit_vector.clear(__SHIPPINGTIME_ISSET_ID);
|
|
|
1082 |
}
|
|
|
1083 |
|
|
|
1084 |
/** Returns true if field shippingTime is set (has been assigned a value) and false otherwise */
|
|
|
1085 |
public boolean isSetShippingTime() {
|
|
|
1086 |
return __isset_bit_vector.get(__SHIPPINGTIME_ISSET_ID);
|
|
|
1087 |
}
|
|
|
1088 |
|
|
|
1089 |
public void setShippingTimeIsSet(boolean value) {
|
|
|
1090 |
__isset_bit_vector.set(__SHIPPINGTIME_ISSET_ID, value);
|
|
|
1091 |
}
|
|
|
1092 |
|
| 11096 |
kshitij.so |
1093 |
public double getCourierCostMarketplace() {
|
|
|
1094 |
return this.courierCostMarketplace;
|
|
|
1095 |
}
|
|
|
1096 |
|
|
|
1097 |
public void setCourierCostMarketplace(double courierCostMarketplace) {
|
|
|
1098 |
this.courierCostMarketplace = courierCostMarketplace;
|
|
|
1099 |
setCourierCostMarketplaceIsSet(true);
|
|
|
1100 |
}
|
|
|
1101 |
|
|
|
1102 |
public void unsetCourierCostMarketplace() {
|
|
|
1103 |
__isset_bit_vector.clear(__COURIERCOSTMARKETPLACE_ISSET_ID);
|
|
|
1104 |
}
|
|
|
1105 |
|
|
|
1106 |
/** Returns true if field courierCostMarketplace is set (has been assigned a value) and false otherwise */
|
|
|
1107 |
public boolean isSetCourierCostMarketplace() {
|
|
|
1108 |
return __isset_bit_vector.get(__COURIERCOSTMARKETPLACE_ISSET_ID);
|
|
|
1109 |
}
|
|
|
1110 |
|
|
|
1111 |
public void setCourierCostMarketplaceIsSet(boolean value) {
|
|
|
1112 |
__isset_bit_vector.set(__COURIERCOSTMARKETPLACE_ISSET_ID, value);
|
|
|
1113 |
}
|
|
|
1114 |
|
| 14780 |
manish.sha |
1115 |
public boolean isIsVoiListed() {
|
|
|
1116 |
return this.isVoiListed;
|
|
|
1117 |
}
|
|
|
1118 |
|
|
|
1119 |
public void setIsVoiListed(boolean isVoiListed) {
|
|
|
1120 |
this.isVoiListed = isVoiListed;
|
|
|
1121 |
setIsVoiListedIsSet(true);
|
|
|
1122 |
}
|
|
|
1123 |
|
|
|
1124 |
public void unsetIsVoiListed() {
|
|
|
1125 |
__isset_bit_vector.clear(__ISVOILISTED_ISSET_ID);
|
|
|
1126 |
}
|
|
|
1127 |
|
|
|
1128 |
/** Returns true if field isVoiListed is set (has been assigned a value) and false otherwise */
|
|
|
1129 |
public boolean isSetIsVoiListed() {
|
|
|
1130 |
return __isset_bit_vector.get(__ISVOILISTED_ISSET_ID);
|
|
|
1131 |
}
|
|
|
1132 |
|
|
|
1133 |
public void setIsVoiListedIsSet(boolean value) {
|
|
|
1134 |
__isset_bit_vector.set(__ISVOILISTED_ISSET_ID, value);
|
|
|
1135 |
}
|
|
|
1136 |
|
| 9242 |
kshitij.so |
1137 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
1138 |
switch (field) {
|
|
|
1139 |
case ITEM_ID:
|
|
|
1140 |
if (value == null) {
|
|
|
1141 |
unsetItem_id();
|
|
|
1142 |
} else {
|
|
|
1143 |
setItem_id((Long)value);
|
|
|
1144 |
}
|
|
|
1145 |
break;
|
|
|
1146 |
|
|
|
1147 |
case WAREHOUSE_ID:
|
|
|
1148 |
if (value == null) {
|
|
|
1149 |
unsetWarehouseId();
|
|
|
1150 |
} else {
|
|
|
1151 |
setWarehouseId((Long)value);
|
|
|
1152 |
}
|
|
|
1153 |
break;
|
|
|
1154 |
|
|
|
1155 |
case EXCEPTION_PRICE:
|
|
|
1156 |
if (value == null) {
|
|
|
1157 |
unsetExceptionPrice();
|
|
|
1158 |
} else {
|
|
|
1159 |
setExceptionPrice((Double)value);
|
|
|
1160 |
}
|
|
|
1161 |
break;
|
|
|
1162 |
|
|
|
1163 |
case IS_LISTED_ON_SNAPDEAL:
|
|
|
1164 |
if (value == null) {
|
|
|
1165 |
unsetIsListedOnSnapdeal();
|
|
|
1166 |
} else {
|
|
|
1167 |
setIsListedOnSnapdeal((Boolean)value);
|
|
|
1168 |
}
|
|
|
1169 |
break;
|
|
|
1170 |
|
|
|
1171 |
case TRANSFER_PRICE:
|
|
|
1172 |
if (value == null) {
|
|
|
1173 |
unsetTransferPrice();
|
|
|
1174 |
} else {
|
|
|
1175 |
setTransferPrice((Double)value);
|
|
|
1176 |
}
|
|
|
1177 |
break;
|
|
|
1178 |
|
|
|
1179 |
case SELLING_PRICE:
|
|
|
1180 |
if (value == null) {
|
|
|
1181 |
unsetSellingPrice();
|
|
|
1182 |
} else {
|
|
|
1183 |
setSellingPrice((Double)value);
|
|
|
1184 |
}
|
|
|
1185 |
break;
|
|
|
1186 |
|
|
|
1187 |
case COURIER_COST:
|
|
|
1188 |
if (value == null) {
|
|
|
1189 |
unsetCourierCost();
|
|
|
1190 |
} else {
|
|
|
1191 |
setCourierCost((Double)value);
|
|
|
1192 |
}
|
|
|
1193 |
break;
|
|
|
1194 |
|
|
|
1195 |
case COMMISSION:
|
|
|
1196 |
if (value == null) {
|
|
|
1197 |
unsetCommission();
|
|
|
1198 |
} else {
|
|
|
1199 |
setCommission((Double)value);
|
|
|
1200 |
}
|
|
|
1201 |
break;
|
|
|
1202 |
|
|
|
1203 |
case SERVICE_TAX:
|
|
|
1204 |
if (value == null) {
|
|
|
1205 |
unsetServiceTax();
|
|
|
1206 |
} else {
|
|
|
1207 |
setServiceTax((Double)value);
|
|
|
1208 |
}
|
|
|
1209 |
break;
|
|
|
1210 |
|
|
|
1211 |
case BRAND:
|
|
|
1212 |
if (value == null) {
|
|
|
1213 |
unsetBrand();
|
|
|
1214 |
} else {
|
|
|
1215 |
setBrand((String)value);
|
|
|
1216 |
}
|
|
|
1217 |
break;
|
|
|
1218 |
|
|
|
1219 |
case MODEL_NAME:
|
|
|
1220 |
if (value == null) {
|
|
|
1221 |
unsetModel_name();
|
|
|
1222 |
} else {
|
|
|
1223 |
setModel_name((String)value);
|
|
|
1224 |
}
|
|
|
1225 |
break;
|
|
|
1226 |
|
|
|
1227 |
case MODEL_NUMBER:
|
|
|
1228 |
if (value == null) {
|
|
|
1229 |
unsetModel_number();
|
|
|
1230 |
} else {
|
|
|
1231 |
setModel_number((String)value);
|
|
|
1232 |
}
|
|
|
1233 |
break;
|
|
|
1234 |
|
|
|
1235 |
case COLOR:
|
|
|
1236 |
if (value == null) {
|
|
|
1237 |
unsetColor();
|
|
|
1238 |
} else {
|
|
|
1239 |
setColor((String)value);
|
|
|
1240 |
}
|
|
|
1241 |
break;
|
|
|
1242 |
|
|
|
1243 |
case RISKY:
|
|
|
1244 |
if (value == null) {
|
|
|
1245 |
unsetRisky();
|
|
|
1246 |
} else {
|
|
|
1247 |
setRisky((Boolean)value);
|
|
|
1248 |
}
|
|
|
1249 |
break;
|
|
|
1250 |
|
|
|
1251 |
case ITEM_STATUS:
|
|
|
1252 |
if (value == null) {
|
|
|
1253 |
unsetItemStatus();
|
|
|
1254 |
} else {
|
|
|
1255 |
setItemStatus((status)value);
|
|
|
1256 |
}
|
|
|
1257 |
break;
|
|
|
1258 |
|
|
|
1259 |
case SUPPRESS_PRICE_FEED:
|
|
|
1260 |
if (value == null) {
|
|
|
1261 |
unsetSuppressPriceFeed();
|
|
|
1262 |
} else {
|
|
|
1263 |
setSuppressPriceFeed((Boolean)value);
|
|
|
1264 |
}
|
|
|
1265 |
break;
|
|
|
1266 |
|
|
|
1267 |
case SUPPRESS_INVENTORY_FEED:
|
|
|
1268 |
if (value == null) {
|
|
|
1269 |
unsetSuppressInventoryFeed();
|
|
|
1270 |
} else {
|
|
|
1271 |
setSuppressInventoryFeed((Boolean)value);
|
|
|
1272 |
}
|
|
|
1273 |
break;
|
|
|
1274 |
|
|
|
1275 |
case WEIGHT:
|
|
|
1276 |
if (value == null) {
|
|
|
1277 |
unsetWeight();
|
|
|
1278 |
} else {
|
|
|
1279 |
setWeight((Double)value);
|
|
|
1280 |
}
|
|
|
1281 |
break;
|
|
|
1282 |
|
|
|
1283 |
case MRP:
|
|
|
1284 |
if (value == null) {
|
|
|
1285 |
unsetMrp();
|
|
|
1286 |
} else {
|
|
|
1287 |
setMrp((Double)value);
|
|
|
1288 |
}
|
|
|
1289 |
break;
|
|
|
1290 |
|
|
|
1291 |
case WEBSITE_SELLING_PRICE:
|
|
|
1292 |
if (value == null) {
|
|
|
1293 |
unsetWebsiteSellingPrice();
|
|
|
1294 |
} else {
|
|
|
1295 |
setWebsiteSellingPrice((Double)value);
|
|
|
1296 |
}
|
|
|
1297 |
break;
|
|
|
1298 |
|
| 9478 |
kshitij.so |
1299 |
case MAX_NLC:
|
|
|
1300 |
if (value == null) {
|
|
|
1301 |
unsetMaxNlc();
|
|
|
1302 |
} else {
|
|
|
1303 |
setMaxNlc((Double)value);
|
|
|
1304 |
}
|
|
|
1305 |
break;
|
|
|
1306 |
|
| 9456 |
vikram.rag |
1307 |
case SKU_AT_SNAPDEAL:
|
|
|
1308 |
if (value == null) {
|
|
|
1309 |
unsetSkuAtSnapdeal();
|
|
|
1310 |
} else {
|
|
|
1311 |
setSkuAtSnapdeal((String)value);
|
|
|
1312 |
}
|
|
|
1313 |
break;
|
|
|
1314 |
|
| 9568 |
kshitij.so |
1315 |
case SUPC:
|
|
|
1316 |
if (value == null) {
|
|
|
1317 |
unsetSupc();
|
|
|
1318 |
} else {
|
|
|
1319 |
setSupc((String)value);
|
|
|
1320 |
}
|
|
|
1321 |
break;
|
|
|
1322 |
|
| 9724 |
kshitij.so |
1323 |
case LAST_UPDATED_INVENTORY:
|
|
|
1324 |
if (value == null) {
|
|
|
1325 |
unsetLastUpdatedInventory();
|
|
|
1326 |
} else {
|
|
|
1327 |
setLastUpdatedInventory((Long)value);
|
|
|
1328 |
}
|
|
|
1329 |
break;
|
|
|
1330 |
|
|
|
1331 |
case LAST_UPDATED_INVENTORY_TIMESTAMP:
|
|
|
1332 |
if (value == null) {
|
|
|
1333 |
unsetLastUpdatedInventoryTimestamp();
|
|
|
1334 |
} else {
|
|
|
1335 |
setLastUpdatedInventoryTimestamp((Long)value);
|
|
|
1336 |
}
|
|
|
1337 |
break;
|
|
|
1338 |
|
|
|
1339 |
case SHIPPING_TIME:
|
|
|
1340 |
if (value == null) {
|
|
|
1341 |
unsetShippingTime();
|
|
|
1342 |
} else {
|
|
|
1343 |
setShippingTime((Long)value);
|
|
|
1344 |
}
|
|
|
1345 |
break;
|
|
|
1346 |
|
| 11096 |
kshitij.so |
1347 |
case COURIER_COST_MARKETPLACE:
|
|
|
1348 |
if (value == null) {
|
|
|
1349 |
unsetCourierCostMarketplace();
|
|
|
1350 |
} else {
|
|
|
1351 |
setCourierCostMarketplace((Double)value);
|
|
|
1352 |
}
|
|
|
1353 |
break;
|
|
|
1354 |
|
| 14780 |
manish.sha |
1355 |
case IS_VOI_LISTED:
|
|
|
1356 |
if (value == null) {
|
|
|
1357 |
unsetIsVoiListed();
|
|
|
1358 |
} else {
|
|
|
1359 |
setIsVoiListed((Boolean)value);
|
|
|
1360 |
}
|
|
|
1361 |
break;
|
|
|
1362 |
|
| 9242 |
kshitij.so |
1363 |
}
|
|
|
1364 |
}
|
|
|
1365 |
|
|
|
1366 |
public Object getFieldValue(_Fields field) {
|
|
|
1367 |
switch (field) {
|
|
|
1368 |
case ITEM_ID:
|
|
|
1369 |
return Long.valueOf(getItem_id());
|
|
|
1370 |
|
|
|
1371 |
case WAREHOUSE_ID:
|
|
|
1372 |
return Long.valueOf(getWarehouseId());
|
|
|
1373 |
|
|
|
1374 |
case EXCEPTION_PRICE:
|
|
|
1375 |
return Double.valueOf(getExceptionPrice());
|
|
|
1376 |
|
|
|
1377 |
case IS_LISTED_ON_SNAPDEAL:
|
|
|
1378 |
return Boolean.valueOf(isIsListedOnSnapdeal());
|
|
|
1379 |
|
|
|
1380 |
case TRANSFER_PRICE:
|
|
|
1381 |
return Double.valueOf(getTransferPrice());
|
|
|
1382 |
|
|
|
1383 |
case SELLING_PRICE:
|
|
|
1384 |
return Double.valueOf(getSellingPrice());
|
|
|
1385 |
|
|
|
1386 |
case COURIER_COST:
|
|
|
1387 |
return Double.valueOf(getCourierCost());
|
|
|
1388 |
|
|
|
1389 |
case COMMISSION:
|
|
|
1390 |
return Double.valueOf(getCommission());
|
|
|
1391 |
|
|
|
1392 |
case SERVICE_TAX:
|
|
|
1393 |
return Double.valueOf(getServiceTax());
|
|
|
1394 |
|
|
|
1395 |
case BRAND:
|
|
|
1396 |
return getBrand();
|
|
|
1397 |
|
|
|
1398 |
case MODEL_NAME:
|
|
|
1399 |
return getModel_name();
|
|
|
1400 |
|
|
|
1401 |
case MODEL_NUMBER:
|
|
|
1402 |
return getModel_number();
|
|
|
1403 |
|
|
|
1404 |
case COLOR:
|
|
|
1405 |
return getColor();
|
|
|
1406 |
|
|
|
1407 |
case RISKY:
|
|
|
1408 |
return Boolean.valueOf(isRisky());
|
|
|
1409 |
|
|
|
1410 |
case ITEM_STATUS:
|
|
|
1411 |
return getItemStatus();
|
|
|
1412 |
|
|
|
1413 |
case SUPPRESS_PRICE_FEED:
|
|
|
1414 |
return Boolean.valueOf(isSuppressPriceFeed());
|
|
|
1415 |
|
|
|
1416 |
case SUPPRESS_INVENTORY_FEED:
|
|
|
1417 |
return Boolean.valueOf(isSuppressInventoryFeed());
|
|
|
1418 |
|
|
|
1419 |
case WEIGHT:
|
|
|
1420 |
return Double.valueOf(getWeight());
|
|
|
1421 |
|
|
|
1422 |
case MRP:
|
|
|
1423 |
return Double.valueOf(getMrp());
|
|
|
1424 |
|
|
|
1425 |
case WEBSITE_SELLING_PRICE:
|
|
|
1426 |
return Double.valueOf(getWebsiteSellingPrice());
|
|
|
1427 |
|
| 9478 |
kshitij.so |
1428 |
case MAX_NLC:
|
|
|
1429 |
return Double.valueOf(getMaxNlc());
|
|
|
1430 |
|
| 9456 |
vikram.rag |
1431 |
case SKU_AT_SNAPDEAL:
|
|
|
1432 |
return getSkuAtSnapdeal();
|
|
|
1433 |
|
| 9568 |
kshitij.so |
1434 |
case SUPC:
|
|
|
1435 |
return getSupc();
|
|
|
1436 |
|
| 9724 |
kshitij.so |
1437 |
case LAST_UPDATED_INVENTORY:
|
|
|
1438 |
return Long.valueOf(getLastUpdatedInventory());
|
|
|
1439 |
|
|
|
1440 |
case LAST_UPDATED_INVENTORY_TIMESTAMP:
|
|
|
1441 |
return Long.valueOf(getLastUpdatedInventoryTimestamp());
|
|
|
1442 |
|
|
|
1443 |
case SHIPPING_TIME:
|
|
|
1444 |
return Long.valueOf(getShippingTime());
|
|
|
1445 |
|
| 11096 |
kshitij.so |
1446 |
case COURIER_COST_MARKETPLACE:
|
|
|
1447 |
return Double.valueOf(getCourierCostMarketplace());
|
|
|
1448 |
|
| 14780 |
manish.sha |
1449 |
case IS_VOI_LISTED:
|
|
|
1450 |
return Boolean.valueOf(isIsVoiListed());
|
|
|
1451 |
|
| 9242 |
kshitij.so |
1452 |
}
|
|
|
1453 |
throw new IllegalStateException();
|
|
|
1454 |
}
|
|
|
1455 |
|
|
|
1456 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
1457 |
public boolean isSet(_Fields field) {
|
|
|
1458 |
if (field == null) {
|
|
|
1459 |
throw new IllegalArgumentException();
|
|
|
1460 |
}
|
|
|
1461 |
|
|
|
1462 |
switch (field) {
|
|
|
1463 |
case ITEM_ID:
|
|
|
1464 |
return isSetItem_id();
|
|
|
1465 |
case WAREHOUSE_ID:
|
|
|
1466 |
return isSetWarehouseId();
|
|
|
1467 |
case EXCEPTION_PRICE:
|
|
|
1468 |
return isSetExceptionPrice();
|
|
|
1469 |
case IS_LISTED_ON_SNAPDEAL:
|
|
|
1470 |
return isSetIsListedOnSnapdeal();
|
|
|
1471 |
case TRANSFER_PRICE:
|
|
|
1472 |
return isSetTransferPrice();
|
|
|
1473 |
case SELLING_PRICE:
|
|
|
1474 |
return isSetSellingPrice();
|
|
|
1475 |
case COURIER_COST:
|
|
|
1476 |
return isSetCourierCost();
|
|
|
1477 |
case COMMISSION:
|
|
|
1478 |
return isSetCommission();
|
|
|
1479 |
case SERVICE_TAX:
|
|
|
1480 |
return isSetServiceTax();
|
|
|
1481 |
case BRAND:
|
|
|
1482 |
return isSetBrand();
|
|
|
1483 |
case MODEL_NAME:
|
|
|
1484 |
return isSetModel_name();
|
|
|
1485 |
case MODEL_NUMBER:
|
|
|
1486 |
return isSetModel_number();
|
|
|
1487 |
case COLOR:
|
|
|
1488 |
return isSetColor();
|
|
|
1489 |
case RISKY:
|
|
|
1490 |
return isSetRisky();
|
|
|
1491 |
case ITEM_STATUS:
|
|
|
1492 |
return isSetItemStatus();
|
|
|
1493 |
case SUPPRESS_PRICE_FEED:
|
|
|
1494 |
return isSetSuppressPriceFeed();
|
|
|
1495 |
case SUPPRESS_INVENTORY_FEED:
|
|
|
1496 |
return isSetSuppressInventoryFeed();
|
|
|
1497 |
case WEIGHT:
|
|
|
1498 |
return isSetWeight();
|
|
|
1499 |
case MRP:
|
|
|
1500 |
return isSetMrp();
|
|
|
1501 |
case WEBSITE_SELLING_PRICE:
|
|
|
1502 |
return isSetWebsiteSellingPrice();
|
| 9478 |
kshitij.so |
1503 |
case MAX_NLC:
|
|
|
1504 |
return isSetMaxNlc();
|
| 9456 |
vikram.rag |
1505 |
case SKU_AT_SNAPDEAL:
|
|
|
1506 |
return isSetSkuAtSnapdeal();
|
| 9568 |
kshitij.so |
1507 |
case SUPC:
|
|
|
1508 |
return isSetSupc();
|
| 9724 |
kshitij.so |
1509 |
case LAST_UPDATED_INVENTORY:
|
|
|
1510 |
return isSetLastUpdatedInventory();
|
|
|
1511 |
case LAST_UPDATED_INVENTORY_TIMESTAMP:
|
|
|
1512 |
return isSetLastUpdatedInventoryTimestamp();
|
|
|
1513 |
case SHIPPING_TIME:
|
|
|
1514 |
return isSetShippingTime();
|
| 11096 |
kshitij.so |
1515 |
case COURIER_COST_MARKETPLACE:
|
|
|
1516 |
return isSetCourierCostMarketplace();
|
| 14780 |
manish.sha |
1517 |
case IS_VOI_LISTED:
|
|
|
1518 |
return isSetIsVoiListed();
|
| 9242 |
kshitij.so |
1519 |
}
|
|
|
1520 |
throw new IllegalStateException();
|
|
|
1521 |
}
|
|
|
1522 |
|
|
|
1523 |
@Override
|
|
|
1524 |
public boolean equals(Object that) {
|
|
|
1525 |
if (that == null)
|
|
|
1526 |
return false;
|
|
|
1527 |
if (that instanceof SnapdealItemDetails)
|
|
|
1528 |
return this.equals((SnapdealItemDetails)that);
|
|
|
1529 |
return false;
|
|
|
1530 |
}
|
|
|
1531 |
|
|
|
1532 |
public boolean equals(SnapdealItemDetails that) {
|
|
|
1533 |
if (that == null)
|
|
|
1534 |
return false;
|
|
|
1535 |
|
|
|
1536 |
boolean this_present_item_id = true;
|
|
|
1537 |
boolean that_present_item_id = true;
|
|
|
1538 |
if (this_present_item_id || that_present_item_id) {
|
|
|
1539 |
if (!(this_present_item_id && that_present_item_id))
|
|
|
1540 |
return false;
|
|
|
1541 |
if (this.item_id != that.item_id)
|
|
|
1542 |
return false;
|
|
|
1543 |
}
|
|
|
1544 |
|
|
|
1545 |
boolean this_present_warehouseId = true;
|
|
|
1546 |
boolean that_present_warehouseId = true;
|
|
|
1547 |
if (this_present_warehouseId || that_present_warehouseId) {
|
|
|
1548 |
if (!(this_present_warehouseId && that_present_warehouseId))
|
|
|
1549 |
return false;
|
|
|
1550 |
if (this.warehouseId != that.warehouseId)
|
|
|
1551 |
return false;
|
|
|
1552 |
}
|
|
|
1553 |
|
|
|
1554 |
boolean this_present_exceptionPrice = true;
|
|
|
1555 |
boolean that_present_exceptionPrice = true;
|
|
|
1556 |
if (this_present_exceptionPrice || that_present_exceptionPrice) {
|
|
|
1557 |
if (!(this_present_exceptionPrice && that_present_exceptionPrice))
|
|
|
1558 |
return false;
|
|
|
1559 |
if (this.exceptionPrice != that.exceptionPrice)
|
|
|
1560 |
return false;
|
|
|
1561 |
}
|
|
|
1562 |
|
|
|
1563 |
boolean this_present_isListedOnSnapdeal = true;
|
|
|
1564 |
boolean that_present_isListedOnSnapdeal = true;
|
|
|
1565 |
if (this_present_isListedOnSnapdeal || that_present_isListedOnSnapdeal) {
|
|
|
1566 |
if (!(this_present_isListedOnSnapdeal && that_present_isListedOnSnapdeal))
|
|
|
1567 |
return false;
|
|
|
1568 |
if (this.isListedOnSnapdeal != that.isListedOnSnapdeal)
|
|
|
1569 |
return false;
|
|
|
1570 |
}
|
|
|
1571 |
|
|
|
1572 |
boolean this_present_transferPrice = true;
|
|
|
1573 |
boolean that_present_transferPrice = true;
|
|
|
1574 |
if (this_present_transferPrice || that_present_transferPrice) {
|
|
|
1575 |
if (!(this_present_transferPrice && that_present_transferPrice))
|
|
|
1576 |
return false;
|
|
|
1577 |
if (this.transferPrice != that.transferPrice)
|
|
|
1578 |
return false;
|
|
|
1579 |
}
|
|
|
1580 |
|
|
|
1581 |
boolean this_present_sellingPrice = true;
|
|
|
1582 |
boolean that_present_sellingPrice = true;
|
|
|
1583 |
if (this_present_sellingPrice || that_present_sellingPrice) {
|
|
|
1584 |
if (!(this_present_sellingPrice && that_present_sellingPrice))
|
|
|
1585 |
return false;
|
|
|
1586 |
if (this.sellingPrice != that.sellingPrice)
|
|
|
1587 |
return false;
|
|
|
1588 |
}
|
|
|
1589 |
|
|
|
1590 |
boolean this_present_courierCost = true;
|
|
|
1591 |
boolean that_present_courierCost = true;
|
|
|
1592 |
if (this_present_courierCost || that_present_courierCost) {
|
|
|
1593 |
if (!(this_present_courierCost && that_present_courierCost))
|
|
|
1594 |
return false;
|
|
|
1595 |
if (this.courierCost != that.courierCost)
|
|
|
1596 |
return false;
|
|
|
1597 |
}
|
|
|
1598 |
|
|
|
1599 |
boolean this_present_commission = true;
|
|
|
1600 |
boolean that_present_commission = true;
|
|
|
1601 |
if (this_present_commission || that_present_commission) {
|
|
|
1602 |
if (!(this_present_commission && that_present_commission))
|
|
|
1603 |
return false;
|
|
|
1604 |
if (this.commission != that.commission)
|
|
|
1605 |
return false;
|
|
|
1606 |
}
|
|
|
1607 |
|
|
|
1608 |
boolean this_present_serviceTax = true;
|
|
|
1609 |
boolean that_present_serviceTax = true;
|
|
|
1610 |
if (this_present_serviceTax || that_present_serviceTax) {
|
|
|
1611 |
if (!(this_present_serviceTax && that_present_serviceTax))
|
|
|
1612 |
return false;
|
|
|
1613 |
if (this.serviceTax != that.serviceTax)
|
|
|
1614 |
return false;
|
|
|
1615 |
}
|
|
|
1616 |
|
|
|
1617 |
boolean this_present_brand = true && this.isSetBrand();
|
|
|
1618 |
boolean that_present_brand = true && that.isSetBrand();
|
|
|
1619 |
if (this_present_brand || that_present_brand) {
|
|
|
1620 |
if (!(this_present_brand && that_present_brand))
|
|
|
1621 |
return false;
|
|
|
1622 |
if (!this.brand.equals(that.brand))
|
|
|
1623 |
return false;
|
|
|
1624 |
}
|
|
|
1625 |
|
|
|
1626 |
boolean this_present_model_name = true && this.isSetModel_name();
|
|
|
1627 |
boolean that_present_model_name = true && that.isSetModel_name();
|
|
|
1628 |
if (this_present_model_name || that_present_model_name) {
|
|
|
1629 |
if (!(this_present_model_name && that_present_model_name))
|
|
|
1630 |
return false;
|
|
|
1631 |
if (!this.model_name.equals(that.model_name))
|
|
|
1632 |
return false;
|
|
|
1633 |
}
|
|
|
1634 |
|
|
|
1635 |
boolean this_present_model_number = true && this.isSetModel_number();
|
|
|
1636 |
boolean that_present_model_number = true && that.isSetModel_number();
|
|
|
1637 |
if (this_present_model_number || that_present_model_number) {
|
|
|
1638 |
if (!(this_present_model_number && that_present_model_number))
|
|
|
1639 |
return false;
|
|
|
1640 |
if (!this.model_number.equals(that.model_number))
|
|
|
1641 |
return false;
|
|
|
1642 |
}
|
|
|
1643 |
|
|
|
1644 |
boolean this_present_color = true && this.isSetColor();
|
|
|
1645 |
boolean that_present_color = true && that.isSetColor();
|
|
|
1646 |
if (this_present_color || that_present_color) {
|
|
|
1647 |
if (!(this_present_color && that_present_color))
|
|
|
1648 |
return false;
|
|
|
1649 |
if (!this.color.equals(that.color))
|
|
|
1650 |
return false;
|
|
|
1651 |
}
|
|
|
1652 |
|
|
|
1653 |
boolean this_present_risky = true;
|
|
|
1654 |
boolean that_present_risky = true;
|
|
|
1655 |
if (this_present_risky || that_present_risky) {
|
|
|
1656 |
if (!(this_present_risky && that_present_risky))
|
|
|
1657 |
return false;
|
|
|
1658 |
if (this.risky != that.risky)
|
|
|
1659 |
return false;
|
|
|
1660 |
}
|
|
|
1661 |
|
|
|
1662 |
boolean this_present_itemStatus = true && this.isSetItemStatus();
|
|
|
1663 |
boolean that_present_itemStatus = true && that.isSetItemStatus();
|
|
|
1664 |
if (this_present_itemStatus || that_present_itemStatus) {
|
|
|
1665 |
if (!(this_present_itemStatus && that_present_itemStatus))
|
|
|
1666 |
return false;
|
|
|
1667 |
if (!this.itemStatus.equals(that.itemStatus))
|
|
|
1668 |
return false;
|
|
|
1669 |
}
|
|
|
1670 |
|
|
|
1671 |
boolean this_present_suppressPriceFeed = true;
|
|
|
1672 |
boolean that_present_suppressPriceFeed = true;
|
|
|
1673 |
if (this_present_suppressPriceFeed || that_present_suppressPriceFeed) {
|
|
|
1674 |
if (!(this_present_suppressPriceFeed && that_present_suppressPriceFeed))
|
|
|
1675 |
return false;
|
|
|
1676 |
if (this.suppressPriceFeed != that.suppressPriceFeed)
|
|
|
1677 |
return false;
|
|
|
1678 |
}
|
|
|
1679 |
|
|
|
1680 |
boolean this_present_suppressInventoryFeed = true;
|
|
|
1681 |
boolean that_present_suppressInventoryFeed = true;
|
|
|
1682 |
if (this_present_suppressInventoryFeed || that_present_suppressInventoryFeed) {
|
|
|
1683 |
if (!(this_present_suppressInventoryFeed && that_present_suppressInventoryFeed))
|
|
|
1684 |
return false;
|
|
|
1685 |
if (this.suppressInventoryFeed != that.suppressInventoryFeed)
|
|
|
1686 |
return false;
|
|
|
1687 |
}
|
|
|
1688 |
|
|
|
1689 |
boolean this_present_weight = true;
|
|
|
1690 |
boolean that_present_weight = true;
|
|
|
1691 |
if (this_present_weight || that_present_weight) {
|
|
|
1692 |
if (!(this_present_weight && that_present_weight))
|
|
|
1693 |
return false;
|
|
|
1694 |
if (this.weight != that.weight)
|
|
|
1695 |
return false;
|
|
|
1696 |
}
|
|
|
1697 |
|
|
|
1698 |
boolean this_present_mrp = true;
|
|
|
1699 |
boolean that_present_mrp = true;
|
|
|
1700 |
if (this_present_mrp || that_present_mrp) {
|
|
|
1701 |
if (!(this_present_mrp && that_present_mrp))
|
|
|
1702 |
return false;
|
|
|
1703 |
if (this.mrp != that.mrp)
|
|
|
1704 |
return false;
|
|
|
1705 |
}
|
|
|
1706 |
|
|
|
1707 |
boolean this_present_websiteSellingPrice = true;
|
|
|
1708 |
boolean that_present_websiteSellingPrice = true;
|
|
|
1709 |
if (this_present_websiteSellingPrice || that_present_websiteSellingPrice) {
|
|
|
1710 |
if (!(this_present_websiteSellingPrice && that_present_websiteSellingPrice))
|
|
|
1711 |
return false;
|
|
|
1712 |
if (this.websiteSellingPrice != that.websiteSellingPrice)
|
|
|
1713 |
return false;
|
|
|
1714 |
}
|
|
|
1715 |
|
| 9478 |
kshitij.so |
1716 |
boolean this_present_maxNlc = true;
|
|
|
1717 |
boolean that_present_maxNlc = true;
|
|
|
1718 |
if (this_present_maxNlc || that_present_maxNlc) {
|
|
|
1719 |
if (!(this_present_maxNlc && that_present_maxNlc))
|
|
|
1720 |
return false;
|
|
|
1721 |
if (this.maxNlc != that.maxNlc)
|
|
|
1722 |
return false;
|
|
|
1723 |
}
|
|
|
1724 |
|
| 9456 |
vikram.rag |
1725 |
boolean this_present_skuAtSnapdeal = true && this.isSetSkuAtSnapdeal();
|
|
|
1726 |
boolean that_present_skuAtSnapdeal = true && that.isSetSkuAtSnapdeal();
|
|
|
1727 |
if (this_present_skuAtSnapdeal || that_present_skuAtSnapdeal) {
|
|
|
1728 |
if (!(this_present_skuAtSnapdeal && that_present_skuAtSnapdeal))
|
|
|
1729 |
return false;
|
|
|
1730 |
if (!this.skuAtSnapdeal.equals(that.skuAtSnapdeal))
|
|
|
1731 |
return false;
|
|
|
1732 |
}
|
|
|
1733 |
|
| 9568 |
kshitij.so |
1734 |
boolean this_present_supc = true && this.isSetSupc();
|
|
|
1735 |
boolean that_present_supc = true && that.isSetSupc();
|
|
|
1736 |
if (this_present_supc || that_present_supc) {
|
|
|
1737 |
if (!(this_present_supc && that_present_supc))
|
|
|
1738 |
return false;
|
|
|
1739 |
if (!this.supc.equals(that.supc))
|
|
|
1740 |
return false;
|
|
|
1741 |
}
|
|
|
1742 |
|
| 9724 |
kshitij.so |
1743 |
boolean this_present_lastUpdatedInventory = true;
|
|
|
1744 |
boolean that_present_lastUpdatedInventory = true;
|
|
|
1745 |
if (this_present_lastUpdatedInventory || that_present_lastUpdatedInventory) {
|
|
|
1746 |
if (!(this_present_lastUpdatedInventory && that_present_lastUpdatedInventory))
|
|
|
1747 |
return false;
|
|
|
1748 |
if (this.lastUpdatedInventory != that.lastUpdatedInventory)
|
|
|
1749 |
return false;
|
|
|
1750 |
}
|
|
|
1751 |
|
|
|
1752 |
boolean this_present_lastUpdatedInventoryTimestamp = true;
|
|
|
1753 |
boolean that_present_lastUpdatedInventoryTimestamp = true;
|
|
|
1754 |
if (this_present_lastUpdatedInventoryTimestamp || that_present_lastUpdatedInventoryTimestamp) {
|
|
|
1755 |
if (!(this_present_lastUpdatedInventoryTimestamp && that_present_lastUpdatedInventoryTimestamp))
|
|
|
1756 |
return false;
|
|
|
1757 |
if (this.lastUpdatedInventoryTimestamp != that.lastUpdatedInventoryTimestamp)
|
|
|
1758 |
return false;
|
|
|
1759 |
}
|
|
|
1760 |
|
|
|
1761 |
boolean this_present_shippingTime = true;
|
|
|
1762 |
boolean that_present_shippingTime = true;
|
|
|
1763 |
if (this_present_shippingTime || that_present_shippingTime) {
|
|
|
1764 |
if (!(this_present_shippingTime && that_present_shippingTime))
|
|
|
1765 |
return false;
|
|
|
1766 |
if (this.shippingTime != that.shippingTime)
|
|
|
1767 |
return false;
|
|
|
1768 |
}
|
|
|
1769 |
|
| 11096 |
kshitij.so |
1770 |
boolean this_present_courierCostMarketplace = true;
|
|
|
1771 |
boolean that_present_courierCostMarketplace = true;
|
|
|
1772 |
if (this_present_courierCostMarketplace || that_present_courierCostMarketplace) {
|
|
|
1773 |
if (!(this_present_courierCostMarketplace && that_present_courierCostMarketplace))
|
|
|
1774 |
return false;
|
|
|
1775 |
if (this.courierCostMarketplace != that.courierCostMarketplace)
|
|
|
1776 |
return false;
|
|
|
1777 |
}
|
|
|
1778 |
|
| 14780 |
manish.sha |
1779 |
boolean this_present_isVoiListed = true;
|
|
|
1780 |
boolean that_present_isVoiListed = true;
|
|
|
1781 |
if (this_present_isVoiListed || that_present_isVoiListed) {
|
|
|
1782 |
if (!(this_present_isVoiListed && that_present_isVoiListed))
|
|
|
1783 |
return false;
|
|
|
1784 |
if (this.isVoiListed != that.isVoiListed)
|
|
|
1785 |
return false;
|
|
|
1786 |
}
|
|
|
1787 |
|
| 9242 |
kshitij.so |
1788 |
return true;
|
|
|
1789 |
}
|
|
|
1790 |
|
|
|
1791 |
@Override
|
|
|
1792 |
public int hashCode() {
|
|
|
1793 |
return 0;
|
|
|
1794 |
}
|
|
|
1795 |
|
|
|
1796 |
public int compareTo(SnapdealItemDetails other) {
|
|
|
1797 |
if (!getClass().equals(other.getClass())) {
|
|
|
1798 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1799 |
}
|
|
|
1800 |
|
|
|
1801 |
int lastComparison = 0;
|
|
|
1802 |
SnapdealItemDetails typedOther = (SnapdealItemDetails)other;
|
|
|
1803 |
|
|
|
1804 |
lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
|
|
|
1805 |
if (lastComparison != 0) {
|
|
|
1806 |
return lastComparison;
|
|
|
1807 |
}
|
|
|
1808 |
if (isSetItem_id()) {
|
|
|
1809 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
|
|
|
1810 |
if (lastComparison != 0) {
|
|
|
1811 |
return lastComparison;
|
|
|
1812 |
}
|
|
|
1813 |
}
|
|
|
1814 |
lastComparison = Boolean.valueOf(isSetWarehouseId()).compareTo(typedOther.isSetWarehouseId());
|
|
|
1815 |
if (lastComparison != 0) {
|
|
|
1816 |
return lastComparison;
|
|
|
1817 |
}
|
|
|
1818 |
if (isSetWarehouseId()) {
|
|
|
1819 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouseId, typedOther.warehouseId);
|
|
|
1820 |
if (lastComparison != 0) {
|
|
|
1821 |
return lastComparison;
|
|
|
1822 |
}
|
|
|
1823 |
}
|
|
|
1824 |
lastComparison = Boolean.valueOf(isSetExceptionPrice()).compareTo(typedOther.isSetExceptionPrice());
|
|
|
1825 |
if (lastComparison != 0) {
|
|
|
1826 |
return lastComparison;
|
|
|
1827 |
}
|
|
|
1828 |
if (isSetExceptionPrice()) {
|
|
|
1829 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.exceptionPrice, typedOther.exceptionPrice);
|
|
|
1830 |
if (lastComparison != 0) {
|
|
|
1831 |
return lastComparison;
|
|
|
1832 |
}
|
|
|
1833 |
}
|
|
|
1834 |
lastComparison = Boolean.valueOf(isSetIsListedOnSnapdeal()).compareTo(typedOther.isSetIsListedOnSnapdeal());
|
|
|
1835 |
if (lastComparison != 0) {
|
|
|
1836 |
return lastComparison;
|
|
|
1837 |
}
|
|
|
1838 |
if (isSetIsListedOnSnapdeal()) {
|
|
|
1839 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isListedOnSnapdeal, typedOther.isListedOnSnapdeal);
|
|
|
1840 |
if (lastComparison != 0) {
|
|
|
1841 |
return lastComparison;
|
|
|
1842 |
}
|
|
|
1843 |
}
|
|
|
1844 |
lastComparison = Boolean.valueOf(isSetTransferPrice()).compareTo(typedOther.isSetTransferPrice());
|
|
|
1845 |
if (lastComparison != 0) {
|
|
|
1846 |
return lastComparison;
|
|
|
1847 |
}
|
|
|
1848 |
if (isSetTransferPrice()) {
|
|
|
1849 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferPrice, typedOther.transferPrice);
|
|
|
1850 |
if (lastComparison != 0) {
|
|
|
1851 |
return lastComparison;
|
|
|
1852 |
}
|
|
|
1853 |
}
|
|
|
1854 |
lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
|
|
|
1855 |
if (lastComparison != 0) {
|
|
|
1856 |
return lastComparison;
|
|
|
1857 |
}
|
|
|
1858 |
if (isSetSellingPrice()) {
|
|
|
1859 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
|
|
|
1860 |
if (lastComparison != 0) {
|
|
|
1861 |
return lastComparison;
|
|
|
1862 |
}
|
|
|
1863 |
}
|
|
|
1864 |
lastComparison = Boolean.valueOf(isSetCourierCost()).compareTo(typedOther.isSetCourierCost());
|
|
|
1865 |
if (lastComparison != 0) {
|
|
|
1866 |
return lastComparison;
|
|
|
1867 |
}
|
|
|
1868 |
if (isSetCourierCost()) {
|
|
|
1869 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courierCost, typedOther.courierCost);
|
|
|
1870 |
if (lastComparison != 0) {
|
|
|
1871 |
return lastComparison;
|
|
|
1872 |
}
|
|
|
1873 |
}
|
|
|
1874 |
lastComparison = Boolean.valueOf(isSetCommission()).compareTo(typedOther.isSetCommission());
|
|
|
1875 |
if (lastComparison != 0) {
|
|
|
1876 |
return lastComparison;
|
|
|
1877 |
}
|
|
|
1878 |
if (isSetCommission()) {
|
|
|
1879 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commission, typedOther.commission);
|
|
|
1880 |
if (lastComparison != 0) {
|
|
|
1881 |
return lastComparison;
|
|
|
1882 |
}
|
|
|
1883 |
}
|
|
|
1884 |
lastComparison = Boolean.valueOf(isSetServiceTax()).compareTo(typedOther.isSetServiceTax());
|
|
|
1885 |
if (lastComparison != 0) {
|
|
|
1886 |
return lastComparison;
|
|
|
1887 |
}
|
|
|
1888 |
if (isSetServiceTax()) {
|
|
|
1889 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serviceTax, typedOther.serviceTax);
|
|
|
1890 |
if (lastComparison != 0) {
|
|
|
1891 |
return lastComparison;
|
|
|
1892 |
}
|
|
|
1893 |
}
|
|
|
1894 |
lastComparison = Boolean.valueOf(isSetBrand()).compareTo(typedOther.isSetBrand());
|
|
|
1895 |
if (lastComparison != 0) {
|
|
|
1896 |
return lastComparison;
|
|
|
1897 |
}
|
|
|
1898 |
if (isSetBrand()) {
|
|
|
1899 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.brand, typedOther.brand);
|
|
|
1900 |
if (lastComparison != 0) {
|
|
|
1901 |
return lastComparison;
|
|
|
1902 |
}
|
|
|
1903 |
}
|
|
|
1904 |
lastComparison = Boolean.valueOf(isSetModel_name()).compareTo(typedOther.isSetModel_name());
|
|
|
1905 |
if (lastComparison != 0) {
|
|
|
1906 |
return lastComparison;
|
|
|
1907 |
}
|
|
|
1908 |
if (isSetModel_name()) {
|
|
|
1909 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.model_name, typedOther.model_name);
|
|
|
1910 |
if (lastComparison != 0) {
|
|
|
1911 |
return lastComparison;
|
|
|
1912 |
}
|
|
|
1913 |
}
|
|
|
1914 |
lastComparison = Boolean.valueOf(isSetModel_number()).compareTo(typedOther.isSetModel_number());
|
|
|
1915 |
if (lastComparison != 0) {
|
|
|
1916 |
return lastComparison;
|
|
|
1917 |
}
|
|
|
1918 |
if (isSetModel_number()) {
|
|
|
1919 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.model_number, typedOther.model_number);
|
|
|
1920 |
if (lastComparison != 0) {
|
|
|
1921 |
return lastComparison;
|
|
|
1922 |
}
|
|
|
1923 |
}
|
|
|
1924 |
lastComparison = Boolean.valueOf(isSetColor()).compareTo(typedOther.isSetColor());
|
|
|
1925 |
if (lastComparison != 0) {
|
|
|
1926 |
return lastComparison;
|
|
|
1927 |
}
|
|
|
1928 |
if (isSetColor()) {
|
|
|
1929 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.color, typedOther.color);
|
|
|
1930 |
if (lastComparison != 0) {
|
|
|
1931 |
return lastComparison;
|
|
|
1932 |
}
|
|
|
1933 |
}
|
|
|
1934 |
lastComparison = Boolean.valueOf(isSetRisky()).compareTo(typedOther.isSetRisky());
|
|
|
1935 |
if (lastComparison != 0) {
|
|
|
1936 |
return lastComparison;
|
|
|
1937 |
}
|
|
|
1938 |
if (isSetRisky()) {
|
|
|
1939 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.risky, typedOther.risky);
|
|
|
1940 |
if (lastComparison != 0) {
|
|
|
1941 |
return lastComparison;
|
|
|
1942 |
}
|
|
|
1943 |
}
|
|
|
1944 |
lastComparison = Boolean.valueOf(isSetItemStatus()).compareTo(typedOther.isSetItemStatus());
|
|
|
1945 |
if (lastComparison != 0) {
|
|
|
1946 |
return lastComparison;
|
|
|
1947 |
}
|
|
|
1948 |
if (isSetItemStatus()) {
|
|
|
1949 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemStatus, typedOther.itemStatus);
|
|
|
1950 |
if (lastComparison != 0) {
|
|
|
1951 |
return lastComparison;
|
|
|
1952 |
}
|
|
|
1953 |
}
|
|
|
1954 |
lastComparison = Boolean.valueOf(isSetSuppressPriceFeed()).compareTo(typedOther.isSetSuppressPriceFeed());
|
|
|
1955 |
if (lastComparison != 0) {
|
|
|
1956 |
return lastComparison;
|
|
|
1957 |
}
|
|
|
1958 |
if (isSetSuppressPriceFeed()) {
|
|
|
1959 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suppressPriceFeed, typedOther.suppressPriceFeed);
|
|
|
1960 |
if (lastComparison != 0) {
|
|
|
1961 |
return lastComparison;
|
|
|
1962 |
}
|
|
|
1963 |
}
|
|
|
1964 |
lastComparison = Boolean.valueOf(isSetSuppressInventoryFeed()).compareTo(typedOther.isSetSuppressInventoryFeed());
|
|
|
1965 |
if (lastComparison != 0) {
|
|
|
1966 |
return lastComparison;
|
|
|
1967 |
}
|
|
|
1968 |
if (isSetSuppressInventoryFeed()) {
|
|
|
1969 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suppressInventoryFeed, typedOther.suppressInventoryFeed);
|
|
|
1970 |
if (lastComparison != 0) {
|
|
|
1971 |
return lastComparison;
|
|
|
1972 |
}
|
|
|
1973 |
}
|
|
|
1974 |
lastComparison = Boolean.valueOf(isSetWeight()).compareTo(typedOther.isSetWeight());
|
|
|
1975 |
if (lastComparison != 0) {
|
|
|
1976 |
return lastComparison;
|
|
|
1977 |
}
|
|
|
1978 |
if (isSetWeight()) {
|
|
|
1979 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.weight, typedOther.weight);
|
|
|
1980 |
if (lastComparison != 0) {
|
|
|
1981 |
return lastComparison;
|
|
|
1982 |
}
|
|
|
1983 |
}
|
|
|
1984 |
lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
|
|
|
1985 |
if (lastComparison != 0) {
|
|
|
1986 |
return lastComparison;
|
|
|
1987 |
}
|
|
|
1988 |
if (isSetMrp()) {
|
|
|
1989 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
|
|
|
1990 |
if (lastComparison != 0) {
|
|
|
1991 |
return lastComparison;
|
|
|
1992 |
}
|
|
|
1993 |
}
|
|
|
1994 |
lastComparison = Boolean.valueOf(isSetWebsiteSellingPrice()).compareTo(typedOther.isSetWebsiteSellingPrice());
|
|
|
1995 |
if (lastComparison != 0) {
|
|
|
1996 |
return lastComparison;
|
|
|
1997 |
}
|
|
|
1998 |
if (isSetWebsiteSellingPrice()) {
|
|
|
1999 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.websiteSellingPrice, typedOther.websiteSellingPrice);
|
|
|
2000 |
if (lastComparison != 0) {
|
|
|
2001 |
return lastComparison;
|
|
|
2002 |
}
|
|
|
2003 |
}
|
| 9478 |
kshitij.so |
2004 |
lastComparison = Boolean.valueOf(isSetMaxNlc()).compareTo(typedOther.isSetMaxNlc());
|
|
|
2005 |
if (lastComparison != 0) {
|
|
|
2006 |
return lastComparison;
|
|
|
2007 |
}
|
|
|
2008 |
if (isSetMaxNlc()) {
|
|
|
2009 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxNlc, typedOther.maxNlc);
|
|
|
2010 |
if (lastComparison != 0) {
|
|
|
2011 |
return lastComparison;
|
|
|
2012 |
}
|
|
|
2013 |
}
|
| 9456 |
vikram.rag |
2014 |
lastComparison = Boolean.valueOf(isSetSkuAtSnapdeal()).compareTo(typedOther.isSetSkuAtSnapdeal());
|
|
|
2015 |
if (lastComparison != 0) {
|
|
|
2016 |
return lastComparison;
|
|
|
2017 |
}
|
|
|
2018 |
if (isSetSkuAtSnapdeal()) {
|
|
|
2019 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skuAtSnapdeal, typedOther.skuAtSnapdeal);
|
|
|
2020 |
if (lastComparison != 0) {
|
|
|
2021 |
return lastComparison;
|
|
|
2022 |
}
|
|
|
2023 |
}
|
| 9568 |
kshitij.so |
2024 |
lastComparison = Boolean.valueOf(isSetSupc()).compareTo(typedOther.isSetSupc());
|
|
|
2025 |
if (lastComparison != 0) {
|
|
|
2026 |
return lastComparison;
|
|
|
2027 |
}
|
|
|
2028 |
if (isSetSupc()) {
|
|
|
2029 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.supc, typedOther.supc);
|
|
|
2030 |
if (lastComparison != 0) {
|
|
|
2031 |
return lastComparison;
|
|
|
2032 |
}
|
|
|
2033 |
}
|
| 9724 |
kshitij.so |
2034 |
lastComparison = Boolean.valueOf(isSetLastUpdatedInventory()).compareTo(typedOther.isSetLastUpdatedInventory());
|
|
|
2035 |
if (lastComparison != 0) {
|
|
|
2036 |
return lastComparison;
|
|
|
2037 |
}
|
|
|
2038 |
if (isSetLastUpdatedInventory()) {
|
|
|
2039 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastUpdatedInventory, typedOther.lastUpdatedInventory);
|
|
|
2040 |
if (lastComparison != 0) {
|
|
|
2041 |
return lastComparison;
|
|
|
2042 |
}
|
|
|
2043 |
}
|
|
|
2044 |
lastComparison = Boolean.valueOf(isSetLastUpdatedInventoryTimestamp()).compareTo(typedOther.isSetLastUpdatedInventoryTimestamp());
|
|
|
2045 |
if (lastComparison != 0) {
|
|
|
2046 |
return lastComparison;
|
|
|
2047 |
}
|
|
|
2048 |
if (isSetLastUpdatedInventoryTimestamp()) {
|
|
|
2049 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastUpdatedInventoryTimestamp, typedOther.lastUpdatedInventoryTimestamp);
|
|
|
2050 |
if (lastComparison != 0) {
|
|
|
2051 |
return lastComparison;
|
|
|
2052 |
}
|
|
|
2053 |
}
|
|
|
2054 |
lastComparison = Boolean.valueOf(isSetShippingTime()).compareTo(typedOther.isSetShippingTime());
|
|
|
2055 |
if (lastComparison != 0) {
|
|
|
2056 |
return lastComparison;
|
|
|
2057 |
}
|
|
|
2058 |
if (isSetShippingTime()) {
|
|
|
2059 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shippingTime, typedOther.shippingTime);
|
|
|
2060 |
if (lastComparison != 0) {
|
|
|
2061 |
return lastComparison;
|
|
|
2062 |
}
|
|
|
2063 |
}
|
| 11096 |
kshitij.so |
2064 |
lastComparison = Boolean.valueOf(isSetCourierCostMarketplace()).compareTo(typedOther.isSetCourierCostMarketplace());
|
|
|
2065 |
if (lastComparison != 0) {
|
|
|
2066 |
return lastComparison;
|
|
|
2067 |
}
|
|
|
2068 |
if (isSetCourierCostMarketplace()) {
|
|
|
2069 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courierCostMarketplace, typedOther.courierCostMarketplace);
|
|
|
2070 |
if (lastComparison != 0) {
|
|
|
2071 |
return lastComparison;
|
|
|
2072 |
}
|
|
|
2073 |
}
|
| 14780 |
manish.sha |
2074 |
lastComparison = Boolean.valueOf(isSetIsVoiListed()).compareTo(typedOther.isSetIsVoiListed());
|
|
|
2075 |
if (lastComparison != 0) {
|
|
|
2076 |
return lastComparison;
|
|
|
2077 |
}
|
|
|
2078 |
if (isSetIsVoiListed()) {
|
|
|
2079 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isVoiListed, typedOther.isVoiListed);
|
|
|
2080 |
if (lastComparison != 0) {
|
|
|
2081 |
return lastComparison;
|
|
|
2082 |
}
|
|
|
2083 |
}
|
| 9242 |
kshitij.so |
2084 |
return 0;
|
|
|
2085 |
}
|
|
|
2086 |
|
|
|
2087 |
public _Fields fieldForId(int fieldId) {
|
|
|
2088 |
return _Fields.findByThriftId(fieldId);
|
|
|
2089 |
}
|
|
|
2090 |
|
|
|
2091 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
2092 |
org.apache.thrift.protocol.TField field;
|
|
|
2093 |
iprot.readStructBegin();
|
|
|
2094 |
while (true)
|
|
|
2095 |
{
|
|
|
2096 |
field = iprot.readFieldBegin();
|
|
|
2097 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
|
|
2098 |
break;
|
|
|
2099 |
}
|
|
|
2100 |
switch (field.id) {
|
|
|
2101 |
case 1: // ITEM_ID
|
|
|
2102 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2103 |
this.item_id = iprot.readI64();
|
|
|
2104 |
setItem_idIsSet(true);
|
|
|
2105 |
} else {
|
|
|
2106 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2107 |
}
|
|
|
2108 |
break;
|
|
|
2109 |
case 2: // WAREHOUSE_ID
|
|
|
2110 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2111 |
this.warehouseId = iprot.readI64();
|
|
|
2112 |
setWarehouseIdIsSet(true);
|
|
|
2113 |
} else {
|
|
|
2114 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2115 |
}
|
|
|
2116 |
break;
|
|
|
2117 |
case 3: // EXCEPTION_PRICE
|
|
|
2118 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2119 |
this.exceptionPrice = iprot.readDouble();
|
|
|
2120 |
setExceptionPriceIsSet(true);
|
|
|
2121 |
} else {
|
|
|
2122 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2123 |
}
|
|
|
2124 |
break;
|
|
|
2125 |
case 4: // IS_LISTED_ON_SNAPDEAL
|
|
|
2126 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
2127 |
this.isListedOnSnapdeal = iprot.readBool();
|
|
|
2128 |
setIsListedOnSnapdealIsSet(true);
|
|
|
2129 |
} else {
|
|
|
2130 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2131 |
}
|
|
|
2132 |
break;
|
|
|
2133 |
case 5: // TRANSFER_PRICE
|
|
|
2134 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2135 |
this.transferPrice = iprot.readDouble();
|
|
|
2136 |
setTransferPriceIsSet(true);
|
|
|
2137 |
} else {
|
|
|
2138 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2139 |
}
|
|
|
2140 |
break;
|
|
|
2141 |
case 6: // SELLING_PRICE
|
|
|
2142 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2143 |
this.sellingPrice = iprot.readDouble();
|
|
|
2144 |
setSellingPriceIsSet(true);
|
|
|
2145 |
} else {
|
|
|
2146 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2147 |
}
|
|
|
2148 |
break;
|
|
|
2149 |
case 7: // COURIER_COST
|
|
|
2150 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2151 |
this.courierCost = iprot.readDouble();
|
|
|
2152 |
setCourierCostIsSet(true);
|
|
|
2153 |
} else {
|
|
|
2154 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2155 |
}
|
|
|
2156 |
break;
|
|
|
2157 |
case 8: // COMMISSION
|
|
|
2158 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2159 |
this.commission = iprot.readDouble();
|
|
|
2160 |
setCommissionIsSet(true);
|
|
|
2161 |
} else {
|
|
|
2162 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2163 |
}
|
|
|
2164 |
break;
|
|
|
2165 |
case 9: // SERVICE_TAX
|
|
|
2166 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2167 |
this.serviceTax = iprot.readDouble();
|
|
|
2168 |
setServiceTaxIsSet(true);
|
|
|
2169 |
} else {
|
|
|
2170 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2171 |
}
|
|
|
2172 |
break;
|
|
|
2173 |
case 10: // BRAND
|
|
|
2174 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2175 |
this.brand = iprot.readString();
|
|
|
2176 |
} else {
|
|
|
2177 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2178 |
}
|
|
|
2179 |
break;
|
|
|
2180 |
case 11: // MODEL_NAME
|
|
|
2181 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2182 |
this.model_name = iprot.readString();
|
|
|
2183 |
} else {
|
|
|
2184 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2185 |
}
|
|
|
2186 |
break;
|
|
|
2187 |
case 12: // MODEL_NUMBER
|
|
|
2188 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2189 |
this.model_number = iprot.readString();
|
|
|
2190 |
} else {
|
|
|
2191 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2192 |
}
|
|
|
2193 |
break;
|
|
|
2194 |
case 13: // COLOR
|
|
|
2195 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2196 |
this.color = iprot.readString();
|
|
|
2197 |
} else {
|
|
|
2198 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2199 |
}
|
|
|
2200 |
break;
|
|
|
2201 |
case 14: // RISKY
|
|
|
2202 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
2203 |
this.risky = iprot.readBool();
|
|
|
2204 |
setRiskyIsSet(true);
|
|
|
2205 |
} else {
|
|
|
2206 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2207 |
}
|
|
|
2208 |
break;
|
|
|
2209 |
case 15: // ITEM_STATUS
|
|
|
2210 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
2211 |
this.itemStatus = status.findByValue(iprot.readI32());
|
|
|
2212 |
} else {
|
|
|
2213 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2214 |
}
|
|
|
2215 |
break;
|
|
|
2216 |
case 16: // SUPPRESS_PRICE_FEED
|
|
|
2217 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
2218 |
this.suppressPriceFeed = iprot.readBool();
|
|
|
2219 |
setSuppressPriceFeedIsSet(true);
|
|
|
2220 |
} else {
|
|
|
2221 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2222 |
}
|
|
|
2223 |
break;
|
|
|
2224 |
case 17: // SUPPRESS_INVENTORY_FEED
|
|
|
2225 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
2226 |
this.suppressInventoryFeed = iprot.readBool();
|
|
|
2227 |
setSuppressInventoryFeedIsSet(true);
|
|
|
2228 |
} else {
|
|
|
2229 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2230 |
}
|
|
|
2231 |
break;
|
|
|
2232 |
case 18: // WEIGHT
|
|
|
2233 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2234 |
this.weight = iprot.readDouble();
|
|
|
2235 |
setWeightIsSet(true);
|
|
|
2236 |
} else {
|
|
|
2237 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2238 |
}
|
|
|
2239 |
break;
|
|
|
2240 |
case 19: // MRP
|
|
|
2241 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2242 |
this.mrp = iprot.readDouble();
|
|
|
2243 |
setMrpIsSet(true);
|
|
|
2244 |
} else {
|
|
|
2245 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2246 |
}
|
|
|
2247 |
break;
|
|
|
2248 |
case 20: // WEBSITE_SELLING_PRICE
|
|
|
2249 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2250 |
this.websiteSellingPrice = iprot.readDouble();
|
|
|
2251 |
setWebsiteSellingPriceIsSet(true);
|
|
|
2252 |
} else {
|
|
|
2253 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2254 |
}
|
|
|
2255 |
break;
|
| 9478 |
kshitij.so |
2256 |
case 21: // MAX_NLC
|
|
|
2257 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2258 |
this.maxNlc = iprot.readDouble();
|
|
|
2259 |
setMaxNlcIsSet(true);
|
|
|
2260 |
} else {
|
|
|
2261 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2262 |
}
|
|
|
2263 |
break;
|
|
|
2264 |
case 22: // SKU_AT_SNAPDEAL
|
| 9456 |
vikram.rag |
2265 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2266 |
this.skuAtSnapdeal = iprot.readString();
|
|
|
2267 |
} else {
|
|
|
2268 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2269 |
}
|
|
|
2270 |
break;
|
| 9568 |
kshitij.so |
2271 |
case 23: // SUPC
|
|
|
2272 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2273 |
this.supc = iprot.readString();
|
|
|
2274 |
} else {
|
|
|
2275 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2276 |
}
|
|
|
2277 |
break;
|
| 9724 |
kshitij.so |
2278 |
case 24: // LAST_UPDATED_INVENTORY
|
|
|
2279 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2280 |
this.lastUpdatedInventory = iprot.readI64();
|
|
|
2281 |
setLastUpdatedInventoryIsSet(true);
|
|
|
2282 |
} else {
|
|
|
2283 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2284 |
}
|
|
|
2285 |
break;
|
|
|
2286 |
case 25: // LAST_UPDATED_INVENTORY_TIMESTAMP
|
|
|
2287 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2288 |
this.lastUpdatedInventoryTimestamp = iprot.readI64();
|
|
|
2289 |
setLastUpdatedInventoryTimestampIsSet(true);
|
|
|
2290 |
} else {
|
|
|
2291 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2292 |
}
|
|
|
2293 |
break;
|
|
|
2294 |
case 26: // SHIPPING_TIME
|
|
|
2295 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2296 |
this.shippingTime = iprot.readI64();
|
|
|
2297 |
setShippingTimeIsSet(true);
|
|
|
2298 |
} else {
|
|
|
2299 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2300 |
}
|
|
|
2301 |
break;
|
| 11096 |
kshitij.so |
2302 |
case 27: // COURIER_COST_MARKETPLACE
|
|
|
2303 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2304 |
this.courierCostMarketplace = iprot.readDouble();
|
|
|
2305 |
setCourierCostMarketplaceIsSet(true);
|
|
|
2306 |
} else {
|
|
|
2307 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2308 |
}
|
|
|
2309 |
break;
|
| 14780 |
manish.sha |
2310 |
case 28: // IS_VOI_LISTED
|
|
|
2311 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
2312 |
this.isVoiListed = iprot.readBool();
|
|
|
2313 |
setIsVoiListedIsSet(true);
|
|
|
2314 |
} else {
|
|
|
2315 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2316 |
}
|
|
|
2317 |
break;
|
| 9242 |
kshitij.so |
2318 |
default:
|
|
|
2319 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2320 |
}
|
|
|
2321 |
iprot.readFieldEnd();
|
|
|
2322 |
}
|
|
|
2323 |
iprot.readStructEnd();
|
|
|
2324 |
validate();
|
|
|
2325 |
}
|
|
|
2326 |
|
|
|
2327 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
|
|
2328 |
validate();
|
|
|
2329 |
|
|
|
2330 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
2331 |
oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
|
|
|
2332 |
oprot.writeI64(this.item_id);
|
|
|
2333 |
oprot.writeFieldEnd();
|
|
|
2334 |
oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
|
|
|
2335 |
oprot.writeI64(this.warehouseId);
|
|
|
2336 |
oprot.writeFieldEnd();
|
|
|
2337 |
oprot.writeFieldBegin(EXCEPTION_PRICE_FIELD_DESC);
|
|
|
2338 |
oprot.writeDouble(this.exceptionPrice);
|
|
|
2339 |
oprot.writeFieldEnd();
|
|
|
2340 |
oprot.writeFieldBegin(IS_LISTED_ON_SNAPDEAL_FIELD_DESC);
|
|
|
2341 |
oprot.writeBool(this.isListedOnSnapdeal);
|
|
|
2342 |
oprot.writeFieldEnd();
|
|
|
2343 |
oprot.writeFieldBegin(TRANSFER_PRICE_FIELD_DESC);
|
|
|
2344 |
oprot.writeDouble(this.transferPrice);
|
|
|
2345 |
oprot.writeFieldEnd();
|
|
|
2346 |
oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
|
|
|
2347 |
oprot.writeDouble(this.sellingPrice);
|
|
|
2348 |
oprot.writeFieldEnd();
|
|
|
2349 |
oprot.writeFieldBegin(COURIER_COST_FIELD_DESC);
|
|
|
2350 |
oprot.writeDouble(this.courierCost);
|
|
|
2351 |
oprot.writeFieldEnd();
|
|
|
2352 |
oprot.writeFieldBegin(COMMISSION_FIELD_DESC);
|
|
|
2353 |
oprot.writeDouble(this.commission);
|
|
|
2354 |
oprot.writeFieldEnd();
|
|
|
2355 |
oprot.writeFieldBegin(SERVICE_TAX_FIELD_DESC);
|
|
|
2356 |
oprot.writeDouble(this.serviceTax);
|
|
|
2357 |
oprot.writeFieldEnd();
|
|
|
2358 |
if (this.brand != null) {
|
|
|
2359 |
oprot.writeFieldBegin(BRAND_FIELD_DESC);
|
|
|
2360 |
oprot.writeString(this.brand);
|
|
|
2361 |
oprot.writeFieldEnd();
|
|
|
2362 |
}
|
|
|
2363 |
if (this.model_name != null) {
|
|
|
2364 |
oprot.writeFieldBegin(MODEL_NAME_FIELD_DESC);
|
|
|
2365 |
oprot.writeString(this.model_name);
|
|
|
2366 |
oprot.writeFieldEnd();
|
|
|
2367 |
}
|
|
|
2368 |
if (this.model_number != null) {
|
|
|
2369 |
oprot.writeFieldBegin(MODEL_NUMBER_FIELD_DESC);
|
|
|
2370 |
oprot.writeString(this.model_number);
|
|
|
2371 |
oprot.writeFieldEnd();
|
|
|
2372 |
}
|
|
|
2373 |
if (this.color != null) {
|
|
|
2374 |
oprot.writeFieldBegin(COLOR_FIELD_DESC);
|
|
|
2375 |
oprot.writeString(this.color);
|
|
|
2376 |
oprot.writeFieldEnd();
|
|
|
2377 |
}
|
|
|
2378 |
oprot.writeFieldBegin(RISKY_FIELD_DESC);
|
|
|
2379 |
oprot.writeBool(this.risky);
|
|
|
2380 |
oprot.writeFieldEnd();
|
|
|
2381 |
if (this.itemStatus != null) {
|
|
|
2382 |
oprot.writeFieldBegin(ITEM_STATUS_FIELD_DESC);
|
|
|
2383 |
oprot.writeI32(this.itemStatus.getValue());
|
|
|
2384 |
oprot.writeFieldEnd();
|
|
|
2385 |
}
|
|
|
2386 |
oprot.writeFieldBegin(SUPPRESS_PRICE_FEED_FIELD_DESC);
|
|
|
2387 |
oprot.writeBool(this.suppressPriceFeed);
|
|
|
2388 |
oprot.writeFieldEnd();
|
|
|
2389 |
oprot.writeFieldBegin(SUPPRESS_INVENTORY_FEED_FIELD_DESC);
|
|
|
2390 |
oprot.writeBool(this.suppressInventoryFeed);
|
|
|
2391 |
oprot.writeFieldEnd();
|
|
|
2392 |
oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
|
|
|
2393 |
oprot.writeDouble(this.weight);
|
|
|
2394 |
oprot.writeFieldEnd();
|
|
|
2395 |
oprot.writeFieldBegin(MRP_FIELD_DESC);
|
|
|
2396 |
oprot.writeDouble(this.mrp);
|
|
|
2397 |
oprot.writeFieldEnd();
|
|
|
2398 |
oprot.writeFieldBegin(WEBSITE_SELLING_PRICE_FIELD_DESC);
|
|
|
2399 |
oprot.writeDouble(this.websiteSellingPrice);
|
|
|
2400 |
oprot.writeFieldEnd();
|
| 9478 |
kshitij.so |
2401 |
oprot.writeFieldBegin(MAX_NLC_FIELD_DESC);
|
|
|
2402 |
oprot.writeDouble(this.maxNlc);
|
|
|
2403 |
oprot.writeFieldEnd();
|
| 9456 |
vikram.rag |
2404 |
if (this.skuAtSnapdeal != null) {
|
|
|
2405 |
oprot.writeFieldBegin(SKU_AT_SNAPDEAL_FIELD_DESC);
|
|
|
2406 |
oprot.writeString(this.skuAtSnapdeal);
|
|
|
2407 |
oprot.writeFieldEnd();
|
|
|
2408 |
}
|
| 9568 |
kshitij.so |
2409 |
if (this.supc != null) {
|
|
|
2410 |
oprot.writeFieldBegin(SUPC_FIELD_DESC);
|
|
|
2411 |
oprot.writeString(this.supc);
|
|
|
2412 |
oprot.writeFieldEnd();
|
|
|
2413 |
}
|
| 9724 |
kshitij.so |
2414 |
oprot.writeFieldBegin(LAST_UPDATED_INVENTORY_FIELD_DESC);
|
|
|
2415 |
oprot.writeI64(this.lastUpdatedInventory);
|
|
|
2416 |
oprot.writeFieldEnd();
|
|
|
2417 |
oprot.writeFieldBegin(LAST_UPDATED_INVENTORY_TIMESTAMP_FIELD_DESC);
|
|
|
2418 |
oprot.writeI64(this.lastUpdatedInventoryTimestamp);
|
|
|
2419 |
oprot.writeFieldEnd();
|
|
|
2420 |
oprot.writeFieldBegin(SHIPPING_TIME_FIELD_DESC);
|
|
|
2421 |
oprot.writeI64(this.shippingTime);
|
|
|
2422 |
oprot.writeFieldEnd();
|
| 11096 |
kshitij.so |
2423 |
oprot.writeFieldBegin(COURIER_COST_MARKETPLACE_FIELD_DESC);
|
|
|
2424 |
oprot.writeDouble(this.courierCostMarketplace);
|
|
|
2425 |
oprot.writeFieldEnd();
|
| 14780 |
manish.sha |
2426 |
oprot.writeFieldBegin(IS_VOI_LISTED_FIELD_DESC);
|
|
|
2427 |
oprot.writeBool(this.isVoiListed);
|
|
|
2428 |
oprot.writeFieldEnd();
|
| 9242 |
kshitij.so |
2429 |
oprot.writeFieldStop();
|
|
|
2430 |
oprot.writeStructEnd();
|
|
|
2431 |
}
|
|
|
2432 |
|
|
|
2433 |
@Override
|
|
|
2434 |
public String toString() {
|
|
|
2435 |
StringBuilder sb = new StringBuilder("SnapdealItemDetails(");
|
|
|
2436 |
boolean first = true;
|
|
|
2437 |
|
|
|
2438 |
sb.append("item_id:");
|
|
|
2439 |
sb.append(this.item_id);
|
|
|
2440 |
first = false;
|
|
|
2441 |
if (!first) sb.append(", ");
|
|
|
2442 |
sb.append("warehouseId:");
|
|
|
2443 |
sb.append(this.warehouseId);
|
|
|
2444 |
first = false;
|
|
|
2445 |
if (!first) sb.append(", ");
|
|
|
2446 |
sb.append("exceptionPrice:");
|
|
|
2447 |
sb.append(this.exceptionPrice);
|
|
|
2448 |
first = false;
|
|
|
2449 |
if (!first) sb.append(", ");
|
|
|
2450 |
sb.append("isListedOnSnapdeal:");
|
|
|
2451 |
sb.append(this.isListedOnSnapdeal);
|
|
|
2452 |
first = false;
|
|
|
2453 |
if (!first) sb.append(", ");
|
|
|
2454 |
sb.append("transferPrice:");
|
|
|
2455 |
sb.append(this.transferPrice);
|
|
|
2456 |
first = false;
|
|
|
2457 |
if (!first) sb.append(", ");
|
|
|
2458 |
sb.append("sellingPrice:");
|
|
|
2459 |
sb.append(this.sellingPrice);
|
|
|
2460 |
first = false;
|
|
|
2461 |
if (!first) sb.append(", ");
|
|
|
2462 |
sb.append("courierCost:");
|
|
|
2463 |
sb.append(this.courierCost);
|
|
|
2464 |
first = false;
|
|
|
2465 |
if (!first) sb.append(", ");
|
|
|
2466 |
sb.append("commission:");
|
|
|
2467 |
sb.append(this.commission);
|
|
|
2468 |
first = false;
|
|
|
2469 |
if (!first) sb.append(", ");
|
|
|
2470 |
sb.append("serviceTax:");
|
|
|
2471 |
sb.append(this.serviceTax);
|
|
|
2472 |
first = false;
|
|
|
2473 |
if (!first) sb.append(", ");
|
|
|
2474 |
sb.append("brand:");
|
|
|
2475 |
if (this.brand == null) {
|
|
|
2476 |
sb.append("null");
|
|
|
2477 |
} else {
|
|
|
2478 |
sb.append(this.brand);
|
|
|
2479 |
}
|
|
|
2480 |
first = false;
|
|
|
2481 |
if (!first) sb.append(", ");
|
|
|
2482 |
sb.append("model_name:");
|
|
|
2483 |
if (this.model_name == null) {
|
|
|
2484 |
sb.append("null");
|
|
|
2485 |
} else {
|
|
|
2486 |
sb.append(this.model_name);
|
|
|
2487 |
}
|
|
|
2488 |
first = false;
|
|
|
2489 |
if (!first) sb.append(", ");
|
|
|
2490 |
sb.append("model_number:");
|
|
|
2491 |
if (this.model_number == null) {
|
|
|
2492 |
sb.append("null");
|
|
|
2493 |
} else {
|
|
|
2494 |
sb.append(this.model_number);
|
|
|
2495 |
}
|
|
|
2496 |
first = false;
|
|
|
2497 |
if (!first) sb.append(", ");
|
|
|
2498 |
sb.append("color:");
|
|
|
2499 |
if (this.color == null) {
|
|
|
2500 |
sb.append("null");
|
|
|
2501 |
} else {
|
|
|
2502 |
sb.append(this.color);
|
|
|
2503 |
}
|
|
|
2504 |
first = false;
|
|
|
2505 |
if (!first) sb.append(", ");
|
|
|
2506 |
sb.append("risky:");
|
|
|
2507 |
sb.append(this.risky);
|
|
|
2508 |
first = false;
|
|
|
2509 |
if (!first) sb.append(", ");
|
|
|
2510 |
sb.append("itemStatus:");
|
|
|
2511 |
if (this.itemStatus == null) {
|
|
|
2512 |
sb.append("null");
|
|
|
2513 |
} else {
|
|
|
2514 |
sb.append(this.itemStatus);
|
|
|
2515 |
}
|
|
|
2516 |
first = false;
|
|
|
2517 |
if (!first) sb.append(", ");
|
|
|
2518 |
sb.append("suppressPriceFeed:");
|
|
|
2519 |
sb.append(this.suppressPriceFeed);
|
|
|
2520 |
first = false;
|
|
|
2521 |
if (!first) sb.append(", ");
|
|
|
2522 |
sb.append("suppressInventoryFeed:");
|
|
|
2523 |
sb.append(this.suppressInventoryFeed);
|
|
|
2524 |
first = false;
|
|
|
2525 |
if (!first) sb.append(", ");
|
|
|
2526 |
sb.append("weight:");
|
|
|
2527 |
sb.append(this.weight);
|
|
|
2528 |
first = false;
|
|
|
2529 |
if (!first) sb.append(", ");
|
|
|
2530 |
sb.append("mrp:");
|
|
|
2531 |
sb.append(this.mrp);
|
|
|
2532 |
first = false;
|
|
|
2533 |
if (!first) sb.append(", ");
|
|
|
2534 |
sb.append("websiteSellingPrice:");
|
|
|
2535 |
sb.append(this.websiteSellingPrice);
|
|
|
2536 |
first = false;
|
| 9456 |
vikram.rag |
2537 |
if (!first) sb.append(", ");
|
| 9478 |
kshitij.so |
2538 |
sb.append("maxNlc:");
|
|
|
2539 |
sb.append(this.maxNlc);
|
|
|
2540 |
first = false;
|
|
|
2541 |
if (!first) sb.append(", ");
|
| 9456 |
vikram.rag |
2542 |
sb.append("skuAtSnapdeal:");
|
|
|
2543 |
if (this.skuAtSnapdeal == null) {
|
|
|
2544 |
sb.append("null");
|
|
|
2545 |
} else {
|
|
|
2546 |
sb.append(this.skuAtSnapdeal);
|
|
|
2547 |
}
|
|
|
2548 |
first = false;
|
| 9568 |
kshitij.so |
2549 |
if (!first) sb.append(", ");
|
|
|
2550 |
sb.append("supc:");
|
|
|
2551 |
if (this.supc == null) {
|
|
|
2552 |
sb.append("null");
|
|
|
2553 |
} else {
|
|
|
2554 |
sb.append(this.supc);
|
|
|
2555 |
}
|
|
|
2556 |
first = false;
|
| 9724 |
kshitij.so |
2557 |
if (!first) sb.append(", ");
|
|
|
2558 |
sb.append("lastUpdatedInventory:");
|
|
|
2559 |
sb.append(this.lastUpdatedInventory);
|
|
|
2560 |
first = false;
|
|
|
2561 |
if (!first) sb.append(", ");
|
|
|
2562 |
sb.append("lastUpdatedInventoryTimestamp:");
|
|
|
2563 |
sb.append(this.lastUpdatedInventoryTimestamp);
|
|
|
2564 |
first = false;
|
|
|
2565 |
if (!first) sb.append(", ");
|
|
|
2566 |
sb.append("shippingTime:");
|
|
|
2567 |
sb.append(this.shippingTime);
|
|
|
2568 |
first = false;
|
| 11096 |
kshitij.so |
2569 |
if (!first) sb.append(", ");
|
|
|
2570 |
sb.append("courierCostMarketplace:");
|
|
|
2571 |
sb.append(this.courierCostMarketplace);
|
|
|
2572 |
first = false;
|
| 14780 |
manish.sha |
2573 |
if (!first) sb.append(", ");
|
|
|
2574 |
sb.append("isVoiListed:");
|
|
|
2575 |
sb.append(this.isVoiListed);
|
|
|
2576 |
first = false;
|
| 9242 |
kshitij.so |
2577 |
sb.append(")");
|
|
|
2578 |
return sb.toString();
|
|
|
2579 |
}
|
|
|
2580 |
|
|
|
2581 |
public void validate() throws org.apache.thrift.TException {
|
|
|
2582 |
// check for required fields
|
|
|
2583 |
}
|
|
|
2584 |
|
|
|
2585 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
2586 |
try {
|
|
|
2587 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
2588 |
} catch (org.apache.thrift.TException te) {
|
|
|
2589 |
throw new java.io.IOException(te);
|
|
|
2590 |
}
|
|
|
2591 |
}
|
|
|
2592 |
|
|
|
2593 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
2594 |
try {
|
|
|
2595 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
2596 |
__isset_bit_vector = new BitSet(1);
|
|
|
2597 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
2598 |
} catch (org.apache.thrift.TException te) {
|
|
|
2599 |
throw new java.io.IOException(te);
|
|
|
2600 |
}
|
|
|
2601 |
}
|
|
|
2602 |
|
|
|
2603 |
}
|
|
|
2604 |
|