| Line 40... |
Line 40... |
| 40 |
private static final org.apache.thrift.protocol.TField TAGLINE_FIELD_DESC = new org.apache.thrift.protocol.TField("tagline", org.apache.thrift.protocol.TType.STRING, (short)12);
|
40 |
private static final org.apache.thrift.protocol.TField TAGLINE_FIELD_DESC = new org.apache.thrift.protocol.TField("tagline", org.apache.thrift.protocol.TType.STRING, (short)12);
|
| 41 |
private static final org.apache.thrift.protocol.TField OFFER_FIELD_DESC = new org.apache.thrift.protocol.TField("offer", org.apache.thrift.protocol.TType.STRING, (short)13);
|
41 |
private static final org.apache.thrift.protocol.TField OFFER_FIELD_DESC = new org.apache.thrift.protocol.TField("offer", org.apache.thrift.protocol.TType.STRING, (short)13);
|
| 42 |
private static final org.apache.thrift.protocol.TField GROSS_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("gross_price", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
42 |
private static final org.apache.thrift.protocol.TField GROSS_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("gross_price", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
| 43 |
private static final org.apache.thrift.protocol.TField CHEAPEST_BULK_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("cheapestBulkPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
|
43 |
private static final org.apache.thrift.protocol.TField CHEAPEST_BULK_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("cheapestBulkPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
|
| 44 |
private static final org.apache.thrift.protocol.TField PACK_QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("packQuantity", org.apache.thrift.protocol.TType.I64, (short)16);
|
44 |
private static final org.apache.thrift.protocol.TField PACK_QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("packQuantity", org.apache.thrift.protocol.TType.I64, (short)16);
|
| 45 |
private static final org.apache.thrift.protocol.TField NET_PRICING_AFTER_CASH_BACK_FIELD_DESC = new org.apache.thrift.protocol.TField("netPricingAfterCashBack", org.apache.thrift.protocol.TType.DOUBLE, (short)17);
|
45 |
private static final org.apache.thrift.protocol.TField NET_PRICE_AFTER_CASH_BACK_FIELD_DESC = new org.apache.thrift.protocol.TField("netPriceAfterCashBack", org.apache.thrift.protocol.TType.DOUBLE, (short)17);
|
| 46 |
private static final org.apache.thrift.protocol.TField SHOW_NET_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showNetPrice", org.apache.thrift.protocol.TType.I64, (short)18);
|
46 |
private static final org.apache.thrift.protocol.TField SHOW_NET_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showNetPrice", org.apache.thrift.protocol.TType.I64, (short)18);
|
| 47 |
|
47 |
|
| 48 |
private long _id; // required
|
48 |
private long _id; // required
|
| 49 |
private double available_price; // required
|
49 |
private double available_price; // required
|
| 50 |
private String marketPlaceUrl; // required
|
50 |
private String marketPlaceUrl; // required
|
| Line 59... |
Line 59... |
| 59 |
private String tagline; // required
|
59 |
private String tagline; // required
|
| 60 |
private String offer; // required
|
60 |
private String offer; // required
|
| 61 |
private double gross_price; // required
|
61 |
private double gross_price; // required
|
| 62 |
private double cheapestBulkPrice; // required
|
62 |
private double cheapestBulkPrice; // required
|
| 63 |
private long packQuantity; // required
|
63 |
private long packQuantity; // required
|
| 64 |
private double netPricingAfterCashBack; // required
|
64 |
private double netPriceAfterCashBack; // required
|
| 65 |
private long showNetPrice; // required
|
65 |
private long showNetPrice; // required
|
| 66 |
|
66 |
|
| 67 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
67 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 68 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
68 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 69 |
_ID((short)1, "_id"),
|
69 |
_ID((short)1, "_id"),
|
| Line 80... |
Line 80... |
| 80 |
TAGLINE((short)12, "tagline"),
|
80 |
TAGLINE((short)12, "tagline"),
|
| 81 |
OFFER((short)13, "offer"),
|
81 |
OFFER((short)13, "offer"),
|
| 82 |
GROSS_PRICE((short)14, "gross_price"),
|
82 |
GROSS_PRICE((short)14, "gross_price"),
|
| 83 |
CHEAPEST_BULK_PRICE((short)15, "cheapestBulkPrice"),
|
83 |
CHEAPEST_BULK_PRICE((short)15, "cheapestBulkPrice"),
|
| 84 |
PACK_QUANTITY((short)16, "packQuantity"),
|
84 |
PACK_QUANTITY((short)16, "packQuantity"),
|
| 85 |
NET_PRICING_AFTER_CASH_BACK((short)17, "netPricingAfterCashBack"),
|
85 |
NET_PRICE_AFTER_CASH_BACK((short)17, "netPriceAfterCashBack"),
|
| 86 |
SHOW_NET_PRICE((short)18, "showNetPrice");
|
86 |
SHOW_NET_PRICE((short)18, "showNetPrice");
|
| 87 |
|
87 |
|
| 88 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
88 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 89 |
|
89 |
|
| 90 |
static {
|
90 |
static {
|
| Line 128... |
Line 128... |
| 128 |
return GROSS_PRICE;
|
128 |
return GROSS_PRICE;
|
| 129 |
case 15: // CHEAPEST_BULK_PRICE
|
129 |
case 15: // CHEAPEST_BULK_PRICE
|
| 130 |
return CHEAPEST_BULK_PRICE;
|
130 |
return CHEAPEST_BULK_PRICE;
|
| 131 |
case 16: // PACK_QUANTITY
|
131 |
case 16: // PACK_QUANTITY
|
| 132 |
return PACK_QUANTITY;
|
132 |
return PACK_QUANTITY;
|
| 133 |
case 17: // NET_PRICING_AFTER_CASH_BACK
|
133 |
case 17: // NET_PRICE_AFTER_CASH_BACK
|
| 134 |
return NET_PRICING_AFTER_CASH_BACK;
|
134 |
return NET_PRICE_AFTER_CASH_BACK;
|
| 135 |
case 18: // SHOW_NET_PRICE
|
135 |
case 18: // SHOW_NET_PRICE
|
| 136 |
return SHOW_NET_PRICE;
|
136 |
return SHOW_NET_PRICE;
|
| 137 |
default:
|
137 |
default:
|
| 138 |
return null;
|
138 |
return null;
|
| 139 |
}
|
139 |
}
|
| Line 182... |
Line 182... |
| 182 |
private static final int __CASH_BACK_ISSET_ID = 5;
|
182 |
private static final int __CASH_BACK_ISSET_ID = 5;
|
| 183 |
private static final int __CODAVAILABLE_ISSET_ID = 6;
|
183 |
private static final int __CODAVAILABLE_ISSET_ID = 6;
|
| 184 |
private static final int __GROSS_PRICE_ISSET_ID = 7;
|
184 |
private static final int __GROSS_PRICE_ISSET_ID = 7;
|
| 185 |
private static final int __CHEAPESTBULKPRICE_ISSET_ID = 8;
|
185 |
private static final int __CHEAPESTBULKPRICE_ISSET_ID = 8;
|
| 186 |
private static final int __PACKQUANTITY_ISSET_ID = 9;
|
186 |
private static final int __PACKQUANTITY_ISSET_ID = 9;
|
| 187 |
private static final int __NETPRICINGAFTERCASHBACK_ISSET_ID = 10;
|
187 |
private static final int __NETPRICEAFTERCASHBACK_ISSET_ID = 10;
|
| 188 |
private static final int __SHOWNETPRICE_ISSET_ID = 11;
|
188 |
private static final int __SHOWNETPRICE_ISSET_ID = 11;
|
| 189 |
private BitSet __isset_bit_vector = new BitSet(12);
|
189 |
private BitSet __isset_bit_vector = new BitSet(12);
|
| 190 |
|
190 |
|
| 191 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
191 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 192 |
static {
|
192 |
static {
|
| Line 221... |
Line 221... |
| 221 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
221 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 222 |
tmpMap.put(_Fields.CHEAPEST_BULK_PRICE, new org.apache.thrift.meta_data.FieldMetaData("cheapestBulkPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
222 |
tmpMap.put(_Fields.CHEAPEST_BULK_PRICE, new org.apache.thrift.meta_data.FieldMetaData("cheapestBulkPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 223 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
223 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 224 |
tmpMap.put(_Fields.PACK_QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("packQuantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
224 |
tmpMap.put(_Fields.PACK_QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("packQuantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 225 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
225 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 226 |
tmpMap.put(_Fields.NET_PRICING_AFTER_CASH_BACK, new org.apache.thrift.meta_data.FieldMetaData("netPricingAfterCashBack", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
226 |
tmpMap.put(_Fields.NET_PRICE_AFTER_CASH_BACK, new org.apache.thrift.meta_data.FieldMetaData("netPriceAfterCashBack", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 227 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
227 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 228 |
tmpMap.put(_Fields.SHOW_NET_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showNetPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
228 |
tmpMap.put(_Fields.SHOW_NET_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showNetPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 229 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
229 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 230 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
230 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 231 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LivePricing.class, metaDataMap);
|
231 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LivePricing.class, metaDataMap);
|
| Line 249... |
Line 249... |
| 249 |
String tagline,
|
249 |
String tagline,
|
| 250 |
String offer,
|
250 |
String offer,
|
| 251 |
double gross_price,
|
251 |
double gross_price,
|
| 252 |
double cheapestBulkPrice,
|
252 |
double cheapestBulkPrice,
|
| 253 |
long packQuantity,
|
253 |
long packQuantity,
|
| 254 |
double netPricingAfterCashBack,
|
254 |
double netPriceAfterCashBack,
|
| 255 |
long showNetPrice)
|
255 |
long showNetPrice)
|
| 256 |
{
|
256 |
{
|
| 257 |
this();
|
257 |
this();
|
| 258 |
this._id = _id;
|
258 |
this._id = _id;
|
| 259 |
set_idIsSet(true);
|
259 |
set_idIsSet(true);
|
| Line 279... |
Line 279... |
| 279 |
setGross_priceIsSet(true);
|
279 |
setGross_priceIsSet(true);
|
| 280 |
this.cheapestBulkPrice = cheapestBulkPrice;
|
280 |
this.cheapestBulkPrice = cheapestBulkPrice;
|
| 281 |
setCheapestBulkPriceIsSet(true);
|
281 |
setCheapestBulkPriceIsSet(true);
|
| 282 |
this.packQuantity = packQuantity;
|
282 |
this.packQuantity = packQuantity;
|
| 283 |
setPackQuantityIsSet(true);
|
283 |
setPackQuantityIsSet(true);
|
| 284 |
this.netPricingAfterCashBack = netPricingAfterCashBack;
|
284 |
this.netPriceAfterCashBack = netPriceAfterCashBack;
|
| 285 |
setNetPricingAfterCashBackIsSet(true);
|
285 |
setNetPriceAfterCashBackIsSet(true);
|
| 286 |
this.showNetPrice = showNetPrice;
|
286 |
this.showNetPrice = showNetPrice;
|
| 287 |
setShowNetPriceIsSet(true);
|
287 |
setShowNetPriceIsSet(true);
|
| 288 |
}
|
288 |
}
|
| 289 |
|
289 |
|
| 290 |
/**
|
290 |
/**
|
| Line 319... |
Line 319... |
| 319 |
this.offer = other.offer;
|
319 |
this.offer = other.offer;
|
| 320 |
}
|
320 |
}
|
| 321 |
this.gross_price = other.gross_price;
|
321 |
this.gross_price = other.gross_price;
|
| 322 |
this.cheapestBulkPrice = other.cheapestBulkPrice;
|
322 |
this.cheapestBulkPrice = other.cheapestBulkPrice;
|
| 323 |
this.packQuantity = other.packQuantity;
|
323 |
this.packQuantity = other.packQuantity;
|
| 324 |
this.netPricingAfterCashBack = other.netPricingAfterCashBack;
|
324 |
this.netPriceAfterCashBack = other.netPriceAfterCashBack;
|
| 325 |
this.showNetPrice = other.showNetPrice;
|
325 |
this.showNetPrice = other.showNetPrice;
|
| 326 |
}
|
326 |
}
|
| 327 |
|
327 |
|
| 328 |
public LivePricing deepCopy() {
|
328 |
public LivePricing deepCopy() {
|
| 329 |
return new LivePricing(this);
|
329 |
return new LivePricing(this);
|
| Line 355... |
Line 355... |
| 355 |
this.gross_price = 0.0;
|
355 |
this.gross_price = 0.0;
|
| 356 |
setCheapestBulkPriceIsSet(false);
|
356 |
setCheapestBulkPriceIsSet(false);
|
| 357 |
this.cheapestBulkPrice = 0.0;
|
357 |
this.cheapestBulkPrice = 0.0;
|
| 358 |
setPackQuantityIsSet(false);
|
358 |
setPackQuantityIsSet(false);
|
| 359 |
this.packQuantity = 0;
|
359 |
this.packQuantity = 0;
|
| 360 |
setNetPricingAfterCashBackIsSet(false);
|
360 |
setNetPriceAfterCashBackIsSet(false);
|
| 361 |
this.netPricingAfterCashBack = 0.0;
|
361 |
this.netPriceAfterCashBack = 0.0;
|
| 362 |
setShowNetPriceIsSet(false);
|
362 |
setShowNetPriceIsSet(false);
|
| 363 |
this.showNetPrice = 0;
|
363 |
this.showNetPrice = 0;
|
| 364 |
}
|
364 |
}
|
| 365 |
|
365 |
|
| 366 |
public long get_id() {
|
366 |
public long get_id() {
|
| Line 719... |
Line 719... |
| 719 |
|
719 |
|
| 720 |
public void setPackQuantityIsSet(boolean value) {
|
720 |
public void setPackQuantityIsSet(boolean value) {
|
| 721 |
__isset_bit_vector.set(__PACKQUANTITY_ISSET_ID, value);
|
721 |
__isset_bit_vector.set(__PACKQUANTITY_ISSET_ID, value);
|
| 722 |
}
|
722 |
}
|
| 723 |
|
723 |
|
| 724 |
public double getNetPricingAfterCashBack() {
|
724 |
public double getNetPriceAfterCashBack() {
|
| 725 |
return this.netPricingAfterCashBack;
|
725 |
return this.netPriceAfterCashBack;
|
| 726 |
}
|
726 |
}
|
| 727 |
|
727 |
|
| 728 |
public void setNetPricingAfterCashBack(double netPricingAfterCashBack) {
|
728 |
public void setNetPriceAfterCashBack(double netPriceAfterCashBack) {
|
| 729 |
this.netPricingAfterCashBack = netPricingAfterCashBack;
|
729 |
this.netPriceAfterCashBack = netPriceAfterCashBack;
|
| 730 |
setNetPricingAfterCashBackIsSet(true);
|
730 |
setNetPriceAfterCashBackIsSet(true);
|
| 731 |
}
|
731 |
}
|
| 732 |
|
732 |
|
| 733 |
public void unsetNetPricingAfterCashBack() {
|
733 |
public void unsetNetPriceAfterCashBack() {
|
| 734 |
__isset_bit_vector.clear(__NETPRICINGAFTERCASHBACK_ISSET_ID);
|
734 |
__isset_bit_vector.clear(__NETPRICEAFTERCASHBACK_ISSET_ID);
|
| 735 |
}
|
735 |
}
|
| 736 |
|
736 |
|
| 737 |
/** Returns true if field netPricingAfterCashBack is set (has been assigned a value) and false otherwise */
|
737 |
/** Returns true if field netPriceAfterCashBack is set (has been assigned a value) and false otherwise */
|
| 738 |
public boolean isSetNetPricingAfterCashBack() {
|
738 |
public boolean isSetNetPriceAfterCashBack() {
|
| 739 |
return __isset_bit_vector.get(__NETPRICINGAFTERCASHBACK_ISSET_ID);
|
739 |
return __isset_bit_vector.get(__NETPRICEAFTERCASHBACK_ISSET_ID);
|
| 740 |
}
|
740 |
}
|
| 741 |
|
741 |
|
| 742 |
public void setNetPricingAfterCashBackIsSet(boolean value) {
|
742 |
public void setNetPriceAfterCashBackIsSet(boolean value) {
|
| 743 |
__isset_bit_vector.set(__NETPRICINGAFTERCASHBACK_ISSET_ID, value);
|
743 |
__isset_bit_vector.set(__NETPRICEAFTERCASHBACK_ISSET_ID, value);
|
| 744 |
}
|
744 |
}
|
| 745 |
|
745 |
|
| 746 |
public long getShowNetPrice() {
|
746 |
public long getShowNetPrice() {
|
| 747 |
return this.showNetPrice;
|
747 |
return this.showNetPrice;
|
| 748 |
}
|
748 |
}
|
| Line 893... |
Line 893... |
| 893 |
} else {
|
893 |
} else {
|
| 894 |
setPackQuantity((Long)value);
|
894 |
setPackQuantity((Long)value);
|
| 895 |
}
|
895 |
}
|
| 896 |
break;
|
896 |
break;
|
| 897 |
|
897 |
|
| 898 |
case NET_PRICING_AFTER_CASH_BACK:
|
898 |
case NET_PRICE_AFTER_CASH_BACK:
|
| 899 |
if (value == null) {
|
899 |
if (value == null) {
|
| 900 |
unsetNetPricingAfterCashBack();
|
900 |
unsetNetPriceAfterCashBack();
|
| 901 |
} else {
|
901 |
} else {
|
| 902 |
setNetPricingAfterCashBack((Double)value);
|
902 |
setNetPriceAfterCashBack((Double)value);
|
| 903 |
}
|
903 |
}
|
| 904 |
break;
|
904 |
break;
|
| 905 |
|
905 |
|
| 906 |
case SHOW_NET_PRICE:
|
906 |
case SHOW_NET_PRICE:
|
| 907 |
if (value == null) {
|
907 |
if (value == null) {
|
| Line 962... |
Line 962... |
| 962 |
return Double.valueOf(getCheapestBulkPrice());
|
962 |
return Double.valueOf(getCheapestBulkPrice());
|
| 963 |
|
963 |
|
| 964 |
case PACK_QUANTITY:
|
964 |
case PACK_QUANTITY:
|
| 965 |
return Long.valueOf(getPackQuantity());
|
965 |
return Long.valueOf(getPackQuantity());
|
| 966 |
|
966 |
|
| 967 |
case NET_PRICING_AFTER_CASH_BACK:
|
967 |
case NET_PRICE_AFTER_CASH_BACK:
|
| 968 |
return Double.valueOf(getNetPricingAfterCashBack());
|
968 |
return Double.valueOf(getNetPriceAfterCashBack());
|
| 969 |
|
969 |
|
| 970 |
case SHOW_NET_PRICE:
|
970 |
case SHOW_NET_PRICE:
|
| 971 |
return Long.valueOf(getShowNetPrice());
|
971 |
return Long.valueOf(getShowNetPrice());
|
| 972 |
|
972 |
|
| 973 |
}
|
973 |
}
|
| Line 1011... |
Line 1011... |
| 1011 |
return isSetGross_price();
|
1011 |
return isSetGross_price();
|
| 1012 |
case CHEAPEST_BULK_PRICE:
|
1012 |
case CHEAPEST_BULK_PRICE:
|
| 1013 |
return isSetCheapestBulkPrice();
|
1013 |
return isSetCheapestBulkPrice();
|
| 1014 |
case PACK_QUANTITY:
|
1014 |
case PACK_QUANTITY:
|
| 1015 |
return isSetPackQuantity();
|
1015 |
return isSetPackQuantity();
|
| 1016 |
case NET_PRICING_AFTER_CASH_BACK:
|
1016 |
case NET_PRICE_AFTER_CASH_BACK:
|
| 1017 |
return isSetNetPricingAfterCashBack();
|
1017 |
return isSetNetPriceAfterCashBack();
|
| 1018 |
case SHOW_NET_PRICE:
|
1018 |
case SHOW_NET_PRICE:
|
| 1019 |
return isSetShowNetPrice();
|
1019 |
return isSetShowNetPrice();
|
| 1020 |
}
|
1020 |
}
|
| 1021 |
throw new IllegalStateException();
|
1021 |
throw new IllegalStateException();
|
| 1022 |
}
|
1022 |
}
|
| Line 1176... |
Line 1176... |
| 1176 |
return false;
|
1176 |
return false;
|
| 1177 |
if (this.packQuantity != that.packQuantity)
|
1177 |
if (this.packQuantity != that.packQuantity)
|
| 1178 |
return false;
|
1178 |
return false;
|
| 1179 |
}
|
1179 |
}
|
| 1180 |
|
1180 |
|
| 1181 |
boolean this_present_netPricingAfterCashBack = true;
|
1181 |
boolean this_present_netPriceAfterCashBack = true;
|
| 1182 |
boolean that_present_netPricingAfterCashBack = true;
|
1182 |
boolean that_present_netPriceAfterCashBack = true;
|
| 1183 |
if (this_present_netPricingAfterCashBack || that_present_netPricingAfterCashBack) {
|
1183 |
if (this_present_netPriceAfterCashBack || that_present_netPriceAfterCashBack) {
|
| 1184 |
if (!(this_present_netPricingAfterCashBack && that_present_netPricingAfterCashBack))
|
1184 |
if (!(this_present_netPriceAfterCashBack && that_present_netPriceAfterCashBack))
|
| 1185 |
return false;
|
1185 |
return false;
|
| 1186 |
if (this.netPricingAfterCashBack != that.netPricingAfterCashBack)
|
1186 |
if (this.netPriceAfterCashBack != that.netPriceAfterCashBack)
|
| 1187 |
return false;
|
1187 |
return false;
|
| 1188 |
}
|
1188 |
}
|
| 1189 |
|
1189 |
|
| 1190 |
boolean this_present_showNetPrice = true;
|
1190 |
boolean this_present_showNetPrice = true;
|
| 1191 |
boolean that_present_showNetPrice = true;
|
1191 |
boolean that_present_showNetPrice = true;
|
| Line 1370... |
Line 1370... |
| 1370 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.packQuantity, typedOther.packQuantity);
|
1370 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.packQuantity, typedOther.packQuantity);
|
| 1371 |
if (lastComparison != 0) {
|
1371 |
if (lastComparison != 0) {
|
| 1372 |
return lastComparison;
|
1372 |
return lastComparison;
|
| 1373 |
}
|
1373 |
}
|
| 1374 |
}
|
1374 |
}
|
| 1375 |
lastComparison = Boolean.valueOf(isSetNetPricingAfterCashBack()).compareTo(typedOther.isSetNetPricingAfterCashBack());
|
1375 |
lastComparison = Boolean.valueOf(isSetNetPriceAfterCashBack()).compareTo(typedOther.isSetNetPriceAfterCashBack());
|
| 1376 |
if (lastComparison != 0) {
|
1376 |
if (lastComparison != 0) {
|
| 1377 |
return lastComparison;
|
1377 |
return lastComparison;
|
| 1378 |
}
|
1378 |
}
|
| 1379 |
if (isSetNetPricingAfterCashBack()) {
|
1379 |
if (isSetNetPriceAfterCashBack()) {
|
| 1380 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.netPricingAfterCashBack, typedOther.netPricingAfterCashBack);
|
1380 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.netPriceAfterCashBack, typedOther.netPriceAfterCashBack);
|
| 1381 |
if (lastComparison != 0) {
|
1381 |
if (lastComparison != 0) {
|
| 1382 |
return lastComparison;
|
1382 |
return lastComparison;
|
| 1383 |
}
|
1383 |
}
|
| 1384 |
}
|
1384 |
}
|
| 1385 |
lastComparison = Boolean.valueOf(isSetShowNetPrice()).compareTo(typedOther.isSetShowNetPrice());
|
1385 |
lastComparison = Boolean.valueOf(isSetShowNetPrice()).compareTo(typedOther.isSetShowNetPrice());
|
| Line 1529... |
Line 1529... |
| 1529 |
setPackQuantityIsSet(true);
|
1529 |
setPackQuantityIsSet(true);
|
| 1530 |
} else {
|
1530 |
} else {
|
| 1531 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1531 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1532 |
}
|
1532 |
}
|
| 1533 |
break;
|
1533 |
break;
|
| 1534 |
case 17: // NET_PRICING_AFTER_CASH_BACK
|
1534 |
case 17: // NET_PRICE_AFTER_CASH_BACK
|
| 1535 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1535 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1536 |
this.netPricingAfterCashBack = iprot.readDouble();
|
1536 |
this.netPriceAfterCashBack = iprot.readDouble();
|
| 1537 |
setNetPricingAfterCashBackIsSet(true);
|
1537 |
setNetPriceAfterCashBackIsSet(true);
|
| 1538 |
} else {
|
1538 |
} else {
|
| 1539 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1539 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1540 |
}
|
1540 |
}
|
| 1541 |
break;
|
1541 |
break;
|
| 1542 |
case 18: // SHOW_NET_PRICE
|
1542 |
case 18: // SHOW_NET_PRICE
|
| Line 1618... |
Line 1618... |
| 1618 |
oprot.writeDouble(this.cheapestBulkPrice);
|
1618 |
oprot.writeDouble(this.cheapestBulkPrice);
|
| 1619 |
oprot.writeFieldEnd();
|
1619 |
oprot.writeFieldEnd();
|
| 1620 |
oprot.writeFieldBegin(PACK_QUANTITY_FIELD_DESC);
|
1620 |
oprot.writeFieldBegin(PACK_QUANTITY_FIELD_DESC);
|
| 1621 |
oprot.writeI64(this.packQuantity);
|
1621 |
oprot.writeI64(this.packQuantity);
|
| 1622 |
oprot.writeFieldEnd();
|
1622 |
oprot.writeFieldEnd();
|
| 1623 |
oprot.writeFieldBegin(NET_PRICING_AFTER_CASH_BACK_FIELD_DESC);
|
1623 |
oprot.writeFieldBegin(NET_PRICE_AFTER_CASH_BACK_FIELD_DESC);
|
| 1624 |
oprot.writeDouble(this.netPricingAfterCashBack);
|
1624 |
oprot.writeDouble(this.netPriceAfterCashBack);
|
| 1625 |
oprot.writeFieldEnd();
|
1625 |
oprot.writeFieldEnd();
|
| 1626 |
oprot.writeFieldBegin(SHOW_NET_PRICE_FIELD_DESC);
|
1626 |
oprot.writeFieldBegin(SHOW_NET_PRICE_FIELD_DESC);
|
| 1627 |
oprot.writeI64(this.showNetPrice);
|
1627 |
oprot.writeI64(this.showNetPrice);
|
| 1628 |
oprot.writeFieldEnd();
|
1628 |
oprot.writeFieldEnd();
|
| 1629 |
oprot.writeFieldStop();
|
1629 |
oprot.writeFieldStop();
|
| Line 1721... |
Line 1721... |
| 1721 |
if (!first) sb.append(", ");
|
1721 |
if (!first) sb.append(", ");
|
| 1722 |
sb.append("packQuantity:");
|
1722 |
sb.append("packQuantity:");
|
| 1723 |
sb.append(this.packQuantity);
|
1723 |
sb.append(this.packQuantity);
|
| 1724 |
first = false;
|
1724 |
first = false;
|
| 1725 |
if (!first) sb.append(", ");
|
1725 |
if (!first) sb.append(", ");
|
| 1726 |
sb.append("netPricingAfterCashBack:");
|
1726 |
sb.append("netPriceAfterCashBack:");
|
| 1727 |
sb.append(this.netPricingAfterCashBack);
|
1727 |
sb.append(this.netPriceAfterCashBack);
|
| 1728 |
first = false;
|
1728 |
first = false;
|
| 1729 |
if (!first) sb.append(", ");
|
1729 |
if (!first) sb.append(", ");
|
| 1730 |
sb.append("showNetPrice:");
|
1730 |
sb.append("showNetPrice:");
|
| 1731 |
sb.append(this.showNetPrice);
|
1731 |
sb.append(this.showNetPrice);
|
| 1732 |
first = false;
|
1732 |
first = false;
|