| 9724 |
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 MarketplaceItems implements org.apache.thrift.TBase<MarketplaceItems, MarketplaceItems._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MarketplaceItems");
|
|
|
25 |
|
|
|
26 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
|
|
|
27 |
private static final org.apache.thrift.protocol.TField SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("source", org.apache.thrift.protocol.TType.I64, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField EMI_FEE_FIELD_DESC = new org.apache.thrift.protocol.TField("emiFee", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
|
|
|
29 |
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)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField CLOSING_FEE_FIELD_DESC = new org.apache.thrift.protocol.TField("closingFee", org.apache.thrift.protocol.TType.DOUBLE, (short)5);
|
|
|
31 |
private static final org.apache.thrift.protocol.TField RETURN_PROVISION_FIELD_DESC = new org.apache.thrift.protocol.TField("returnProvision", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
|
|
|
32 |
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)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField VAT_FIELD_DESC = new org.apache.thrift.protocol.TField("vat", org.apache.thrift.protocol.TType.DOUBLE, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField PACKAGING_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("packagingCost", org.apache.thrift.protocol.TType.DOUBLE, (short)9);
|
|
|
35 |
private static final org.apache.thrift.protocol.TField OTHER_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("otherCost", org.apache.thrift.protocol.TType.DOUBLE, (short)10);
|
|
|
36 |
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)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField AUTO_INCREMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("autoIncrement", org.apache.thrift.protocol.TType.BOOL, (short)12);
|
|
|
38 |
private static final org.apache.thrift.protocol.TField AUTO_DECREMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("autoDecrement", org.apache.thrift.protocol.TType.BOOL, (short)13);
|
|
|
39 |
private static final org.apache.thrift.protocol.TField MANUAL_FAVOURITE_FIELD_DESC = new org.apache.thrift.protocol.TField("manualFavourite", org.apache.thrift.protocol.TType.BOOL, (short)14);
|
|
|
40 |
private static final org.apache.thrift.protocol.TField AUTO_FAVOURITE_FIELD_DESC = new org.apache.thrift.protocol.TField("autoFavourite", org.apache.thrift.protocol.TType.BOOL, (short)15);
|
|
|
41 |
private static final org.apache.thrift.protocol.TField CURRENT_SP_FIELD_DESC = new org.apache.thrift.protocol.TField("currentSp", org.apache.thrift.protocol.TType.DOUBLE, (short)16);
|
|
|
42 |
private static final org.apache.thrift.protocol.TField CURRENT_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("currentTp", org.apache.thrift.protocol.TType.DOUBLE, (short)17);
|
|
|
43 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_SP_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleSp", org.apache.thrift.protocol.TType.DOUBLE, (short)18);
|
|
|
44 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleTp", org.apache.thrift.protocol.TType.DOUBLE, (short)19);
|
|
|
45 |
private static final org.apache.thrift.protocol.TField LAST_CHECKED_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("lastCheckedTimestamp", org.apache.thrift.protocol.TType.I64, (short)20);
|
| 9909 |
kshitij.so |
46 |
private static final org.apache.thrift.protocol.TField MAXIMUM_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("maximumSellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)21);
|
| 10287 |
kshitij.so |
47 |
private static final org.apache.thrift.protocol.TField PG_FEE_FIELD_DESC = new org.apache.thrift.protocol.TField("pgFee", org.apache.thrift.protocol.TType.DOUBLE, (short)22);
|
| 11095 |
kshitij.so |
48 |
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)23);
|
| 9724 |
kshitij.so |
49 |
|
|
|
50 |
private long itemId; // required
|
|
|
51 |
private long source; // required
|
|
|
52 |
private double emiFee; // required
|
|
|
53 |
private double courierCost; // required
|
|
|
54 |
private double closingFee; // required
|
|
|
55 |
private double returnProvision; // required
|
|
|
56 |
private double commission; // required
|
|
|
57 |
private double vat; // required
|
|
|
58 |
private double packagingCost; // required
|
|
|
59 |
private double otherCost; // required
|
|
|
60 |
private double serviceTax; // required
|
|
|
61 |
private boolean autoIncrement; // required
|
|
|
62 |
private boolean autoDecrement; // required
|
|
|
63 |
private boolean manualFavourite; // required
|
|
|
64 |
private boolean autoFavourite; // required
|
|
|
65 |
private double currentSp; // required
|
|
|
66 |
private double currentTp; // required
|
|
|
67 |
private double minimumPossibleSp; // required
|
|
|
68 |
private double minimumPossibleTp; // required
|
|
|
69 |
private long lastCheckedTimestamp; // required
|
| 9909 |
kshitij.so |
70 |
private double maximumSellingPrice; // required
|
| 10287 |
kshitij.so |
71 |
private double pgFee; // required
|
| 11095 |
kshitij.so |
72 |
private double courierCostMarketplace; // required
|
| 9724 |
kshitij.so |
73 |
|
|
|
74 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
75 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
|
|
76 |
ITEM_ID((short)1, "itemId"),
|
|
|
77 |
SOURCE((short)2, "source"),
|
|
|
78 |
EMI_FEE((short)3, "emiFee"),
|
|
|
79 |
COURIER_COST((short)4, "courierCost"),
|
|
|
80 |
CLOSING_FEE((short)5, "closingFee"),
|
|
|
81 |
RETURN_PROVISION((short)6, "returnProvision"),
|
|
|
82 |
COMMISSION((short)7, "commission"),
|
|
|
83 |
VAT((short)8, "vat"),
|
|
|
84 |
PACKAGING_COST((short)9, "packagingCost"),
|
|
|
85 |
OTHER_COST((short)10, "otherCost"),
|
|
|
86 |
SERVICE_TAX((short)11, "serviceTax"),
|
|
|
87 |
AUTO_INCREMENT((short)12, "autoIncrement"),
|
|
|
88 |
AUTO_DECREMENT((short)13, "autoDecrement"),
|
|
|
89 |
MANUAL_FAVOURITE((short)14, "manualFavourite"),
|
|
|
90 |
AUTO_FAVOURITE((short)15, "autoFavourite"),
|
|
|
91 |
CURRENT_SP((short)16, "currentSp"),
|
|
|
92 |
CURRENT_TP((short)17, "currentTp"),
|
|
|
93 |
MINIMUM_POSSIBLE_SP((short)18, "minimumPossibleSp"),
|
|
|
94 |
MINIMUM_POSSIBLE_TP((short)19, "minimumPossibleTp"),
|
| 9909 |
kshitij.so |
95 |
LAST_CHECKED_TIMESTAMP((short)20, "lastCheckedTimestamp"),
|
| 10287 |
kshitij.so |
96 |
MAXIMUM_SELLING_PRICE((short)21, "maximumSellingPrice"),
|
| 11095 |
kshitij.so |
97 |
PG_FEE((short)22, "pgFee"),
|
|
|
98 |
COURIER_COST_MARKETPLACE((short)23, "courierCostMarketplace");
|
| 9724 |
kshitij.so |
99 |
|
|
|
100 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
101 |
|
|
|
102 |
static {
|
|
|
103 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
104 |
byName.put(field.getFieldName(), field);
|
|
|
105 |
}
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
/**
|
|
|
109 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
110 |
*/
|
|
|
111 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
112 |
switch(fieldId) {
|
|
|
113 |
case 1: // ITEM_ID
|
|
|
114 |
return ITEM_ID;
|
|
|
115 |
case 2: // SOURCE
|
|
|
116 |
return SOURCE;
|
|
|
117 |
case 3: // EMI_FEE
|
|
|
118 |
return EMI_FEE;
|
|
|
119 |
case 4: // COURIER_COST
|
|
|
120 |
return COURIER_COST;
|
|
|
121 |
case 5: // CLOSING_FEE
|
|
|
122 |
return CLOSING_FEE;
|
|
|
123 |
case 6: // RETURN_PROVISION
|
|
|
124 |
return RETURN_PROVISION;
|
|
|
125 |
case 7: // COMMISSION
|
|
|
126 |
return COMMISSION;
|
|
|
127 |
case 8: // VAT
|
|
|
128 |
return VAT;
|
|
|
129 |
case 9: // PACKAGING_COST
|
|
|
130 |
return PACKAGING_COST;
|
|
|
131 |
case 10: // OTHER_COST
|
|
|
132 |
return OTHER_COST;
|
|
|
133 |
case 11: // SERVICE_TAX
|
|
|
134 |
return SERVICE_TAX;
|
|
|
135 |
case 12: // AUTO_INCREMENT
|
|
|
136 |
return AUTO_INCREMENT;
|
|
|
137 |
case 13: // AUTO_DECREMENT
|
|
|
138 |
return AUTO_DECREMENT;
|
|
|
139 |
case 14: // MANUAL_FAVOURITE
|
|
|
140 |
return MANUAL_FAVOURITE;
|
|
|
141 |
case 15: // AUTO_FAVOURITE
|
|
|
142 |
return AUTO_FAVOURITE;
|
|
|
143 |
case 16: // CURRENT_SP
|
|
|
144 |
return CURRENT_SP;
|
|
|
145 |
case 17: // CURRENT_TP
|
|
|
146 |
return CURRENT_TP;
|
|
|
147 |
case 18: // MINIMUM_POSSIBLE_SP
|
|
|
148 |
return MINIMUM_POSSIBLE_SP;
|
|
|
149 |
case 19: // MINIMUM_POSSIBLE_TP
|
|
|
150 |
return MINIMUM_POSSIBLE_TP;
|
|
|
151 |
case 20: // LAST_CHECKED_TIMESTAMP
|
|
|
152 |
return LAST_CHECKED_TIMESTAMP;
|
| 9909 |
kshitij.so |
153 |
case 21: // MAXIMUM_SELLING_PRICE
|
|
|
154 |
return MAXIMUM_SELLING_PRICE;
|
| 10287 |
kshitij.so |
155 |
case 22: // PG_FEE
|
|
|
156 |
return PG_FEE;
|
| 11095 |
kshitij.so |
157 |
case 23: // COURIER_COST_MARKETPLACE
|
|
|
158 |
return COURIER_COST_MARKETPLACE;
|
| 9724 |
kshitij.so |
159 |
default:
|
|
|
160 |
return null;
|
|
|
161 |
}
|
|
|
162 |
}
|
|
|
163 |
|
|
|
164 |
/**
|
|
|
165 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
166 |
* if it is not found.
|
|
|
167 |
*/
|
|
|
168 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
169 |
_Fields fields = findByThriftId(fieldId);
|
|
|
170 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
171 |
return fields;
|
|
|
172 |
}
|
|
|
173 |
|
|
|
174 |
/**
|
|
|
175 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
176 |
*/
|
|
|
177 |
public static _Fields findByName(String name) {
|
|
|
178 |
return byName.get(name);
|
|
|
179 |
}
|
|
|
180 |
|
|
|
181 |
private final short _thriftId;
|
|
|
182 |
private final String _fieldName;
|
|
|
183 |
|
|
|
184 |
_Fields(short thriftId, String fieldName) {
|
|
|
185 |
_thriftId = thriftId;
|
|
|
186 |
_fieldName = fieldName;
|
|
|
187 |
}
|
|
|
188 |
|
|
|
189 |
public short getThriftFieldId() {
|
|
|
190 |
return _thriftId;
|
|
|
191 |
}
|
|
|
192 |
|
|
|
193 |
public String getFieldName() {
|
|
|
194 |
return _fieldName;
|
|
|
195 |
}
|
|
|
196 |
}
|
|
|
197 |
|
|
|
198 |
// isset id assignments
|
|
|
199 |
private static final int __ITEMID_ISSET_ID = 0;
|
|
|
200 |
private static final int __SOURCE_ISSET_ID = 1;
|
|
|
201 |
private static final int __EMIFEE_ISSET_ID = 2;
|
|
|
202 |
private static final int __COURIERCOST_ISSET_ID = 3;
|
|
|
203 |
private static final int __CLOSINGFEE_ISSET_ID = 4;
|
|
|
204 |
private static final int __RETURNPROVISION_ISSET_ID = 5;
|
|
|
205 |
private static final int __COMMISSION_ISSET_ID = 6;
|
|
|
206 |
private static final int __VAT_ISSET_ID = 7;
|
|
|
207 |
private static final int __PACKAGINGCOST_ISSET_ID = 8;
|
|
|
208 |
private static final int __OTHERCOST_ISSET_ID = 9;
|
|
|
209 |
private static final int __SERVICETAX_ISSET_ID = 10;
|
|
|
210 |
private static final int __AUTOINCREMENT_ISSET_ID = 11;
|
|
|
211 |
private static final int __AUTODECREMENT_ISSET_ID = 12;
|
|
|
212 |
private static final int __MANUALFAVOURITE_ISSET_ID = 13;
|
|
|
213 |
private static final int __AUTOFAVOURITE_ISSET_ID = 14;
|
|
|
214 |
private static final int __CURRENTSP_ISSET_ID = 15;
|
|
|
215 |
private static final int __CURRENTTP_ISSET_ID = 16;
|
|
|
216 |
private static final int __MINIMUMPOSSIBLESP_ISSET_ID = 17;
|
|
|
217 |
private static final int __MINIMUMPOSSIBLETP_ISSET_ID = 18;
|
|
|
218 |
private static final int __LASTCHECKEDTIMESTAMP_ISSET_ID = 19;
|
| 9909 |
kshitij.so |
219 |
private static final int __MAXIMUMSELLINGPRICE_ISSET_ID = 20;
|
| 10287 |
kshitij.so |
220 |
private static final int __PGFEE_ISSET_ID = 21;
|
| 11095 |
kshitij.so |
221 |
private static final int __COURIERCOSTMARKETPLACE_ISSET_ID = 22;
|
|
|
222 |
private BitSet __isset_bit_vector = new BitSet(23);
|
| 9724 |
kshitij.so |
223 |
|
|
|
224 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
|
|
225 |
static {
|
|
|
226 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
227 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
228 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
229 |
tmpMap.put(_Fields.SOURCE, new org.apache.thrift.meta_data.FieldMetaData("source", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
230 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
231 |
tmpMap.put(_Fields.EMI_FEE, new org.apache.thrift.meta_data.FieldMetaData("emiFee", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
232 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
233 |
tmpMap.put(_Fields.COURIER_COST, new org.apache.thrift.meta_data.FieldMetaData("courierCost", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
234 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
235 |
tmpMap.put(_Fields.CLOSING_FEE, new org.apache.thrift.meta_data.FieldMetaData("closingFee", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
236 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
237 |
tmpMap.put(_Fields.RETURN_PROVISION, new org.apache.thrift.meta_data.FieldMetaData("returnProvision", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
238 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
239 |
tmpMap.put(_Fields.COMMISSION, new org.apache.thrift.meta_data.FieldMetaData("commission", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
240 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
241 |
tmpMap.put(_Fields.VAT, new org.apache.thrift.meta_data.FieldMetaData("vat", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
242 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
243 |
tmpMap.put(_Fields.PACKAGING_COST, new org.apache.thrift.meta_data.FieldMetaData("packagingCost", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
244 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
245 |
tmpMap.put(_Fields.OTHER_COST, new org.apache.thrift.meta_data.FieldMetaData("otherCost", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
246 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
247 |
tmpMap.put(_Fields.SERVICE_TAX, new org.apache.thrift.meta_data.FieldMetaData("serviceTax", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
248 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
249 |
tmpMap.put(_Fields.AUTO_INCREMENT, new org.apache.thrift.meta_data.FieldMetaData("autoIncrement", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
250 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
251 |
tmpMap.put(_Fields.AUTO_DECREMENT, new org.apache.thrift.meta_data.FieldMetaData("autoDecrement", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
252 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
253 |
tmpMap.put(_Fields.MANUAL_FAVOURITE, new org.apache.thrift.meta_data.FieldMetaData("manualFavourite", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
254 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
255 |
tmpMap.put(_Fields.AUTO_FAVOURITE, new org.apache.thrift.meta_data.FieldMetaData("autoFavourite", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
256 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
257 |
tmpMap.put(_Fields.CURRENT_SP, new org.apache.thrift.meta_data.FieldMetaData("currentSp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
258 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
259 |
tmpMap.put(_Fields.CURRENT_TP, new org.apache.thrift.meta_data.FieldMetaData("currentTp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
260 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
261 |
tmpMap.put(_Fields.MINIMUM_POSSIBLE_SP, new org.apache.thrift.meta_data.FieldMetaData("minimumPossibleSp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
262 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
263 |
tmpMap.put(_Fields.MINIMUM_POSSIBLE_TP, new org.apache.thrift.meta_data.FieldMetaData("minimumPossibleTp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
264 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
265 |
tmpMap.put(_Fields.LAST_CHECKED_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("lastCheckedTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
266 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 9909 |
kshitij.so |
267 |
tmpMap.put(_Fields.MAXIMUM_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("maximumSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
268 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 10287 |
kshitij.so |
269 |
tmpMap.put(_Fields.PG_FEE, new org.apache.thrift.meta_data.FieldMetaData("pgFee", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
270 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 11095 |
kshitij.so |
271 |
tmpMap.put(_Fields.COURIER_COST_MARKETPLACE, new org.apache.thrift.meta_data.FieldMetaData("courierCostMarketplace", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
272 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 9724 |
kshitij.so |
273 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
274 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(MarketplaceItems.class, metaDataMap);
|
|
|
275 |
}
|
|
|
276 |
|
|
|
277 |
public MarketplaceItems() {
|
|
|
278 |
}
|
|
|
279 |
|
|
|
280 |
public MarketplaceItems(
|
|
|
281 |
long itemId,
|
|
|
282 |
long source,
|
|
|
283 |
double emiFee,
|
|
|
284 |
double courierCost,
|
|
|
285 |
double closingFee,
|
|
|
286 |
double returnProvision,
|
|
|
287 |
double commission,
|
|
|
288 |
double vat,
|
|
|
289 |
double packagingCost,
|
|
|
290 |
double otherCost,
|
|
|
291 |
double serviceTax,
|
|
|
292 |
boolean autoIncrement,
|
|
|
293 |
boolean autoDecrement,
|
|
|
294 |
boolean manualFavourite,
|
|
|
295 |
boolean autoFavourite,
|
|
|
296 |
double currentSp,
|
|
|
297 |
double currentTp,
|
|
|
298 |
double minimumPossibleSp,
|
|
|
299 |
double minimumPossibleTp,
|
| 9909 |
kshitij.so |
300 |
long lastCheckedTimestamp,
|
| 10287 |
kshitij.so |
301 |
double maximumSellingPrice,
|
| 11095 |
kshitij.so |
302 |
double pgFee,
|
|
|
303 |
double courierCostMarketplace)
|
| 9724 |
kshitij.so |
304 |
{
|
|
|
305 |
this();
|
|
|
306 |
this.itemId = itemId;
|
|
|
307 |
setItemIdIsSet(true);
|
|
|
308 |
this.source = source;
|
|
|
309 |
setSourceIsSet(true);
|
|
|
310 |
this.emiFee = emiFee;
|
|
|
311 |
setEmiFeeIsSet(true);
|
|
|
312 |
this.courierCost = courierCost;
|
|
|
313 |
setCourierCostIsSet(true);
|
|
|
314 |
this.closingFee = closingFee;
|
|
|
315 |
setClosingFeeIsSet(true);
|
|
|
316 |
this.returnProvision = returnProvision;
|
|
|
317 |
setReturnProvisionIsSet(true);
|
|
|
318 |
this.commission = commission;
|
|
|
319 |
setCommissionIsSet(true);
|
|
|
320 |
this.vat = vat;
|
|
|
321 |
setVatIsSet(true);
|
|
|
322 |
this.packagingCost = packagingCost;
|
|
|
323 |
setPackagingCostIsSet(true);
|
|
|
324 |
this.otherCost = otherCost;
|
|
|
325 |
setOtherCostIsSet(true);
|
|
|
326 |
this.serviceTax = serviceTax;
|
|
|
327 |
setServiceTaxIsSet(true);
|
|
|
328 |
this.autoIncrement = autoIncrement;
|
|
|
329 |
setAutoIncrementIsSet(true);
|
|
|
330 |
this.autoDecrement = autoDecrement;
|
|
|
331 |
setAutoDecrementIsSet(true);
|
|
|
332 |
this.manualFavourite = manualFavourite;
|
|
|
333 |
setManualFavouriteIsSet(true);
|
|
|
334 |
this.autoFavourite = autoFavourite;
|
|
|
335 |
setAutoFavouriteIsSet(true);
|
|
|
336 |
this.currentSp = currentSp;
|
|
|
337 |
setCurrentSpIsSet(true);
|
|
|
338 |
this.currentTp = currentTp;
|
|
|
339 |
setCurrentTpIsSet(true);
|
|
|
340 |
this.minimumPossibleSp = minimumPossibleSp;
|
|
|
341 |
setMinimumPossibleSpIsSet(true);
|
|
|
342 |
this.minimumPossibleTp = minimumPossibleTp;
|
|
|
343 |
setMinimumPossibleTpIsSet(true);
|
|
|
344 |
this.lastCheckedTimestamp = lastCheckedTimestamp;
|
|
|
345 |
setLastCheckedTimestampIsSet(true);
|
| 9909 |
kshitij.so |
346 |
this.maximumSellingPrice = maximumSellingPrice;
|
|
|
347 |
setMaximumSellingPriceIsSet(true);
|
| 10287 |
kshitij.so |
348 |
this.pgFee = pgFee;
|
|
|
349 |
setPgFeeIsSet(true);
|
| 11095 |
kshitij.so |
350 |
this.courierCostMarketplace = courierCostMarketplace;
|
|
|
351 |
setCourierCostMarketplaceIsSet(true);
|
| 9724 |
kshitij.so |
352 |
}
|
|
|
353 |
|
|
|
354 |
/**
|
|
|
355 |
* Performs a deep copy on <i>other</i>.
|
|
|
356 |
*/
|
|
|
357 |
public MarketplaceItems(MarketplaceItems other) {
|
|
|
358 |
__isset_bit_vector.clear();
|
|
|
359 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
360 |
this.itemId = other.itemId;
|
|
|
361 |
this.source = other.source;
|
|
|
362 |
this.emiFee = other.emiFee;
|
|
|
363 |
this.courierCost = other.courierCost;
|
|
|
364 |
this.closingFee = other.closingFee;
|
|
|
365 |
this.returnProvision = other.returnProvision;
|
|
|
366 |
this.commission = other.commission;
|
|
|
367 |
this.vat = other.vat;
|
|
|
368 |
this.packagingCost = other.packagingCost;
|
|
|
369 |
this.otherCost = other.otherCost;
|
|
|
370 |
this.serviceTax = other.serviceTax;
|
|
|
371 |
this.autoIncrement = other.autoIncrement;
|
|
|
372 |
this.autoDecrement = other.autoDecrement;
|
|
|
373 |
this.manualFavourite = other.manualFavourite;
|
|
|
374 |
this.autoFavourite = other.autoFavourite;
|
|
|
375 |
this.currentSp = other.currentSp;
|
|
|
376 |
this.currentTp = other.currentTp;
|
|
|
377 |
this.minimumPossibleSp = other.minimumPossibleSp;
|
|
|
378 |
this.minimumPossibleTp = other.minimumPossibleTp;
|
|
|
379 |
this.lastCheckedTimestamp = other.lastCheckedTimestamp;
|
| 9909 |
kshitij.so |
380 |
this.maximumSellingPrice = other.maximumSellingPrice;
|
| 10287 |
kshitij.so |
381 |
this.pgFee = other.pgFee;
|
| 11095 |
kshitij.so |
382 |
this.courierCostMarketplace = other.courierCostMarketplace;
|
| 9724 |
kshitij.so |
383 |
}
|
|
|
384 |
|
|
|
385 |
public MarketplaceItems deepCopy() {
|
|
|
386 |
return new MarketplaceItems(this);
|
|
|
387 |
}
|
|
|
388 |
|
|
|
389 |
@Override
|
|
|
390 |
public void clear() {
|
|
|
391 |
setItemIdIsSet(false);
|
|
|
392 |
this.itemId = 0;
|
|
|
393 |
setSourceIsSet(false);
|
|
|
394 |
this.source = 0;
|
|
|
395 |
setEmiFeeIsSet(false);
|
|
|
396 |
this.emiFee = 0.0;
|
|
|
397 |
setCourierCostIsSet(false);
|
|
|
398 |
this.courierCost = 0.0;
|
|
|
399 |
setClosingFeeIsSet(false);
|
|
|
400 |
this.closingFee = 0.0;
|
|
|
401 |
setReturnProvisionIsSet(false);
|
|
|
402 |
this.returnProvision = 0.0;
|
|
|
403 |
setCommissionIsSet(false);
|
|
|
404 |
this.commission = 0.0;
|
|
|
405 |
setVatIsSet(false);
|
|
|
406 |
this.vat = 0.0;
|
|
|
407 |
setPackagingCostIsSet(false);
|
|
|
408 |
this.packagingCost = 0.0;
|
|
|
409 |
setOtherCostIsSet(false);
|
|
|
410 |
this.otherCost = 0.0;
|
|
|
411 |
setServiceTaxIsSet(false);
|
|
|
412 |
this.serviceTax = 0.0;
|
|
|
413 |
setAutoIncrementIsSet(false);
|
|
|
414 |
this.autoIncrement = false;
|
|
|
415 |
setAutoDecrementIsSet(false);
|
|
|
416 |
this.autoDecrement = false;
|
|
|
417 |
setManualFavouriteIsSet(false);
|
|
|
418 |
this.manualFavourite = false;
|
|
|
419 |
setAutoFavouriteIsSet(false);
|
|
|
420 |
this.autoFavourite = false;
|
|
|
421 |
setCurrentSpIsSet(false);
|
|
|
422 |
this.currentSp = 0.0;
|
|
|
423 |
setCurrentTpIsSet(false);
|
|
|
424 |
this.currentTp = 0.0;
|
|
|
425 |
setMinimumPossibleSpIsSet(false);
|
|
|
426 |
this.minimumPossibleSp = 0.0;
|
|
|
427 |
setMinimumPossibleTpIsSet(false);
|
|
|
428 |
this.minimumPossibleTp = 0.0;
|
|
|
429 |
setLastCheckedTimestampIsSet(false);
|
|
|
430 |
this.lastCheckedTimestamp = 0;
|
| 9909 |
kshitij.so |
431 |
setMaximumSellingPriceIsSet(false);
|
|
|
432 |
this.maximumSellingPrice = 0.0;
|
| 10287 |
kshitij.so |
433 |
setPgFeeIsSet(false);
|
|
|
434 |
this.pgFee = 0.0;
|
| 11095 |
kshitij.so |
435 |
setCourierCostMarketplaceIsSet(false);
|
|
|
436 |
this.courierCostMarketplace = 0.0;
|
| 9724 |
kshitij.so |
437 |
}
|
|
|
438 |
|
|
|
439 |
public long getItemId() {
|
|
|
440 |
return this.itemId;
|
|
|
441 |
}
|
|
|
442 |
|
|
|
443 |
public void setItemId(long itemId) {
|
|
|
444 |
this.itemId = itemId;
|
|
|
445 |
setItemIdIsSet(true);
|
|
|
446 |
}
|
|
|
447 |
|
|
|
448 |
public void unsetItemId() {
|
|
|
449 |
__isset_bit_vector.clear(__ITEMID_ISSET_ID);
|
|
|
450 |
}
|
|
|
451 |
|
|
|
452 |
/** Returns true if field itemId is set (has been assigned a value) and false otherwise */
|
|
|
453 |
public boolean isSetItemId() {
|
|
|
454 |
return __isset_bit_vector.get(__ITEMID_ISSET_ID);
|
|
|
455 |
}
|
|
|
456 |
|
|
|
457 |
public void setItemIdIsSet(boolean value) {
|
|
|
458 |
__isset_bit_vector.set(__ITEMID_ISSET_ID, value);
|
|
|
459 |
}
|
|
|
460 |
|
|
|
461 |
public long getSource() {
|
|
|
462 |
return this.source;
|
|
|
463 |
}
|
|
|
464 |
|
|
|
465 |
public void setSource(long source) {
|
|
|
466 |
this.source = source;
|
|
|
467 |
setSourceIsSet(true);
|
|
|
468 |
}
|
|
|
469 |
|
|
|
470 |
public void unsetSource() {
|
|
|
471 |
__isset_bit_vector.clear(__SOURCE_ISSET_ID);
|
|
|
472 |
}
|
|
|
473 |
|
|
|
474 |
/** Returns true if field source is set (has been assigned a value) and false otherwise */
|
|
|
475 |
public boolean isSetSource() {
|
|
|
476 |
return __isset_bit_vector.get(__SOURCE_ISSET_ID);
|
|
|
477 |
}
|
|
|
478 |
|
|
|
479 |
public void setSourceIsSet(boolean value) {
|
|
|
480 |
__isset_bit_vector.set(__SOURCE_ISSET_ID, value);
|
|
|
481 |
}
|
|
|
482 |
|
|
|
483 |
public double getEmiFee() {
|
|
|
484 |
return this.emiFee;
|
|
|
485 |
}
|
|
|
486 |
|
|
|
487 |
public void setEmiFee(double emiFee) {
|
|
|
488 |
this.emiFee = emiFee;
|
|
|
489 |
setEmiFeeIsSet(true);
|
|
|
490 |
}
|
|
|
491 |
|
|
|
492 |
public void unsetEmiFee() {
|
|
|
493 |
__isset_bit_vector.clear(__EMIFEE_ISSET_ID);
|
|
|
494 |
}
|
|
|
495 |
|
|
|
496 |
/** Returns true if field emiFee is set (has been assigned a value) and false otherwise */
|
|
|
497 |
public boolean isSetEmiFee() {
|
|
|
498 |
return __isset_bit_vector.get(__EMIFEE_ISSET_ID);
|
|
|
499 |
}
|
|
|
500 |
|
|
|
501 |
public void setEmiFeeIsSet(boolean value) {
|
|
|
502 |
__isset_bit_vector.set(__EMIFEE_ISSET_ID, value);
|
|
|
503 |
}
|
|
|
504 |
|
|
|
505 |
public double getCourierCost() {
|
|
|
506 |
return this.courierCost;
|
|
|
507 |
}
|
|
|
508 |
|
|
|
509 |
public void setCourierCost(double courierCost) {
|
|
|
510 |
this.courierCost = courierCost;
|
|
|
511 |
setCourierCostIsSet(true);
|
|
|
512 |
}
|
|
|
513 |
|
|
|
514 |
public void unsetCourierCost() {
|
|
|
515 |
__isset_bit_vector.clear(__COURIERCOST_ISSET_ID);
|
|
|
516 |
}
|
|
|
517 |
|
|
|
518 |
/** Returns true if field courierCost is set (has been assigned a value) and false otherwise */
|
|
|
519 |
public boolean isSetCourierCost() {
|
|
|
520 |
return __isset_bit_vector.get(__COURIERCOST_ISSET_ID);
|
|
|
521 |
}
|
|
|
522 |
|
|
|
523 |
public void setCourierCostIsSet(boolean value) {
|
|
|
524 |
__isset_bit_vector.set(__COURIERCOST_ISSET_ID, value);
|
|
|
525 |
}
|
|
|
526 |
|
|
|
527 |
public double getClosingFee() {
|
|
|
528 |
return this.closingFee;
|
|
|
529 |
}
|
|
|
530 |
|
|
|
531 |
public void setClosingFee(double closingFee) {
|
|
|
532 |
this.closingFee = closingFee;
|
|
|
533 |
setClosingFeeIsSet(true);
|
|
|
534 |
}
|
|
|
535 |
|
|
|
536 |
public void unsetClosingFee() {
|
|
|
537 |
__isset_bit_vector.clear(__CLOSINGFEE_ISSET_ID);
|
|
|
538 |
}
|
|
|
539 |
|
|
|
540 |
/** Returns true if field closingFee is set (has been assigned a value) and false otherwise */
|
|
|
541 |
public boolean isSetClosingFee() {
|
|
|
542 |
return __isset_bit_vector.get(__CLOSINGFEE_ISSET_ID);
|
|
|
543 |
}
|
|
|
544 |
|
|
|
545 |
public void setClosingFeeIsSet(boolean value) {
|
|
|
546 |
__isset_bit_vector.set(__CLOSINGFEE_ISSET_ID, value);
|
|
|
547 |
}
|
|
|
548 |
|
|
|
549 |
public double getReturnProvision() {
|
|
|
550 |
return this.returnProvision;
|
|
|
551 |
}
|
|
|
552 |
|
|
|
553 |
public void setReturnProvision(double returnProvision) {
|
|
|
554 |
this.returnProvision = returnProvision;
|
|
|
555 |
setReturnProvisionIsSet(true);
|
|
|
556 |
}
|
|
|
557 |
|
|
|
558 |
public void unsetReturnProvision() {
|
|
|
559 |
__isset_bit_vector.clear(__RETURNPROVISION_ISSET_ID);
|
|
|
560 |
}
|
|
|
561 |
|
|
|
562 |
/** Returns true if field returnProvision is set (has been assigned a value) and false otherwise */
|
|
|
563 |
public boolean isSetReturnProvision() {
|
|
|
564 |
return __isset_bit_vector.get(__RETURNPROVISION_ISSET_ID);
|
|
|
565 |
}
|
|
|
566 |
|
|
|
567 |
public void setReturnProvisionIsSet(boolean value) {
|
|
|
568 |
__isset_bit_vector.set(__RETURNPROVISION_ISSET_ID, value);
|
|
|
569 |
}
|
|
|
570 |
|
|
|
571 |
public double getCommission() {
|
|
|
572 |
return this.commission;
|
|
|
573 |
}
|
|
|
574 |
|
|
|
575 |
public void setCommission(double commission) {
|
|
|
576 |
this.commission = commission;
|
|
|
577 |
setCommissionIsSet(true);
|
|
|
578 |
}
|
|
|
579 |
|
|
|
580 |
public void unsetCommission() {
|
|
|
581 |
__isset_bit_vector.clear(__COMMISSION_ISSET_ID);
|
|
|
582 |
}
|
|
|
583 |
|
|
|
584 |
/** Returns true if field commission is set (has been assigned a value) and false otherwise */
|
|
|
585 |
public boolean isSetCommission() {
|
|
|
586 |
return __isset_bit_vector.get(__COMMISSION_ISSET_ID);
|
|
|
587 |
}
|
|
|
588 |
|
|
|
589 |
public void setCommissionIsSet(boolean value) {
|
|
|
590 |
__isset_bit_vector.set(__COMMISSION_ISSET_ID, value);
|
|
|
591 |
}
|
|
|
592 |
|
|
|
593 |
public double getVat() {
|
|
|
594 |
return this.vat;
|
|
|
595 |
}
|
|
|
596 |
|
|
|
597 |
public void setVat(double vat) {
|
|
|
598 |
this.vat = vat;
|
|
|
599 |
setVatIsSet(true);
|
|
|
600 |
}
|
|
|
601 |
|
|
|
602 |
public void unsetVat() {
|
|
|
603 |
__isset_bit_vector.clear(__VAT_ISSET_ID);
|
|
|
604 |
}
|
|
|
605 |
|
|
|
606 |
/** Returns true if field vat is set (has been assigned a value) and false otherwise */
|
|
|
607 |
public boolean isSetVat() {
|
|
|
608 |
return __isset_bit_vector.get(__VAT_ISSET_ID);
|
|
|
609 |
}
|
|
|
610 |
|
|
|
611 |
public void setVatIsSet(boolean value) {
|
|
|
612 |
__isset_bit_vector.set(__VAT_ISSET_ID, value);
|
|
|
613 |
}
|
|
|
614 |
|
|
|
615 |
public double getPackagingCost() {
|
|
|
616 |
return this.packagingCost;
|
|
|
617 |
}
|
|
|
618 |
|
|
|
619 |
public void setPackagingCost(double packagingCost) {
|
|
|
620 |
this.packagingCost = packagingCost;
|
|
|
621 |
setPackagingCostIsSet(true);
|
|
|
622 |
}
|
|
|
623 |
|
|
|
624 |
public void unsetPackagingCost() {
|
|
|
625 |
__isset_bit_vector.clear(__PACKAGINGCOST_ISSET_ID);
|
|
|
626 |
}
|
|
|
627 |
|
|
|
628 |
/** Returns true if field packagingCost is set (has been assigned a value) and false otherwise */
|
|
|
629 |
public boolean isSetPackagingCost() {
|
|
|
630 |
return __isset_bit_vector.get(__PACKAGINGCOST_ISSET_ID);
|
|
|
631 |
}
|
|
|
632 |
|
|
|
633 |
public void setPackagingCostIsSet(boolean value) {
|
|
|
634 |
__isset_bit_vector.set(__PACKAGINGCOST_ISSET_ID, value);
|
|
|
635 |
}
|
|
|
636 |
|
|
|
637 |
public double getOtherCost() {
|
|
|
638 |
return this.otherCost;
|
|
|
639 |
}
|
|
|
640 |
|
|
|
641 |
public void setOtherCost(double otherCost) {
|
|
|
642 |
this.otherCost = otherCost;
|
|
|
643 |
setOtherCostIsSet(true);
|
|
|
644 |
}
|
|
|
645 |
|
|
|
646 |
public void unsetOtherCost() {
|
|
|
647 |
__isset_bit_vector.clear(__OTHERCOST_ISSET_ID);
|
|
|
648 |
}
|
|
|
649 |
|
|
|
650 |
/** Returns true if field otherCost is set (has been assigned a value) and false otherwise */
|
|
|
651 |
public boolean isSetOtherCost() {
|
|
|
652 |
return __isset_bit_vector.get(__OTHERCOST_ISSET_ID);
|
|
|
653 |
}
|
|
|
654 |
|
|
|
655 |
public void setOtherCostIsSet(boolean value) {
|
|
|
656 |
__isset_bit_vector.set(__OTHERCOST_ISSET_ID, value);
|
|
|
657 |
}
|
|
|
658 |
|
|
|
659 |
public double getServiceTax() {
|
|
|
660 |
return this.serviceTax;
|
|
|
661 |
}
|
|
|
662 |
|
|
|
663 |
public void setServiceTax(double serviceTax) {
|
|
|
664 |
this.serviceTax = serviceTax;
|
|
|
665 |
setServiceTaxIsSet(true);
|
|
|
666 |
}
|
|
|
667 |
|
|
|
668 |
public void unsetServiceTax() {
|
|
|
669 |
__isset_bit_vector.clear(__SERVICETAX_ISSET_ID);
|
|
|
670 |
}
|
|
|
671 |
|
|
|
672 |
/** Returns true if field serviceTax is set (has been assigned a value) and false otherwise */
|
|
|
673 |
public boolean isSetServiceTax() {
|
|
|
674 |
return __isset_bit_vector.get(__SERVICETAX_ISSET_ID);
|
|
|
675 |
}
|
|
|
676 |
|
|
|
677 |
public void setServiceTaxIsSet(boolean value) {
|
|
|
678 |
__isset_bit_vector.set(__SERVICETAX_ISSET_ID, value);
|
|
|
679 |
}
|
|
|
680 |
|
|
|
681 |
public boolean isAutoIncrement() {
|
|
|
682 |
return this.autoIncrement;
|
|
|
683 |
}
|
|
|
684 |
|
|
|
685 |
public void setAutoIncrement(boolean autoIncrement) {
|
|
|
686 |
this.autoIncrement = autoIncrement;
|
|
|
687 |
setAutoIncrementIsSet(true);
|
|
|
688 |
}
|
|
|
689 |
|
|
|
690 |
public void unsetAutoIncrement() {
|
|
|
691 |
__isset_bit_vector.clear(__AUTOINCREMENT_ISSET_ID);
|
|
|
692 |
}
|
|
|
693 |
|
|
|
694 |
/** Returns true if field autoIncrement is set (has been assigned a value) and false otherwise */
|
|
|
695 |
public boolean isSetAutoIncrement() {
|
|
|
696 |
return __isset_bit_vector.get(__AUTOINCREMENT_ISSET_ID);
|
|
|
697 |
}
|
|
|
698 |
|
|
|
699 |
public void setAutoIncrementIsSet(boolean value) {
|
|
|
700 |
__isset_bit_vector.set(__AUTOINCREMENT_ISSET_ID, value);
|
|
|
701 |
}
|
|
|
702 |
|
|
|
703 |
public boolean isAutoDecrement() {
|
|
|
704 |
return this.autoDecrement;
|
|
|
705 |
}
|
|
|
706 |
|
|
|
707 |
public void setAutoDecrement(boolean autoDecrement) {
|
|
|
708 |
this.autoDecrement = autoDecrement;
|
|
|
709 |
setAutoDecrementIsSet(true);
|
|
|
710 |
}
|
|
|
711 |
|
|
|
712 |
public void unsetAutoDecrement() {
|
|
|
713 |
__isset_bit_vector.clear(__AUTODECREMENT_ISSET_ID);
|
|
|
714 |
}
|
|
|
715 |
|
|
|
716 |
/** Returns true if field autoDecrement is set (has been assigned a value) and false otherwise */
|
|
|
717 |
public boolean isSetAutoDecrement() {
|
|
|
718 |
return __isset_bit_vector.get(__AUTODECREMENT_ISSET_ID);
|
|
|
719 |
}
|
|
|
720 |
|
|
|
721 |
public void setAutoDecrementIsSet(boolean value) {
|
|
|
722 |
__isset_bit_vector.set(__AUTODECREMENT_ISSET_ID, value);
|
|
|
723 |
}
|
|
|
724 |
|
|
|
725 |
public boolean isManualFavourite() {
|
|
|
726 |
return this.manualFavourite;
|
|
|
727 |
}
|
|
|
728 |
|
|
|
729 |
public void setManualFavourite(boolean manualFavourite) {
|
|
|
730 |
this.manualFavourite = manualFavourite;
|
|
|
731 |
setManualFavouriteIsSet(true);
|
|
|
732 |
}
|
|
|
733 |
|
|
|
734 |
public void unsetManualFavourite() {
|
|
|
735 |
__isset_bit_vector.clear(__MANUALFAVOURITE_ISSET_ID);
|
|
|
736 |
}
|
|
|
737 |
|
|
|
738 |
/** Returns true if field manualFavourite is set (has been assigned a value) and false otherwise */
|
|
|
739 |
public boolean isSetManualFavourite() {
|
|
|
740 |
return __isset_bit_vector.get(__MANUALFAVOURITE_ISSET_ID);
|
|
|
741 |
}
|
|
|
742 |
|
|
|
743 |
public void setManualFavouriteIsSet(boolean value) {
|
|
|
744 |
__isset_bit_vector.set(__MANUALFAVOURITE_ISSET_ID, value);
|
|
|
745 |
}
|
|
|
746 |
|
|
|
747 |
public boolean isAutoFavourite() {
|
|
|
748 |
return this.autoFavourite;
|
|
|
749 |
}
|
|
|
750 |
|
|
|
751 |
public void setAutoFavourite(boolean autoFavourite) {
|
|
|
752 |
this.autoFavourite = autoFavourite;
|
|
|
753 |
setAutoFavouriteIsSet(true);
|
|
|
754 |
}
|
|
|
755 |
|
|
|
756 |
public void unsetAutoFavourite() {
|
|
|
757 |
__isset_bit_vector.clear(__AUTOFAVOURITE_ISSET_ID);
|
|
|
758 |
}
|
|
|
759 |
|
|
|
760 |
/** Returns true if field autoFavourite is set (has been assigned a value) and false otherwise */
|
|
|
761 |
public boolean isSetAutoFavourite() {
|
|
|
762 |
return __isset_bit_vector.get(__AUTOFAVOURITE_ISSET_ID);
|
|
|
763 |
}
|
|
|
764 |
|
|
|
765 |
public void setAutoFavouriteIsSet(boolean value) {
|
|
|
766 |
__isset_bit_vector.set(__AUTOFAVOURITE_ISSET_ID, value);
|
|
|
767 |
}
|
|
|
768 |
|
|
|
769 |
public double getCurrentSp() {
|
|
|
770 |
return this.currentSp;
|
|
|
771 |
}
|
|
|
772 |
|
|
|
773 |
public void setCurrentSp(double currentSp) {
|
|
|
774 |
this.currentSp = currentSp;
|
|
|
775 |
setCurrentSpIsSet(true);
|
|
|
776 |
}
|
|
|
777 |
|
|
|
778 |
public void unsetCurrentSp() {
|
|
|
779 |
__isset_bit_vector.clear(__CURRENTSP_ISSET_ID);
|
|
|
780 |
}
|
|
|
781 |
|
|
|
782 |
/** Returns true if field currentSp is set (has been assigned a value) and false otherwise */
|
|
|
783 |
public boolean isSetCurrentSp() {
|
|
|
784 |
return __isset_bit_vector.get(__CURRENTSP_ISSET_ID);
|
|
|
785 |
}
|
|
|
786 |
|
|
|
787 |
public void setCurrentSpIsSet(boolean value) {
|
|
|
788 |
__isset_bit_vector.set(__CURRENTSP_ISSET_ID, value);
|
|
|
789 |
}
|
|
|
790 |
|
|
|
791 |
public double getCurrentTp() {
|
|
|
792 |
return this.currentTp;
|
|
|
793 |
}
|
|
|
794 |
|
|
|
795 |
public void setCurrentTp(double currentTp) {
|
|
|
796 |
this.currentTp = currentTp;
|
|
|
797 |
setCurrentTpIsSet(true);
|
|
|
798 |
}
|
|
|
799 |
|
|
|
800 |
public void unsetCurrentTp() {
|
|
|
801 |
__isset_bit_vector.clear(__CURRENTTP_ISSET_ID);
|
|
|
802 |
}
|
|
|
803 |
|
|
|
804 |
/** Returns true if field currentTp is set (has been assigned a value) and false otherwise */
|
|
|
805 |
public boolean isSetCurrentTp() {
|
|
|
806 |
return __isset_bit_vector.get(__CURRENTTP_ISSET_ID);
|
|
|
807 |
}
|
|
|
808 |
|
|
|
809 |
public void setCurrentTpIsSet(boolean value) {
|
|
|
810 |
__isset_bit_vector.set(__CURRENTTP_ISSET_ID, value);
|
|
|
811 |
}
|
|
|
812 |
|
|
|
813 |
public double getMinimumPossibleSp() {
|
|
|
814 |
return this.minimumPossibleSp;
|
|
|
815 |
}
|
|
|
816 |
|
|
|
817 |
public void setMinimumPossibleSp(double minimumPossibleSp) {
|
|
|
818 |
this.minimumPossibleSp = minimumPossibleSp;
|
|
|
819 |
setMinimumPossibleSpIsSet(true);
|
|
|
820 |
}
|
|
|
821 |
|
|
|
822 |
public void unsetMinimumPossibleSp() {
|
|
|
823 |
__isset_bit_vector.clear(__MINIMUMPOSSIBLESP_ISSET_ID);
|
|
|
824 |
}
|
|
|
825 |
|
|
|
826 |
/** Returns true if field minimumPossibleSp is set (has been assigned a value) and false otherwise */
|
|
|
827 |
public boolean isSetMinimumPossibleSp() {
|
|
|
828 |
return __isset_bit_vector.get(__MINIMUMPOSSIBLESP_ISSET_ID);
|
|
|
829 |
}
|
|
|
830 |
|
|
|
831 |
public void setMinimumPossibleSpIsSet(boolean value) {
|
|
|
832 |
__isset_bit_vector.set(__MINIMUMPOSSIBLESP_ISSET_ID, value);
|
|
|
833 |
}
|
|
|
834 |
|
|
|
835 |
public double getMinimumPossibleTp() {
|
|
|
836 |
return this.minimumPossibleTp;
|
|
|
837 |
}
|
|
|
838 |
|
|
|
839 |
public void setMinimumPossibleTp(double minimumPossibleTp) {
|
|
|
840 |
this.minimumPossibleTp = minimumPossibleTp;
|
|
|
841 |
setMinimumPossibleTpIsSet(true);
|
|
|
842 |
}
|
|
|
843 |
|
|
|
844 |
public void unsetMinimumPossibleTp() {
|
|
|
845 |
__isset_bit_vector.clear(__MINIMUMPOSSIBLETP_ISSET_ID);
|
|
|
846 |
}
|
|
|
847 |
|
|
|
848 |
/** Returns true if field minimumPossibleTp is set (has been assigned a value) and false otherwise */
|
|
|
849 |
public boolean isSetMinimumPossibleTp() {
|
|
|
850 |
return __isset_bit_vector.get(__MINIMUMPOSSIBLETP_ISSET_ID);
|
|
|
851 |
}
|
|
|
852 |
|
|
|
853 |
public void setMinimumPossibleTpIsSet(boolean value) {
|
|
|
854 |
__isset_bit_vector.set(__MINIMUMPOSSIBLETP_ISSET_ID, value);
|
|
|
855 |
}
|
|
|
856 |
|
|
|
857 |
public long getLastCheckedTimestamp() {
|
|
|
858 |
return this.lastCheckedTimestamp;
|
|
|
859 |
}
|
|
|
860 |
|
|
|
861 |
public void setLastCheckedTimestamp(long lastCheckedTimestamp) {
|
|
|
862 |
this.lastCheckedTimestamp = lastCheckedTimestamp;
|
|
|
863 |
setLastCheckedTimestampIsSet(true);
|
|
|
864 |
}
|
|
|
865 |
|
|
|
866 |
public void unsetLastCheckedTimestamp() {
|
|
|
867 |
__isset_bit_vector.clear(__LASTCHECKEDTIMESTAMP_ISSET_ID);
|
|
|
868 |
}
|
|
|
869 |
|
|
|
870 |
/** Returns true if field lastCheckedTimestamp is set (has been assigned a value) and false otherwise */
|
|
|
871 |
public boolean isSetLastCheckedTimestamp() {
|
|
|
872 |
return __isset_bit_vector.get(__LASTCHECKEDTIMESTAMP_ISSET_ID);
|
|
|
873 |
}
|
|
|
874 |
|
|
|
875 |
public void setLastCheckedTimestampIsSet(boolean value) {
|
|
|
876 |
__isset_bit_vector.set(__LASTCHECKEDTIMESTAMP_ISSET_ID, value);
|
|
|
877 |
}
|
|
|
878 |
|
| 9909 |
kshitij.so |
879 |
public double getMaximumSellingPrice() {
|
|
|
880 |
return this.maximumSellingPrice;
|
|
|
881 |
}
|
|
|
882 |
|
|
|
883 |
public void setMaximumSellingPrice(double maximumSellingPrice) {
|
|
|
884 |
this.maximumSellingPrice = maximumSellingPrice;
|
|
|
885 |
setMaximumSellingPriceIsSet(true);
|
|
|
886 |
}
|
|
|
887 |
|
|
|
888 |
public void unsetMaximumSellingPrice() {
|
|
|
889 |
__isset_bit_vector.clear(__MAXIMUMSELLINGPRICE_ISSET_ID);
|
|
|
890 |
}
|
|
|
891 |
|
|
|
892 |
/** Returns true if field maximumSellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
893 |
public boolean isSetMaximumSellingPrice() {
|
|
|
894 |
return __isset_bit_vector.get(__MAXIMUMSELLINGPRICE_ISSET_ID);
|
|
|
895 |
}
|
|
|
896 |
|
|
|
897 |
public void setMaximumSellingPriceIsSet(boolean value) {
|
|
|
898 |
__isset_bit_vector.set(__MAXIMUMSELLINGPRICE_ISSET_ID, value);
|
|
|
899 |
}
|
|
|
900 |
|
| 10287 |
kshitij.so |
901 |
public double getPgFee() {
|
|
|
902 |
return this.pgFee;
|
|
|
903 |
}
|
|
|
904 |
|
|
|
905 |
public void setPgFee(double pgFee) {
|
|
|
906 |
this.pgFee = pgFee;
|
|
|
907 |
setPgFeeIsSet(true);
|
|
|
908 |
}
|
|
|
909 |
|
|
|
910 |
public void unsetPgFee() {
|
|
|
911 |
__isset_bit_vector.clear(__PGFEE_ISSET_ID);
|
|
|
912 |
}
|
|
|
913 |
|
|
|
914 |
/** Returns true if field pgFee is set (has been assigned a value) and false otherwise */
|
|
|
915 |
public boolean isSetPgFee() {
|
|
|
916 |
return __isset_bit_vector.get(__PGFEE_ISSET_ID);
|
|
|
917 |
}
|
|
|
918 |
|
|
|
919 |
public void setPgFeeIsSet(boolean value) {
|
|
|
920 |
__isset_bit_vector.set(__PGFEE_ISSET_ID, value);
|
|
|
921 |
}
|
|
|
922 |
|
| 11095 |
kshitij.so |
923 |
public double getCourierCostMarketplace() {
|
|
|
924 |
return this.courierCostMarketplace;
|
|
|
925 |
}
|
|
|
926 |
|
|
|
927 |
public void setCourierCostMarketplace(double courierCostMarketplace) {
|
|
|
928 |
this.courierCostMarketplace = courierCostMarketplace;
|
|
|
929 |
setCourierCostMarketplaceIsSet(true);
|
|
|
930 |
}
|
|
|
931 |
|
|
|
932 |
public void unsetCourierCostMarketplace() {
|
|
|
933 |
__isset_bit_vector.clear(__COURIERCOSTMARKETPLACE_ISSET_ID);
|
|
|
934 |
}
|
|
|
935 |
|
|
|
936 |
/** Returns true if field courierCostMarketplace is set (has been assigned a value) and false otherwise */
|
|
|
937 |
public boolean isSetCourierCostMarketplace() {
|
|
|
938 |
return __isset_bit_vector.get(__COURIERCOSTMARKETPLACE_ISSET_ID);
|
|
|
939 |
}
|
|
|
940 |
|
|
|
941 |
public void setCourierCostMarketplaceIsSet(boolean value) {
|
|
|
942 |
__isset_bit_vector.set(__COURIERCOSTMARKETPLACE_ISSET_ID, value);
|
|
|
943 |
}
|
|
|
944 |
|
| 9724 |
kshitij.so |
945 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
946 |
switch (field) {
|
|
|
947 |
case ITEM_ID:
|
|
|
948 |
if (value == null) {
|
|
|
949 |
unsetItemId();
|
|
|
950 |
} else {
|
|
|
951 |
setItemId((Long)value);
|
|
|
952 |
}
|
|
|
953 |
break;
|
|
|
954 |
|
|
|
955 |
case SOURCE:
|
|
|
956 |
if (value == null) {
|
|
|
957 |
unsetSource();
|
|
|
958 |
} else {
|
|
|
959 |
setSource((Long)value);
|
|
|
960 |
}
|
|
|
961 |
break;
|
|
|
962 |
|
|
|
963 |
case EMI_FEE:
|
|
|
964 |
if (value == null) {
|
|
|
965 |
unsetEmiFee();
|
|
|
966 |
} else {
|
|
|
967 |
setEmiFee((Double)value);
|
|
|
968 |
}
|
|
|
969 |
break;
|
|
|
970 |
|
|
|
971 |
case COURIER_COST:
|
|
|
972 |
if (value == null) {
|
|
|
973 |
unsetCourierCost();
|
|
|
974 |
} else {
|
|
|
975 |
setCourierCost((Double)value);
|
|
|
976 |
}
|
|
|
977 |
break;
|
|
|
978 |
|
|
|
979 |
case CLOSING_FEE:
|
|
|
980 |
if (value == null) {
|
|
|
981 |
unsetClosingFee();
|
|
|
982 |
} else {
|
|
|
983 |
setClosingFee((Double)value);
|
|
|
984 |
}
|
|
|
985 |
break;
|
|
|
986 |
|
|
|
987 |
case RETURN_PROVISION:
|
|
|
988 |
if (value == null) {
|
|
|
989 |
unsetReturnProvision();
|
|
|
990 |
} else {
|
|
|
991 |
setReturnProvision((Double)value);
|
|
|
992 |
}
|
|
|
993 |
break;
|
|
|
994 |
|
|
|
995 |
case COMMISSION:
|
|
|
996 |
if (value == null) {
|
|
|
997 |
unsetCommission();
|
|
|
998 |
} else {
|
|
|
999 |
setCommission((Double)value);
|
|
|
1000 |
}
|
|
|
1001 |
break;
|
|
|
1002 |
|
|
|
1003 |
case VAT:
|
|
|
1004 |
if (value == null) {
|
|
|
1005 |
unsetVat();
|
|
|
1006 |
} else {
|
|
|
1007 |
setVat((Double)value);
|
|
|
1008 |
}
|
|
|
1009 |
break;
|
|
|
1010 |
|
|
|
1011 |
case PACKAGING_COST:
|
|
|
1012 |
if (value == null) {
|
|
|
1013 |
unsetPackagingCost();
|
|
|
1014 |
} else {
|
|
|
1015 |
setPackagingCost((Double)value);
|
|
|
1016 |
}
|
|
|
1017 |
break;
|
|
|
1018 |
|
|
|
1019 |
case OTHER_COST:
|
|
|
1020 |
if (value == null) {
|
|
|
1021 |
unsetOtherCost();
|
|
|
1022 |
} else {
|
|
|
1023 |
setOtherCost((Double)value);
|
|
|
1024 |
}
|
|
|
1025 |
break;
|
|
|
1026 |
|
|
|
1027 |
case SERVICE_TAX:
|
|
|
1028 |
if (value == null) {
|
|
|
1029 |
unsetServiceTax();
|
|
|
1030 |
} else {
|
|
|
1031 |
setServiceTax((Double)value);
|
|
|
1032 |
}
|
|
|
1033 |
break;
|
|
|
1034 |
|
|
|
1035 |
case AUTO_INCREMENT:
|
|
|
1036 |
if (value == null) {
|
|
|
1037 |
unsetAutoIncrement();
|
|
|
1038 |
} else {
|
|
|
1039 |
setAutoIncrement((Boolean)value);
|
|
|
1040 |
}
|
|
|
1041 |
break;
|
|
|
1042 |
|
|
|
1043 |
case AUTO_DECREMENT:
|
|
|
1044 |
if (value == null) {
|
|
|
1045 |
unsetAutoDecrement();
|
|
|
1046 |
} else {
|
|
|
1047 |
setAutoDecrement((Boolean)value);
|
|
|
1048 |
}
|
|
|
1049 |
break;
|
|
|
1050 |
|
|
|
1051 |
case MANUAL_FAVOURITE:
|
|
|
1052 |
if (value == null) {
|
|
|
1053 |
unsetManualFavourite();
|
|
|
1054 |
} else {
|
|
|
1055 |
setManualFavourite((Boolean)value);
|
|
|
1056 |
}
|
|
|
1057 |
break;
|
|
|
1058 |
|
|
|
1059 |
case AUTO_FAVOURITE:
|
|
|
1060 |
if (value == null) {
|
|
|
1061 |
unsetAutoFavourite();
|
|
|
1062 |
} else {
|
|
|
1063 |
setAutoFavourite((Boolean)value);
|
|
|
1064 |
}
|
|
|
1065 |
break;
|
|
|
1066 |
|
|
|
1067 |
case CURRENT_SP:
|
|
|
1068 |
if (value == null) {
|
|
|
1069 |
unsetCurrentSp();
|
|
|
1070 |
} else {
|
|
|
1071 |
setCurrentSp((Double)value);
|
|
|
1072 |
}
|
|
|
1073 |
break;
|
|
|
1074 |
|
|
|
1075 |
case CURRENT_TP:
|
|
|
1076 |
if (value == null) {
|
|
|
1077 |
unsetCurrentTp();
|
|
|
1078 |
} else {
|
|
|
1079 |
setCurrentTp((Double)value);
|
|
|
1080 |
}
|
|
|
1081 |
break;
|
|
|
1082 |
|
|
|
1083 |
case MINIMUM_POSSIBLE_SP:
|
|
|
1084 |
if (value == null) {
|
|
|
1085 |
unsetMinimumPossibleSp();
|
|
|
1086 |
} else {
|
|
|
1087 |
setMinimumPossibleSp((Double)value);
|
|
|
1088 |
}
|
|
|
1089 |
break;
|
|
|
1090 |
|
|
|
1091 |
case MINIMUM_POSSIBLE_TP:
|
|
|
1092 |
if (value == null) {
|
|
|
1093 |
unsetMinimumPossibleTp();
|
|
|
1094 |
} else {
|
|
|
1095 |
setMinimumPossibleTp((Double)value);
|
|
|
1096 |
}
|
|
|
1097 |
break;
|
|
|
1098 |
|
|
|
1099 |
case LAST_CHECKED_TIMESTAMP:
|
|
|
1100 |
if (value == null) {
|
|
|
1101 |
unsetLastCheckedTimestamp();
|
|
|
1102 |
} else {
|
|
|
1103 |
setLastCheckedTimestamp((Long)value);
|
|
|
1104 |
}
|
|
|
1105 |
break;
|
|
|
1106 |
|
| 9909 |
kshitij.so |
1107 |
case MAXIMUM_SELLING_PRICE:
|
|
|
1108 |
if (value == null) {
|
|
|
1109 |
unsetMaximumSellingPrice();
|
|
|
1110 |
} else {
|
|
|
1111 |
setMaximumSellingPrice((Double)value);
|
|
|
1112 |
}
|
|
|
1113 |
break;
|
|
|
1114 |
|
| 10287 |
kshitij.so |
1115 |
case PG_FEE:
|
|
|
1116 |
if (value == null) {
|
|
|
1117 |
unsetPgFee();
|
|
|
1118 |
} else {
|
|
|
1119 |
setPgFee((Double)value);
|
|
|
1120 |
}
|
|
|
1121 |
break;
|
|
|
1122 |
|
| 11095 |
kshitij.so |
1123 |
case COURIER_COST_MARKETPLACE:
|
|
|
1124 |
if (value == null) {
|
|
|
1125 |
unsetCourierCostMarketplace();
|
|
|
1126 |
} else {
|
|
|
1127 |
setCourierCostMarketplace((Double)value);
|
|
|
1128 |
}
|
|
|
1129 |
break;
|
|
|
1130 |
|
| 9724 |
kshitij.so |
1131 |
}
|
|
|
1132 |
}
|
|
|
1133 |
|
|
|
1134 |
public Object getFieldValue(_Fields field) {
|
|
|
1135 |
switch (field) {
|
|
|
1136 |
case ITEM_ID:
|
|
|
1137 |
return Long.valueOf(getItemId());
|
|
|
1138 |
|
|
|
1139 |
case SOURCE:
|
|
|
1140 |
return Long.valueOf(getSource());
|
|
|
1141 |
|
|
|
1142 |
case EMI_FEE:
|
|
|
1143 |
return Double.valueOf(getEmiFee());
|
|
|
1144 |
|
|
|
1145 |
case COURIER_COST:
|
|
|
1146 |
return Double.valueOf(getCourierCost());
|
|
|
1147 |
|
|
|
1148 |
case CLOSING_FEE:
|
|
|
1149 |
return Double.valueOf(getClosingFee());
|
|
|
1150 |
|
|
|
1151 |
case RETURN_PROVISION:
|
|
|
1152 |
return Double.valueOf(getReturnProvision());
|
|
|
1153 |
|
|
|
1154 |
case COMMISSION:
|
|
|
1155 |
return Double.valueOf(getCommission());
|
|
|
1156 |
|
|
|
1157 |
case VAT:
|
|
|
1158 |
return Double.valueOf(getVat());
|
|
|
1159 |
|
|
|
1160 |
case PACKAGING_COST:
|
|
|
1161 |
return Double.valueOf(getPackagingCost());
|
|
|
1162 |
|
|
|
1163 |
case OTHER_COST:
|
|
|
1164 |
return Double.valueOf(getOtherCost());
|
|
|
1165 |
|
|
|
1166 |
case SERVICE_TAX:
|
|
|
1167 |
return Double.valueOf(getServiceTax());
|
|
|
1168 |
|
|
|
1169 |
case AUTO_INCREMENT:
|
|
|
1170 |
return Boolean.valueOf(isAutoIncrement());
|
|
|
1171 |
|
|
|
1172 |
case AUTO_DECREMENT:
|
|
|
1173 |
return Boolean.valueOf(isAutoDecrement());
|
|
|
1174 |
|
|
|
1175 |
case MANUAL_FAVOURITE:
|
|
|
1176 |
return Boolean.valueOf(isManualFavourite());
|
|
|
1177 |
|
|
|
1178 |
case AUTO_FAVOURITE:
|
|
|
1179 |
return Boolean.valueOf(isAutoFavourite());
|
|
|
1180 |
|
|
|
1181 |
case CURRENT_SP:
|
|
|
1182 |
return Double.valueOf(getCurrentSp());
|
|
|
1183 |
|
|
|
1184 |
case CURRENT_TP:
|
|
|
1185 |
return Double.valueOf(getCurrentTp());
|
|
|
1186 |
|
|
|
1187 |
case MINIMUM_POSSIBLE_SP:
|
|
|
1188 |
return Double.valueOf(getMinimumPossibleSp());
|
|
|
1189 |
|
|
|
1190 |
case MINIMUM_POSSIBLE_TP:
|
|
|
1191 |
return Double.valueOf(getMinimumPossibleTp());
|
|
|
1192 |
|
|
|
1193 |
case LAST_CHECKED_TIMESTAMP:
|
|
|
1194 |
return Long.valueOf(getLastCheckedTimestamp());
|
|
|
1195 |
|
| 9909 |
kshitij.so |
1196 |
case MAXIMUM_SELLING_PRICE:
|
|
|
1197 |
return Double.valueOf(getMaximumSellingPrice());
|
|
|
1198 |
|
| 10287 |
kshitij.so |
1199 |
case PG_FEE:
|
|
|
1200 |
return Double.valueOf(getPgFee());
|
|
|
1201 |
|
| 11095 |
kshitij.so |
1202 |
case COURIER_COST_MARKETPLACE:
|
|
|
1203 |
return Double.valueOf(getCourierCostMarketplace());
|
|
|
1204 |
|
| 9724 |
kshitij.so |
1205 |
}
|
|
|
1206 |
throw new IllegalStateException();
|
|
|
1207 |
}
|
|
|
1208 |
|
|
|
1209 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
1210 |
public boolean isSet(_Fields field) {
|
|
|
1211 |
if (field == null) {
|
|
|
1212 |
throw new IllegalArgumentException();
|
|
|
1213 |
}
|
|
|
1214 |
|
|
|
1215 |
switch (field) {
|
|
|
1216 |
case ITEM_ID:
|
|
|
1217 |
return isSetItemId();
|
|
|
1218 |
case SOURCE:
|
|
|
1219 |
return isSetSource();
|
|
|
1220 |
case EMI_FEE:
|
|
|
1221 |
return isSetEmiFee();
|
|
|
1222 |
case COURIER_COST:
|
|
|
1223 |
return isSetCourierCost();
|
|
|
1224 |
case CLOSING_FEE:
|
|
|
1225 |
return isSetClosingFee();
|
|
|
1226 |
case RETURN_PROVISION:
|
|
|
1227 |
return isSetReturnProvision();
|
|
|
1228 |
case COMMISSION:
|
|
|
1229 |
return isSetCommission();
|
|
|
1230 |
case VAT:
|
|
|
1231 |
return isSetVat();
|
|
|
1232 |
case PACKAGING_COST:
|
|
|
1233 |
return isSetPackagingCost();
|
|
|
1234 |
case OTHER_COST:
|
|
|
1235 |
return isSetOtherCost();
|
|
|
1236 |
case SERVICE_TAX:
|
|
|
1237 |
return isSetServiceTax();
|
|
|
1238 |
case AUTO_INCREMENT:
|
|
|
1239 |
return isSetAutoIncrement();
|
|
|
1240 |
case AUTO_DECREMENT:
|
|
|
1241 |
return isSetAutoDecrement();
|
|
|
1242 |
case MANUAL_FAVOURITE:
|
|
|
1243 |
return isSetManualFavourite();
|
|
|
1244 |
case AUTO_FAVOURITE:
|
|
|
1245 |
return isSetAutoFavourite();
|
|
|
1246 |
case CURRENT_SP:
|
|
|
1247 |
return isSetCurrentSp();
|
|
|
1248 |
case CURRENT_TP:
|
|
|
1249 |
return isSetCurrentTp();
|
|
|
1250 |
case MINIMUM_POSSIBLE_SP:
|
|
|
1251 |
return isSetMinimumPossibleSp();
|
|
|
1252 |
case MINIMUM_POSSIBLE_TP:
|
|
|
1253 |
return isSetMinimumPossibleTp();
|
|
|
1254 |
case LAST_CHECKED_TIMESTAMP:
|
|
|
1255 |
return isSetLastCheckedTimestamp();
|
| 9909 |
kshitij.so |
1256 |
case MAXIMUM_SELLING_PRICE:
|
|
|
1257 |
return isSetMaximumSellingPrice();
|
| 10287 |
kshitij.so |
1258 |
case PG_FEE:
|
|
|
1259 |
return isSetPgFee();
|
| 11095 |
kshitij.so |
1260 |
case COURIER_COST_MARKETPLACE:
|
|
|
1261 |
return isSetCourierCostMarketplace();
|
| 9724 |
kshitij.so |
1262 |
}
|
|
|
1263 |
throw new IllegalStateException();
|
|
|
1264 |
}
|
|
|
1265 |
|
|
|
1266 |
@Override
|
|
|
1267 |
public boolean equals(Object that) {
|
|
|
1268 |
if (that == null)
|
|
|
1269 |
return false;
|
|
|
1270 |
if (that instanceof MarketplaceItems)
|
|
|
1271 |
return this.equals((MarketplaceItems)that);
|
|
|
1272 |
return false;
|
|
|
1273 |
}
|
|
|
1274 |
|
|
|
1275 |
public boolean equals(MarketplaceItems that) {
|
|
|
1276 |
if (that == null)
|
|
|
1277 |
return false;
|
|
|
1278 |
|
|
|
1279 |
boolean this_present_itemId = true;
|
|
|
1280 |
boolean that_present_itemId = true;
|
|
|
1281 |
if (this_present_itemId || that_present_itemId) {
|
|
|
1282 |
if (!(this_present_itemId && that_present_itemId))
|
|
|
1283 |
return false;
|
|
|
1284 |
if (this.itemId != that.itemId)
|
|
|
1285 |
return false;
|
|
|
1286 |
}
|
|
|
1287 |
|
|
|
1288 |
boolean this_present_source = true;
|
|
|
1289 |
boolean that_present_source = true;
|
|
|
1290 |
if (this_present_source || that_present_source) {
|
|
|
1291 |
if (!(this_present_source && that_present_source))
|
|
|
1292 |
return false;
|
|
|
1293 |
if (this.source != that.source)
|
|
|
1294 |
return false;
|
|
|
1295 |
}
|
|
|
1296 |
|
|
|
1297 |
boolean this_present_emiFee = true;
|
|
|
1298 |
boolean that_present_emiFee = true;
|
|
|
1299 |
if (this_present_emiFee || that_present_emiFee) {
|
|
|
1300 |
if (!(this_present_emiFee && that_present_emiFee))
|
|
|
1301 |
return false;
|
|
|
1302 |
if (this.emiFee != that.emiFee)
|
|
|
1303 |
return false;
|
|
|
1304 |
}
|
|
|
1305 |
|
|
|
1306 |
boolean this_present_courierCost = true;
|
|
|
1307 |
boolean that_present_courierCost = true;
|
|
|
1308 |
if (this_present_courierCost || that_present_courierCost) {
|
|
|
1309 |
if (!(this_present_courierCost && that_present_courierCost))
|
|
|
1310 |
return false;
|
|
|
1311 |
if (this.courierCost != that.courierCost)
|
|
|
1312 |
return false;
|
|
|
1313 |
}
|
|
|
1314 |
|
|
|
1315 |
boolean this_present_closingFee = true;
|
|
|
1316 |
boolean that_present_closingFee = true;
|
|
|
1317 |
if (this_present_closingFee || that_present_closingFee) {
|
|
|
1318 |
if (!(this_present_closingFee && that_present_closingFee))
|
|
|
1319 |
return false;
|
|
|
1320 |
if (this.closingFee != that.closingFee)
|
|
|
1321 |
return false;
|
|
|
1322 |
}
|
|
|
1323 |
|
|
|
1324 |
boolean this_present_returnProvision = true;
|
|
|
1325 |
boolean that_present_returnProvision = true;
|
|
|
1326 |
if (this_present_returnProvision || that_present_returnProvision) {
|
|
|
1327 |
if (!(this_present_returnProvision && that_present_returnProvision))
|
|
|
1328 |
return false;
|
|
|
1329 |
if (this.returnProvision != that.returnProvision)
|
|
|
1330 |
return false;
|
|
|
1331 |
}
|
|
|
1332 |
|
|
|
1333 |
boolean this_present_commission = true;
|
|
|
1334 |
boolean that_present_commission = true;
|
|
|
1335 |
if (this_present_commission || that_present_commission) {
|
|
|
1336 |
if (!(this_present_commission && that_present_commission))
|
|
|
1337 |
return false;
|
|
|
1338 |
if (this.commission != that.commission)
|
|
|
1339 |
return false;
|
|
|
1340 |
}
|
|
|
1341 |
|
|
|
1342 |
boolean this_present_vat = true;
|
|
|
1343 |
boolean that_present_vat = true;
|
|
|
1344 |
if (this_present_vat || that_present_vat) {
|
|
|
1345 |
if (!(this_present_vat && that_present_vat))
|
|
|
1346 |
return false;
|
|
|
1347 |
if (this.vat != that.vat)
|
|
|
1348 |
return false;
|
|
|
1349 |
}
|
|
|
1350 |
|
|
|
1351 |
boolean this_present_packagingCost = true;
|
|
|
1352 |
boolean that_present_packagingCost = true;
|
|
|
1353 |
if (this_present_packagingCost || that_present_packagingCost) {
|
|
|
1354 |
if (!(this_present_packagingCost && that_present_packagingCost))
|
|
|
1355 |
return false;
|
|
|
1356 |
if (this.packagingCost != that.packagingCost)
|
|
|
1357 |
return false;
|
|
|
1358 |
}
|
|
|
1359 |
|
|
|
1360 |
boolean this_present_otherCost = true;
|
|
|
1361 |
boolean that_present_otherCost = true;
|
|
|
1362 |
if (this_present_otherCost || that_present_otherCost) {
|
|
|
1363 |
if (!(this_present_otherCost && that_present_otherCost))
|
|
|
1364 |
return false;
|
|
|
1365 |
if (this.otherCost != that.otherCost)
|
|
|
1366 |
return false;
|
|
|
1367 |
}
|
|
|
1368 |
|
|
|
1369 |
boolean this_present_serviceTax = true;
|
|
|
1370 |
boolean that_present_serviceTax = true;
|
|
|
1371 |
if (this_present_serviceTax || that_present_serviceTax) {
|
|
|
1372 |
if (!(this_present_serviceTax && that_present_serviceTax))
|
|
|
1373 |
return false;
|
|
|
1374 |
if (this.serviceTax != that.serviceTax)
|
|
|
1375 |
return false;
|
|
|
1376 |
}
|
|
|
1377 |
|
|
|
1378 |
boolean this_present_autoIncrement = true;
|
|
|
1379 |
boolean that_present_autoIncrement = true;
|
|
|
1380 |
if (this_present_autoIncrement || that_present_autoIncrement) {
|
|
|
1381 |
if (!(this_present_autoIncrement && that_present_autoIncrement))
|
|
|
1382 |
return false;
|
|
|
1383 |
if (this.autoIncrement != that.autoIncrement)
|
|
|
1384 |
return false;
|
|
|
1385 |
}
|
|
|
1386 |
|
|
|
1387 |
boolean this_present_autoDecrement = true;
|
|
|
1388 |
boolean that_present_autoDecrement = true;
|
|
|
1389 |
if (this_present_autoDecrement || that_present_autoDecrement) {
|
|
|
1390 |
if (!(this_present_autoDecrement && that_present_autoDecrement))
|
|
|
1391 |
return false;
|
|
|
1392 |
if (this.autoDecrement != that.autoDecrement)
|
|
|
1393 |
return false;
|
|
|
1394 |
}
|
|
|
1395 |
|
|
|
1396 |
boolean this_present_manualFavourite = true;
|
|
|
1397 |
boolean that_present_manualFavourite = true;
|
|
|
1398 |
if (this_present_manualFavourite || that_present_manualFavourite) {
|
|
|
1399 |
if (!(this_present_manualFavourite && that_present_manualFavourite))
|
|
|
1400 |
return false;
|
|
|
1401 |
if (this.manualFavourite != that.manualFavourite)
|
|
|
1402 |
return false;
|
|
|
1403 |
}
|
|
|
1404 |
|
|
|
1405 |
boolean this_present_autoFavourite = true;
|
|
|
1406 |
boolean that_present_autoFavourite = true;
|
|
|
1407 |
if (this_present_autoFavourite || that_present_autoFavourite) {
|
|
|
1408 |
if (!(this_present_autoFavourite && that_present_autoFavourite))
|
|
|
1409 |
return false;
|
|
|
1410 |
if (this.autoFavourite != that.autoFavourite)
|
|
|
1411 |
return false;
|
|
|
1412 |
}
|
|
|
1413 |
|
|
|
1414 |
boolean this_present_currentSp = true;
|
|
|
1415 |
boolean that_present_currentSp = true;
|
|
|
1416 |
if (this_present_currentSp || that_present_currentSp) {
|
|
|
1417 |
if (!(this_present_currentSp && that_present_currentSp))
|
|
|
1418 |
return false;
|
|
|
1419 |
if (this.currentSp != that.currentSp)
|
|
|
1420 |
return false;
|
|
|
1421 |
}
|
|
|
1422 |
|
|
|
1423 |
boolean this_present_currentTp = true;
|
|
|
1424 |
boolean that_present_currentTp = true;
|
|
|
1425 |
if (this_present_currentTp || that_present_currentTp) {
|
|
|
1426 |
if (!(this_present_currentTp && that_present_currentTp))
|
|
|
1427 |
return false;
|
|
|
1428 |
if (this.currentTp != that.currentTp)
|
|
|
1429 |
return false;
|
|
|
1430 |
}
|
|
|
1431 |
|
|
|
1432 |
boolean this_present_minimumPossibleSp = true;
|
|
|
1433 |
boolean that_present_minimumPossibleSp = true;
|
|
|
1434 |
if (this_present_minimumPossibleSp || that_present_minimumPossibleSp) {
|
|
|
1435 |
if (!(this_present_minimumPossibleSp && that_present_minimumPossibleSp))
|
|
|
1436 |
return false;
|
|
|
1437 |
if (this.minimumPossibleSp != that.minimumPossibleSp)
|
|
|
1438 |
return false;
|
|
|
1439 |
}
|
|
|
1440 |
|
|
|
1441 |
boolean this_present_minimumPossibleTp = true;
|
|
|
1442 |
boolean that_present_minimumPossibleTp = true;
|
|
|
1443 |
if (this_present_minimumPossibleTp || that_present_minimumPossibleTp) {
|
|
|
1444 |
if (!(this_present_minimumPossibleTp && that_present_minimumPossibleTp))
|
|
|
1445 |
return false;
|
|
|
1446 |
if (this.minimumPossibleTp != that.minimumPossibleTp)
|
|
|
1447 |
return false;
|
|
|
1448 |
}
|
|
|
1449 |
|
|
|
1450 |
boolean this_present_lastCheckedTimestamp = true;
|
|
|
1451 |
boolean that_present_lastCheckedTimestamp = true;
|
|
|
1452 |
if (this_present_lastCheckedTimestamp || that_present_lastCheckedTimestamp) {
|
|
|
1453 |
if (!(this_present_lastCheckedTimestamp && that_present_lastCheckedTimestamp))
|
|
|
1454 |
return false;
|
|
|
1455 |
if (this.lastCheckedTimestamp != that.lastCheckedTimestamp)
|
|
|
1456 |
return false;
|
|
|
1457 |
}
|
|
|
1458 |
|
| 9909 |
kshitij.so |
1459 |
boolean this_present_maximumSellingPrice = true;
|
|
|
1460 |
boolean that_present_maximumSellingPrice = true;
|
|
|
1461 |
if (this_present_maximumSellingPrice || that_present_maximumSellingPrice) {
|
|
|
1462 |
if (!(this_present_maximumSellingPrice && that_present_maximumSellingPrice))
|
|
|
1463 |
return false;
|
|
|
1464 |
if (this.maximumSellingPrice != that.maximumSellingPrice)
|
|
|
1465 |
return false;
|
|
|
1466 |
}
|
|
|
1467 |
|
| 10287 |
kshitij.so |
1468 |
boolean this_present_pgFee = true;
|
|
|
1469 |
boolean that_present_pgFee = true;
|
|
|
1470 |
if (this_present_pgFee || that_present_pgFee) {
|
|
|
1471 |
if (!(this_present_pgFee && that_present_pgFee))
|
|
|
1472 |
return false;
|
|
|
1473 |
if (this.pgFee != that.pgFee)
|
|
|
1474 |
return false;
|
|
|
1475 |
}
|
|
|
1476 |
|
| 11095 |
kshitij.so |
1477 |
boolean this_present_courierCostMarketplace = true;
|
|
|
1478 |
boolean that_present_courierCostMarketplace = true;
|
|
|
1479 |
if (this_present_courierCostMarketplace || that_present_courierCostMarketplace) {
|
|
|
1480 |
if (!(this_present_courierCostMarketplace && that_present_courierCostMarketplace))
|
|
|
1481 |
return false;
|
|
|
1482 |
if (this.courierCostMarketplace != that.courierCostMarketplace)
|
|
|
1483 |
return false;
|
|
|
1484 |
}
|
|
|
1485 |
|
| 9724 |
kshitij.so |
1486 |
return true;
|
|
|
1487 |
}
|
|
|
1488 |
|
|
|
1489 |
@Override
|
|
|
1490 |
public int hashCode() {
|
|
|
1491 |
return 0;
|
|
|
1492 |
}
|
|
|
1493 |
|
|
|
1494 |
public int compareTo(MarketplaceItems other) {
|
|
|
1495 |
if (!getClass().equals(other.getClass())) {
|
|
|
1496 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1497 |
}
|
|
|
1498 |
|
|
|
1499 |
int lastComparison = 0;
|
|
|
1500 |
MarketplaceItems typedOther = (MarketplaceItems)other;
|
|
|
1501 |
|
|
|
1502 |
lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
|
|
|
1503 |
if (lastComparison != 0) {
|
|
|
1504 |
return lastComparison;
|
|
|
1505 |
}
|
|
|
1506 |
if (isSetItemId()) {
|
|
|
1507 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
|
|
|
1508 |
if (lastComparison != 0) {
|
|
|
1509 |
return lastComparison;
|
|
|
1510 |
}
|
|
|
1511 |
}
|
|
|
1512 |
lastComparison = Boolean.valueOf(isSetSource()).compareTo(typedOther.isSetSource());
|
|
|
1513 |
if (lastComparison != 0) {
|
|
|
1514 |
return lastComparison;
|
|
|
1515 |
}
|
|
|
1516 |
if (isSetSource()) {
|
|
|
1517 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source, typedOther.source);
|
|
|
1518 |
if (lastComparison != 0) {
|
|
|
1519 |
return lastComparison;
|
|
|
1520 |
}
|
|
|
1521 |
}
|
|
|
1522 |
lastComparison = Boolean.valueOf(isSetEmiFee()).compareTo(typedOther.isSetEmiFee());
|
|
|
1523 |
if (lastComparison != 0) {
|
|
|
1524 |
return lastComparison;
|
|
|
1525 |
}
|
|
|
1526 |
if (isSetEmiFee()) {
|
|
|
1527 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emiFee, typedOther.emiFee);
|
|
|
1528 |
if (lastComparison != 0) {
|
|
|
1529 |
return lastComparison;
|
|
|
1530 |
}
|
|
|
1531 |
}
|
|
|
1532 |
lastComparison = Boolean.valueOf(isSetCourierCost()).compareTo(typedOther.isSetCourierCost());
|
|
|
1533 |
if (lastComparison != 0) {
|
|
|
1534 |
return lastComparison;
|
|
|
1535 |
}
|
|
|
1536 |
if (isSetCourierCost()) {
|
|
|
1537 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courierCost, typedOther.courierCost);
|
|
|
1538 |
if (lastComparison != 0) {
|
|
|
1539 |
return lastComparison;
|
|
|
1540 |
}
|
|
|
1541 |
}
|
|
|
1542 |
lastComparison = Boolean.valueOf(isSetClosingFee()).compareTo(typedOther.isSetClosingFee());
|
|
|
1543 |
if (lastComparison != 0) {
|
|
|
1544 |
return lastComparison;
|
|
|
1545 |
}
|
|
|
1546 |
if (isSetClosingFee()) {
|
|
|
1547 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.closingFee, typedOther.closingFee);
|
|
|
1548 |
if (lastComparison != 0) {
|
|
|
1549 |
return lastComparison;
|
|
|
1550 |
}
|
|
|
1551 |
}
|
|
|
1552 |
lastComparison = Boolean.valueOf(isSetReturnProvision()).compareTo(typedOther.isSetReturnProvision());
|
|
|
1553 |
if (lastComparison != 0) {
|
|
|
1554 |
return lastComparison;
|
|
|
1555 |
}
|
|
|
1556 |
if (isSetReturnProvision()) {
|
|
|
1557 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnProvision, typedOther.returnProvision);
|
|
|
1558 |
if (lastComparison != 0) {
|
|
|
1559 |
return lastComparison;
|
|
|
1560 |
}
|
|
|
1561 |
}
|
|
|
1562 |
lastComparison = Boolean.valueOf(isSetCommission()).compareTo(typedOther.isSetCommission());
|
|
|
1563 |
if (lastComparison != 0) {
|
|
|
1564 |
return lastComparison;
|
|
|
1565 |
}
|
|
|
1566 |
if (isSetCommission()) {
|
|
|
1567 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commission, typedOther.commission);
|
|
|
1568 |
if (lastComparison != 0) {
|
|
|
1569 |
return lastComparison;
|
|
|
1570 |
}
|
|
|
1571 |
}
|
|
|
1572 |
lastComparison = Boolean.valueOf(isSetVat()).compareTo(typedOther.isSetVat());
|
|
|
1573 |
if (lastComparison != 0) {
|
|
|
1574 |
return lastComparison;
|
|
|
1575 |
}
|
|
|
1576 |
if (isSetVat()) {
|
|
|
1577 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vat, typedOther.vat);
|
|
|
1578 |
if (lastComparison != 0) {
|
|
|
1579 |
return lastComparison;
|
|
|
1580 |
}
|
|
|
1581 |
}
|
|
|
1582 |
lastComparison = Boolean.valueOf(isSetPackagingCost()).compareTo(typedOther.isSetPackagingCost());
|
|
|
1583 |
if (lastComparison != 0) {
|
|
|
1584 |
return lastComparison;
|
|
|
1585 |
}
|
|
|
1586 |
if (isSetPackagingCost()) {
|
|
|
1587 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.packagingCost, typedOther.packagingCost);
|
|
|
1588 |
if (lastComparison != 0) {
|
|
|
1589 |
return lastComparison;
|
|
|
1590 |
}
|
|
|
1591 |
}
|
|
|
1592 |
lastComparison = Boolean.valueOf(isSetOtherCost()).compareTo(typedOther.isSetOtherCost());
|
|
|
1593 |
if (lastComparison != 0) {
|
|
|
1594 |
return lastComparison;
|
|
|
1595 |
}
|
|
|
1596 |
if (isSetOtherCost()) {
|
|
|
1597 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otherCost, typedOther.otherCost);
|
|
|
1598 |
if (lastComparison != 0) {
|
|
|
1599 |
return lastComparison;
|
|
|
1600 |
}
|
|
|
1601 |
}
|
|
|
1602 |
lastComparison = Boolean.valueOf(isSetServiceTax()).compareTo(typedOther.isSetServiceTax());
|
|
|
1603 |
if (lastComparison != 0) {
|
|
|
1604 |
return lastComparison;
|
|
|
1605 |
}
|
|
|
1606 |
if (isSetServiceTax()) {
|
|
|
1607 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serviceTax, typedOther.serviceTax);
|
|
|
1608 |
if (lastComparison != 0) {
|
|
|
1609 |
return lastComparison;
|
|
|
1610 |
}
|
|
|
1611 |
}
|
|
|
1612 |
lastComparison = Boolean.valueOf(isSetAutoIncrement()).compareTo(typedOther.isSetAutoIncrement());
|
|
|
1613 |
if (lastComparison != 0) {
|
|
|
1614 |
return lastComparison;
|
|
|
1615 |
}
|
|
|
1616 |
if (isSetAutoIncrement()) {
|
|
|
1617 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.autoIncrement, typedOther.autoIncrement);
|
|
|
1618 |
if (lastComparison != 0) {
|
|
|
1619 |
return lastComparison;
|
|
|
1620 |
}
|
|
|
1621 |
}
|
|
|
1622 |
lastComparison = Boolean.valueOf(isSetAutoDecrement()).compareTo(typedOther.isSetAutoDecrement());
|
|
|
1623 |
if (lastComparison != 0) {
|
|
|
1624 |
return lastComparison;
|
|
|
1625 |
}
|
|
|
1626 |
if (isSetAutoDecrement()) {
|
|
|
1627 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.autoDecrement, typedOther.autoDecrement);
|
|
|
1628 |
if (lastComparison != 0) {
|
|
|
1629 |
return lastComparison;
|
|
|
1630 |
}
|
|
|
1631 |
}
|
|
|
1632 |
lastComparison = Boolean.valueOf(isSetManualFavourite()).compareTo(typedOther.isSetManualFavourite());
|
|
|
1633 |
if (lastComparison != 0) {
|
|
|
1634 |
return lastComparison;
|
|
|
1635 |
}
|
|
|
1636 |
if (isSetManualFavourite()) {
|
|
|
1637 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.manualFavourite, typedOther.manualFavourite);
|
|
|
1638 |
if (lastComparison != 0) {
|
|
|
1639 |
return lastComparison;
|
|
|
1640 |
}
|
|
|
1641 |
}
|
|
|
1642 |
lastComparison = Boolean.valueOf(isSetAutoFavourite()).compareTo(typedOther.isSetAutoFavourite());
|
|
|
1643 |
if (lastComparison != 0) {
|
|
|
1644 |
return lastComparison;
|
|
|
1645 |
}
|
|
|
1646 |
if (isSetAutoFavourite()) {
|
|
|
1647 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.autoFavourite, typedOther.autoFavourite);
|
|
|
1648 |
if (lastComparison != 0) {
|
|
|
1649 |
return lastComparison;
|
|
|
1650 |
}
|
|
|
1651 |
}
|
|
|
1652 |
lastComparison = Boolean.valueOf(isSetCurrentSp()).compareTo(typedOther.isSetCurrentSp());
|
|
|
1653 |
if (lastComparison != 0) {
|
|
|
1654 |
return lastComparison;
|
|
|
1655 |
}
|
|
|
1656 |
if (isSetCurrentSp()) {
|
|
|
1657 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.currentSp, typedOther.currentSp);
|
|
|
1658 |
if (lastComparison != 0) {
|
|
|
1659 |
return lastComparison;
|
|
|
1660 |
}
|
|
|
1661 |
}
|
|
|
1662 |
lastComparison = Boolean.valueOf(isSetCurrentTp()).compareTo(typedOther.isSetCurrentTp());
|
|
|
1663 |
if (lastComparison != 0) {
|
|
|
1664 |
return lastComparison;
|
|
|
1665 |
}
|
|
|
1666 |
if (isSetCurrentTp()) {
|
|
|
1667 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.currentTp, typedOther.currentTp);
|
|
|
1668 |
if (lastComparison != 0) {
|
|
|
1669 |
return lastComparison;
|
|
|
1670 |
}
|
|
|
1671 |
}
|
|
|
1672 |
lastComparison = Boolean.valueOf(isSetMinimumPossibleSp()).compareTo(typedOther.isSetMinimumPossibleSp());
|
|
|
1673 |
if (lastComparison != 0) {
|
|
|
1674 |
return lastComparison;
|
|
|
1675 |
}
|
|
|
1676 |
if (isSetMinimumPossibleSp()) {
|
|
|
1677 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minimumPossibleSp, typedOther.minimumPossibleSp);
|
|
|
1678 |
if (lastComparison != 0) {
|
|
|
1679 |
return lastComparison;
|
|
|
1680 |
}
|
|
|
1681 |
}
|
|
|
1682 |
lastComparison = Boolean.valueOf(isSetMinimumPossibleTp()).compareTo(typedOther.isSetMinimumPossibleTp());
|
|
|
1683 |
if (lastComparison != 0) {
|
|
|
1684 |
return lastComparison;
|
|
|
1685 |
}
|
|
|
1686 |
if (isSetMinimumPossibleTp()) {
|
|
|
1687 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minimumPossibleTp, typedOther.minimumPossibleTp);
|
|
|
1688 |
if (lastComparison != 0) {
|
|
|
1689 |
return lastComparison;
|
|
|
1690 |
}
|
|
|
1691 |
}
|
|
|
1692 |
lastComparison = Boolean.valueOf(isSetLastCheckedTimestamp()).compareTo(typedOther.isSetLastCheckedTimestamp());
|
|
|
1693 |
if (lastComparison != 0) {
|
|
|
1694 |
return lastComparison;
|
|
|
1695 |
}
|
|
|
1696 |
if (isSetLastCheckedTimestamp()) {
|
|
|
1697 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastCheckedTimestamp, typedOther.lastCheckedTimestamp);
|
|
|
1698 |
if (lastComparison != 0) {
|
|
|
1699 |
return lastComparison;
|
|
|
1700 |
}
|
|
|
1701 |
}
|
| 9909 |
kshitij.so |
1702 |
lastComparison = Boolean.valueOf(isSetMaximumSellingPrice()).compareTo(typedOther.isSetMaximumSellingPrice());
|
|
|
1703 |
if (lastComparison != 0) {
|
|
|
1704 |
return lastComparison;
|
|
|
1705 |
}
|
|
|
1706 |
if (isSetMaximumSellingPrice()) {
|
|
|
1707 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maximumSellingPrice, typedOther.maximumSellingPrice);
|
|
|
1708 |
if (lastComparison != 0) {
|
|
|
1709 |
return lastComparison;
|
|
|
1710 |
}
|
|
|
1711 |
}
|
| 10287 |
kshitij.so |
1712 |
lastComparison = Boolean.valueOf(isSetPgFee()).compareTo(typedOther.isSetPgFee());
|
|
|
1713 |
if (lastComparison != 0) {
|
|
|
1714 |
return lastComparison;
|
|
|
1715 |
}
|
|
|
1716 |
if (isSetPgFee()) {
|
|
|
1717 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pgFee, typedOther.pgFee);
|
|
|
1718 |
if (lastComparison != 0) {
|
|
|
1719 |
return lastComparison;
|
|
|
1720 |
}
|
|
|
1721 |
}
|
| 11095 |
kshitij.so |
1722 |
lastComparison = Boolean.valueOf(isSetCourierCostMarketplace()).compareTo(typedOther.isSetCourierCostMarketplace());
|
|
|
1723 |
if (lastComparison != 0) {
|
|
|
1724 |
return lastComparison;
|
|
|
1725 |
}
|
|
|
1726 |
if (isSetCourierCostMarketplace()) {
|
|
|
1727 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courierCostMarketplace, typedOther.courierCostMarketplace);
|
|
|
1728 |
if (lastComparison != 0) {
|
|
|
1729 |
return lastComparison;
|
|
|
1730 |
}
|
|
|
1731 |
}
|
| 9724 |
kshitij.so |
1732 |
return 0;
|
|
|
1733 |
}
|
|
|
1734 |
|
|
|
1735 |
public _Fields fieldForId(int fieldId) {
|
|
|
1736 |
return _Fields.findByThriftId(fieldId);
|
|
|
1737 |
}
|
|
|
1738 |
|
|
|
1739 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
1740 |
org.apache.thrift.protocol.TField field;
|
|
|
1741 |
iprot.readStructBegin();
|
|
|
1742 |
while (true)
|
|
|
1743 |
{
|
|
|
1744 |
field = iprot.readFieldBegin();
|
|
|
1745 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
|
|
1746 |
break;
|
|
|
1747 |
}
|
|
|
1748 |
switch (field.id) {
|
|
|
1749 |
case 1: // ITEM_ID
|
|
|
1750 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1751 |
this.itemId = iprot.readI64();
|
|
|
1752 |
setItemIdIsSet(true);
|
|
|
1753 |
} else {
|
|
|
1754 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1755 |
}
|
|
|
1756 |
break;
|
|
|
1757 |
case 2: // SOURCE
|
|
|
1758 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1759 |
this.source = iprot.readI64();
|
|
|
1760 |
setSourceIsSet(true);
|
|
|
1761 |
} else {
|
|
|
1762 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1763 |
}
|
|
|
1764 |
break;
|
|
|
1765 |
case 3: // EMI_FEE
|
|
|
1766 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1767 |
this.emiFee = iprot.readDouble();
|
|
|
1768 |
setEmiFeeIsSet(true);
|
|
|
1769 |
} else {
|
|
|
1770 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1771 |
}
|
|
|
1772 |
break;
|
|
|
1773 |
case 4: // COURIER_COST
|
|
|
1774 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1775 |
this.courierCost = iprot.readDouble();
|
|
|
1776 |
setCourierCostIsSet(true);
|
|
|
1777 |
} else {
|
|
|
1778 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1779 |
}
|
|
|
1780 |
break;
|
|
|
1781 |
case 5: // CLOSING_FEE
|
|
|
1782 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1783 |
this.closingFee = iprot.readDouble();
|
|
|
1784 |
setClosingFeeIsSet(true);
|
|
|
1785 |
} else {
|
|
|
1786 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1787 |
}
|
|
|
1788 |
break;
|
|
|
1789 |
case 6: // RETURN_PROVISION
|
|
|
1790 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1791 |
this.returnProvision = iprot.readDouble();
|
|
|
1792 |
setReturnProvisionIsSet(true);
|
|
|
1793 |
} else {
|
|
|
1794 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1795 |
}
|
|
|
1796 |
break;
|
|
|
1797 |
case 7: // COMMISSION
|
|
|
1798 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1799 |
this.commission = iprot.readDouble();
|
|
|
1800 |
setCommissionIsSet(true);
|
|
|
1801 |
} else {
|
|
|
1802 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1803 |
}
|
|
|
1804 |
break;
|
|
|
1805 |
case 8: // VAT
|
|
|
1806 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1807 |
this.vat = iprot.readDouble();
|
|
|
1808 |
setVatIsSet(true);
|
|
|
1809 |
} else {
|
|
|
1810 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1811 |
}
|
|
|
1812 |
break;
|
|
|
1813 |
case 9: // PACKAGING_COST
|
|
|
1814 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1815 |
this.packagingCost = iprot.readDouble();
|
|
|
1816 |
setPackagingCostIsSet(true);
|
|
|
1817 |
} else {
|
|
|
1818 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1819 |
}
|
|
|
1820 |
break;
|
|
|
1821 |
case 10: // OTHER_COST
|
|
|
1822 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1823 |
this.otherCost = iprot.readDouble();
|
|
|
1824 |
setOtherCostIsSet(true);
|
|
|
1825 |
} else {
|
|
|
1826 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1827 |
}
|
|
|
1828 |
break;
|
|
|
1829 |
case 11: // SERVICE_TAX
|
|
|
1830 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1831 |
this.serviceTax = iprot.readDouble();
|
|
|
1832 |
setServiceTaxIsSet(true);
|
|
|
1833 |
} else {
|
|
|
1834 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1835 |
}
|
|
|
1836 |
break;
|
|
|
1837 |
case 12: // AUTO_INCREMENT
|
|
|
1838 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
1839 |
this.autoIncrement = iprot.readBool();
|
|
|
1840 |
setAutoIncrementIsSet(true);
|
|
|
1841 |
} else {
|
|
|
1842 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1843 |
}
|
|
|
1844 |
break;
|
|
|
1845 |
case 13: // AUTO_DECREMENT
|
|
|
1846 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
1847 |
this.autoDecrement = iprot.readBool();
|
|
|
1848 |
setAutoDecrementIsSet(true);
|
|
|
1849 |
} else {
|
|
|
1850 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1851 |
}
|
|
|
1852 |
break;
|
|
|
1853 |
case 14: // MANUAL_FAVOURITE
|
|
|
1854 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
1855 |
this.manualFavourite = iprot.readBool();
|
|
|
1856 |
setManualFavouriteIsSet(true);
|
|
|
1857 |
} else {
|
|
|
1858 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1859 |
}
|
|
|
1860 |
break;
|
|
|
1861 |
case 15: // AUTO_FAVOURITE
|
|
|
1862 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
1863 |
this.autoFavourite = iprot.readBool();
|
|
|
1864 |
setAutoFavouriteIsSet(true);
|
|
|
1865 |
} else {
|
|
|
1866 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1867 |
}
|
|
|
1868 |
break;
|
|
|
1869 |
case 16: // CURRENT_SP
|
|
|
1870 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1871 |
this.currentSp = iprot.readDouble();
|
|
|
1872 |
setCurrentSpIsSet(true);
|
|
|
1873 |
} else {
|
|
|
1874 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1875 |
}
|
|
|
1876 |
break;
|
|
|
1877 |
case 17: // CURRENT_TP
|
|
|
1878 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1879 |
this.currentTp = iprot.readDouble();
|
|
|
1880 |
setCurrentTpIsSet(true);
|
|
|
1881 |
} else {
|
|
|
1882 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1883 |
}
|
|
|
1884 |
break;
|
|
|
1885 |
case 18: // MINIMUM_POSSIBLE_SP
|
|
|
1886 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1887 |
this.minimumPossibleSp = iprot.readDouble();
|
|
|
1888 |
setMinimumPossibleSpIsSet(true);
|
|
|
1889 |
} else {
|
|
|
1890 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1891 |
}
|
|
|
1892 |
break;
|
|
|
1893 |
case 19: // MINIMUM_POSSIBLE_TP
|
|
|
1894 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1895 |
this.minimumPossibleTp = iprot.readDouble();
|
|
|
1896 |
setMinimumPossibleTpIsSet(true);
|
|
|
1897 |
} else {
|
|
|
1898 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1899 |
}
|
|
|
1900 |
break;
|
|
|
1901 |
case 20: // LAST_CHECKED_TIMESTAMP
|
|
|
1902 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1903 |
this.lastCheckedTimestamp = iprot.readI64();
|
|
|
1904 |
setLastCheckedTimestampIsSet(true);
|
|
|
1905 |
} else {
|
|
|
1906 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1907 |
}
|
|
|
1908 |
break;
|
| 9909 |
kshitij.so |
1909 |
case 21: // MAXIMUM_SELLING_PRICE
|
|
|
1910 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1911 |
this.maximumSellingPrice = iprot.readDouble();
|
|
|
1912 |
setMaximumSellingPriceIsSet(true);
|
|
|
1913 |
} else {
|
|
|
1914 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1915 |
}
|
|
|
1916 |
break;
|
| 10287 |
kshitij.so |
1917 |
case 22: // PG_FEE
|
|
|
1918 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1919 |
this.pgFee = iprot.readDouble();
|
|
|
1920 |
setPgFeeIsSet(true);
|
|
|
1921 |
} else {
|
|
|
1922 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1923 |
}
|
|
|
1924 |
break;
|
| 11095 |
kshitij.so |
1925 |
case 23: // COURIER_COST_MARKETPLACE
|
|
|
1926 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
1927 |
this.courierCostMarketplace = iprot.readDouble();
|
|
|
1928 |
setCourierCostMarketplaceIsSet(true);
|
|
|
1929 |
} else {
|
|
|
1930 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1931 |
}
|
|
|
1932 |
break;
|
| 9724 |
kshitij.so |
1933 |
default:
|
|
|
1934 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1935 |
}
|
|
|
1936 |
iprot.readFieldEnd();
|
|
|
1937 |
}
|
|
|
1938 |
iprot.readStructEnd();
|
|
|
1939 |
validate();
|
|
|
1940 |
}
|
|
|
1941 |
|
|
|
1942 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
|
|
1943 |
validate();
|
|
|
1944 |
|
|
|
1945 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
1946 |
oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
|
|
|
1947 |
oprot.writeI64(this.itemId);
|
|
|
1948 |
oprot.writeFieldEnd();
|
|
|
1949 |
oprot.writeFieldBegin(SOURCE_FIELD_DESC);
|
|
|
1950 |
oprot.writeI64(this.source);
|
|
|
1951 |
oprot.writeFieldEnd();
|
|
|
1952 |
oprot.writeFieldBegin(EMI_FEE_FIELD_DESC);
|
|
|
1953 |
oprot.writeDouble(this.emiFee);
|
|
|
1954 |
oprot.writeFieldEnd();
|
|
|
1955 |
oprot.writeFieldBegin(COURIER_COST_FIELD_DESC);
|
|
|
1956 |
oprot.writeDouble(this.courierCost);
|
|
|
1957 |
oprot.writeFieldEnd();
|
|
|
1958 |
oprot.writeFieldBegin(CLOSING_FEE_FIELD_DESC);
|
|
|
1959 |
oprot.writeDouble(this.closingFee);
|
|
|
1960 |
oprot.writeFieldEnd();
|
|
|
1961 |
oprot.writeFieldBegin(RETURN_PROVISION_FIELD_DESC);
|
|
|
1962 |
oprot.writeDouble(this.returnProvision);
|
|
|
1963 |
oprot.writeFieldEnd();
|
|
|
1964 |
oprot.writeFieldBegin(COMMISSION_FIELD_DESC);
|
|
|
1965 |
oprot.writeDouble(this.commission);
|
|
|
1966 |
oprot.writeFieldEnd();
|
|
|
1967 |
oprot.writeFieldBegin(VAT_FIELD_DESC);
|
|
|
1968 |
oprot.writeDouble(this.vat);
|
|
|
1969 |
oprot.writeFieldEnd();
|
|
|
1970 |
oprot.writeFieldBegin(PACKAGING_COST_FIELD_DESC);
|
|
|
1971 |
oprot.writeDouble(this.packagingCost);
|
|
|
1972 |
oprot.writeFieldEnd();
|
|
|
1973 |
oprot.writeFieldBegin(OTHER_COST_FIELD_DESC);
|
|
|
1974 |
oprot.writeDouble(this.otherCost);
|
|
|
1975 |
oprot.writeFieldEnd();
|
|
|
1976 |
oprot.writeFieldBegin(SERVICE_TAX_FIELD_DESC);
|
|
|
1977 |
oprot.writeDouble(this.serviceTax);
|
|
|
1978 |
oprot.writeFieldEnd();
|
|
|
1979 |
oprot.writeFieldBegin(AUTO_INCREMENT_FIELD_DESC);
|
|
|
1980 |
oprot.writeBool(this.autoIncrement);
|
|
|
1981 |
oprot.writeFieldEnd();
|
|
|
1982 |
oprot.writeFieldBegin(AUTO_DECREMENT_FIELD_DESC);
|
|
|
1983 |
oprot.writeBool(this.autoDecrement);
|
|
|
1984 |
oprot.writeFieldEnd();
|
|
|
1985 |
oprot.writeFieldBegin(MANUAL_FAVOURITE_FIELD_DESC);
|
|
|
1986 |
oprot.writeBool(this.manualFavourite);
|
|
|
1987 |
oprot.writeFieldEnd();
|
|
|
1988 |
oprot.writeFieldBegin(AUTO_FAVOURITE_FIELD_DESC);
|
|
|
1989 |
oprot.writeBool(this.autoFavourite);
|
|
|
1990 |
oprot.writeFieldEnd();
|
|
|
1991 |
oprot.writeFieldBegin(CURRENT_SP_FIELD_DESC);
|
|
|
1992 |
oprot.writeDouble(this.currentSp);
|
|
|
1993 |
oprot.writeFieldEnd();
|
|
|
1994 |
oprot.writeFieldBegin(CURRENT_TP_FIELD_DESC);
|
|
|
1995 |
oprot.writeDouble(this.currentTp);
|
|
|
1996 |
oprot.writeFieldEnd();
|
|
|
1997 |
oprot.writeFieldBegin(MINIMUM_POSSIBLE_SP_FIELD_DESC);
|
|
|
1998 |
oprot.writeDouble(this.minimumPossibleSp);
|
|
|
1999 |
oprot.writeFieldEnd();
|
|
|
2000 |
oprot.writeFieldBegin(MINIMUM_POSSIBLE_TP_FIELD_DESC);
|
|
|
2001 |
oprot.writeDouble(this.minimumPossibleTp);
|
|
|
2002 |
oprot.writeFieldEnd();
|
|
|
2003 |
oprot.writeFieldBegin(LAST_CHECKED_TIMESTAMP_FIELD_DESC);
|
|
|
2004 |
oprot.writeI64(this.lastCheckedTimestamp);
|
|
|
2005 |
oprot.writeFieldEnd();
|
| 9909 |
kshitij.so |
2006 |
oprot.writeFieldBegin(MAXIMUM_SELLING_PRICE_FIELD_DESC);
|
|
|
2007 |
oprot.writeDouble(this.maximumSellingPrice);
|
|
|
2008 |
oprot.writeFieldEnd();
|
| 10287 |
kshitij.so |
2009 |
oprot.writeFieldBegin(PG_FEE_FIELD_DESC);
|
|
|
2010 |
oprot.writeDouble(this.pgFee);
|
|
|
2011 |
oprot.writeFieldEnd();
|
| 11095 |
kshitij.so |
2012 |
oprot.writeFieldBegin(COURIER_COST_MARKETPLACE_FIELD_DESC);
|
|
|
2013 |
oprot.writeDouble(this.courierCostMarketplace);
|
|
|
2014 |
oprot.writeFieldEnd();
|
| 9724 |
kshitij.so |
2015 |
oprot.writeFieldStop();
|
|
|
2016 |
oprot.writeStructEnd();
|
|
|
2017 |
}
|
|
|
2018 |
|
|
|
2019 |
@Override
|
|
|
2020 |
public String toString() {
|
|
|
2021 |
StringBuilder sb = new StringBuilder("MarketplaceItems(");
|
|
|
2022 |
boolean first = true;
|
|
|
2023 |
|
|
|
2024 |
sb.append("itemId:");
|
|
|
2025 |
sb.append(this.itemId);
|
|
|
2026 |
first = false;
|
|
|
2027 |
if (!first) sb.append(", ");
|
|
|
2028 |
sb.append("source:");
|
|
|
2029 |
sb.append(this.source);
|
|
|
2030 |
first = false;
|
|
|
2031 |
if (!first) sb.append(", ");
|
|
|
2032 |
sb.append("emiFee:");
|
|
|
2033 |
sb.append(this.emiFee);
|
|
|
2034 |
first = false;
|
|
|
2035 |
if (!first) sb.append(", ");
|
|
|
2036 |
sb.append("courierCost:");
|
|
|
2037 |
sb.append(this.courierCost);
|
|
|
2038 |
first = false;
|
|
|
2039 |
if (!first) sb.append(", ");
|
|
|
2040 |
sb.append("closingFee:");
|
|
|
2041 |
sb.append(this.closingFee);
|
|
|
2042 |
first = false;
|
|
|
2043 |
if (!first) sb.append(", ");
|
|
|
2044 |
sb.append("returnProvision:");
|
|
|
2045 |
sb.append(this.returnProvision);
|
|
|
2046 |
first = false;
|
|
|
2047 |
if (!first) sb.append(", ");
|
|
|
2048 |
sb.append("commission:");
|
|
|
2049 |
sb.append(this.commission);
|
|
|
2050 |
first = false;
|
|
|
2051 |
if (!first) sb.append(", ");
|
|
|
2052 |
sb.append("vat:");
|
|
|
2053 |
sb.append(this.vat);
|
|
|
2054 |
first = false;
|
|
|
2055 |
if (!first) sb.append(", ");
|
|
|
2056 |
sb.append("packagingCost:");
|
|
|
2057 |
sb.append(this.packagingCost);
|
|
|
2058 |
first = false;
|
|
|
2059 |
if (!first) sb.append(", ");
|
|
|
2060 |
sb.append("otherCost:");
|
|
|
2061 |
sb.append(this.otherCost);
|
|
|
2062 |
first = false;
|
|
|
2063 |
if (!first) sb.append(", ");
|
|
|
2064 |
sb.append("serviceTax:");
|
|
|
2065 |
sb.append(this.serviceTax);
|
|
|
2066 |
first = false;
|
|
|
2067 |
if (!first) sb.append(", ");
|
|
|
2068 |
sb.append("autoIncrement:");
|
|
|
2069 |
sb.append(this.autoIncrement);
|
|
|
2070 |
first = false;
|
|
|
2071 |
if (!first) sb.append(", ");
|
|
|
2072 |
sb.append("autoDecrement:");
|
|
|
2073 |
sb.append(this.autoDecrement);
|
|
|
2074 |
first = false;
|
|
|
2075 |
if (!first) sb.append(", ");
|
|
|
2076 |
sb.append("manualFavourite:");
|
|
|
2077 |
sb.append(this.manualFavourite);
|
|
|
2078 |
first = false;
|
|
|
2079 |
if (!first) sb.append(", ");
|
|
|
2080 |
sb.append("autoFavourite:");
|
|
|
2081 |
sb.append(this.autoFavourite);
|
|
|
2082 |
first = false;
|
|
|
2083 |
if (!first) sb.append(", ");
|
|
|
2084 |
sb.append("currentSp:");
|
|
|
2085 |
sb.append(this.currentSp);
|
|
|
2086 |
first = false;
|
|
|
2087 |
if (!first) sb.append(", ");
|
|
|
2088 |
sb.append("currentTp:");
|
|
|
2089 |
sb.append(this.currentTp);
|
|
|
2090 |
first = false;
|
|
|
2091 |
if (!first) sb.append(", ");
|
|
|
2092 |
sb.append("minimumPossibleSp:");
|
|
|
2093 |
sb.append(this.minimumPossibleSp);
|
|
|
2094 |
first = false;
|
|
|
2095 |
if (!first) sb.append(", ");
|
|
|
2096 |
sb.append("minimumPossibleTp:");
|
|
|
2097 |
sb.append(this.minimumPossibleTp);
|
|
|
2098 |
first = false;
|
|
|
2099 |
if (!first) sb.append(", ");
|
|
|
2100 |
sb.append("lastCheckedTimestamp:");
|
|
|
2101 |
sb.append(this.lastCheckedTimestamp);
|
|
|
2102 |
first = false;
|
| 9909 |
kshitij.so |
2103 |
if (!first) sb.append(", ");
|
|
|
2104 |
sb.append("maximumSellingPrice:");
|
|
|
2105 |
sb.append(this.maximumSellingPrice);
|
|
|
2106 |
first = false;
|
| 10287 |
kshitij.so |
2107 |
if (!first) sb.append(", ");
|
|
|
2108 |
sb.append("pgFee:");
|
|
|
2109 |
sb.append(this.pgFee);
|
|
|
2110 |
first = false;
|
| 11095 |
kshitij.so |
2111 |
if (!first) sb.append(", ");
|
|
|
2112 |
sb.append("courierCostMarketplace:");
|
|
|
2113 |
sb.append(this.courierCostMarketplace);
|
|
|
2114 |
first = false;
|
| 9724 |
kshitij.so |
2115 |
sb.append(")");
|
|
|
2116 |
return sb.toString();
|
|
|
2117 |
}
|
|
|
2118 |
|
|
|
2119 |
public void validate() throws org.apache.thrift.TException {
|
|
|
2120 |
// check for required fields
|
|
|
2121 |
}
|
|
|
2122 |
|
|
|
2123 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
2124 |
try {
|
|
|
2125 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
2126 |
} catch (org.apache.thrift.TException te) {
|
|
|
2127 |
throw new java.io.IOException(te);
|
|
|
2128 |
}
|
|
|
2129 |
}
|
|
|
2130 |
|
|
|
2131 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
2132 |
try {
|
|
|
2133 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
2134 |
__isset_bit_vector = new BitSet(1);
|
|
|
2135 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
2136 |
} catch (org.apache.thrift.TException te) {
|
|
|
2137 |
throw new java.io.IOException(te);
|
|
|
2138 |
}
|
|
|
2139 |
}
|
|
|
2140 |
|
|
|
2141 |
}
|
|
|
2142 |
|