| Line 32... |
Line 32... |
| 32 |
private static final org.apache.thrift.protocol.TField TIN_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("tinNumber", org.apache.thrift.protocol.TType.STRING, (short)7);
|
32 |
private static final org.apache.thrift.protocol.TField TIN_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("tinNumber", org.apache.thrift.protocol.TType.STRING, (short)7);
|
| 33 |
private static final org.apache.thrift.protocol.TField PINCODE_FIELD_DESC = new org.apache.thrift.protocol.TField("pincode", org.apache.thrift.protocol.TType.STRING, (short)8);
|
33 |
private static final org.apache.thrift.protocol.TField PINCODE_FIELD_DESC = new org.apache.thrift.protocol.TField("pincode", org.apache.thrift.protocol.TType.STRING, (short)8);
|
| 34 |
private static final org.apache.thrift.protocol.TField VENDOR_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorString", org.apache.thrift.protocol.TType.STRING, (short)9);
|
34 |
private static final org.apache.thrift.protocol.TField VENDOR_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorString", org.apache.thrift.protocol.TType.STRING, (short)9);
|
| 35 |
private static final org.apache.thrift.protocol.TField LOGISTICS_LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsLocation", org.apache.thrift.protocol.TType.I32, (short)10);
|
35 |
private static final org.apache.thrift.protocol.TField LOGISTICS_LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsLocation", org.apache.thrift.protocol.TType.I32, (short)10);
|
| 36 |
private static final org.apache.thrift.protocol.TField VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("vendor", org.apache.thrift.protocol.TType.STRING, (short)11);
|
36 |
private static final org.apache.thrift.protocol.TField VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("vendor", org.apache.thrift.protocol.TType.STRING, (short)11);
|
| 37 |
private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)12);
|
- |
|
| 38 |
private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I32, (short)13);
|
37 |
private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I32, (short)12);
|
| 39 |
|
38 |
|
| 40 |
private long id; // required
|
39 |
private long id; // required
|
| 41 |
private String displayName; // required
|
40 |
private String displayName; // required
|
| 42 |
private String location; // required
|
41 |
private String location; // required
|
| 43 |
private status warehouseStatus; // required
|
42 |
private status warehouseStatus; // required
|
| Line 46... |
Line 45... |
| 46 |
private String tinNumber; // required
|
45 |
private String tinNumber; // required
|
| 47 |
private String pincode; // required
|
46 |
private String pincode; // required
|
| 48 |
private String vendorString; // required
|
47 |
private String vendorString; // required
|
| 49 |
private WarehouseLocation logisticsLocation; // required
|
48 |
private WarehouseLocation logisticsLocation; // required
|
| 50 |
private String vendor; // required
|
49 |
private String vendor; // required
|
| 51 |
private long vendorId; // required
|
- |
|
| 52 |
private BillingType billingType; // required
|
50 |
private BillingType billingType; // required
|
| 53 |
|
51 |
|
| 54 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
52 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 55 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
53 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 56 |
ID((short)1, "id"),
|
54 |
ID((short)1, "id"),
|
| Line 70... |
Line 68... |
| 70 |
*
|
68 |
*
|
| 71 |
* @see WarehouseLocation
|
69 |
* @see WarehouseLocation
|
| 72 |
*/
|
70 |
*/
|
| 73 |
LOGISTICS_LOCATION((short)10, "logisticsLocation"),
|
71 |
LOGISTICS_LOCATION((short)10, "logisticsLocation"),
|
| 74 |
VENDOR((short)11, "vendor"),
|
72 |
VENDOR((short)11, "vendor"),
|
| 75 |
VENDOR_ID((short)12, "vendorId"),
|
- |
|
| 76 |
/**
|
73 |
/**
|
| 77 |
*
|
74 |
*
|
| 78 |
* @see BillingType
|
75 |
* @see BillingType
|
| 79 |
*/
|
76 |
*/
|
| 80 |
BILLING_TYPE((short)13, "billingType");
|
77 |
BILLING_TYPE((short)12, "billingType");
|
| 81 |
|
78 |
|
| 82 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
79 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 83 |
|
80 |
|
| 84 |
static {
|
81 |
static {
|
| 85 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
82 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 112... |
Line 109... |
| 112 |
return VENDOR_STRING;
|
109 |
return VENDOR_STRING;
|
| 113 |
case 10: // LOGISTICS_LOCATION
|
110 |
case 10: // LOGISTICS_LOCATION
|
| 114 |
return LOGISTICS_LOCATION;
|
111 |
return LOGISTICS_LOCATION;
|
| 115 |
case 11: // VENDOR
|
112 |
case 11: // VENDOR
|
| 116 |
return VENDOR;
|
113 |
return VENDOR;
|
| 117 |
case 12: // VENDOR_ID
|
- |
|
| 118 |
return VENDOR_ID;
|
- |
|
| 119 |
case 13: // BILLING_TYPE
|
114 |
case 12: // BILLING_TYPE
|
| 120 |
return BILLING_TYPE;
|
115 |
return BILLING_TYPE;
|
| 121 |
default:
|
116 |
default:
|
| 122 |
return null;
|
117 |
return null;
|
| 123 |
}
|
118 |
}
|
| 124 |
}
|
119 |
}
|
| Line 159... |
Line 154... |
| 159 |
|
154 |
|
| 160 |
// isset id assignments
|
155 |
// isset id assignments
|
| 161 |
private static final int __ID_ISSET_ID = 0;
|
156 |
private static final int __ID_ISSET_ID = 0;
|
| 162 |
private static final int __ADDEDON_ISSET_ID = 1;
|
157 |
private static final int __ADDEDON_ISSET_ID = 1;
|
| 163 |
private static final int __LASTCHECKEDON_ISSET_ID = 2;
|
158 |
private static final int __LASTCHECKEDON_ISSET_ID = 2;
|
| 164 |
private static final int __VENDORID_ISSET_ID = 3;
|
- |
|
| 165 |
private BitSet __isset_bit_vector = new BitSet(4);
|
159 |
private BitSet __isset_bit_vector = new BitSet(3);
|
| 166 |
|
160 |
|
| 167 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
161 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 168 |
static {
|
162 |
static {
|
| 169 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
163 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 170 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
164 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 187... |
Line 181... |
| 187 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
181 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 188 |
tmpMap.put(_Fields.LOGISTICS_LOCATION, new org.apache.thrift.meta_data.FieldMetaData("logisticsLocation", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
182 |
tmpMap.put(_Fields.LOGISTICS_LOCATION, new org.apache.thrift.meta_data.FieldMetaData("logisticsLocation", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 189 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, WarehouseLocation.class)));
|
183 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, WarehouseLocation.class)));
|
| 190 |
tmpMap.put(_Fields.VENDOR, new org.apache.thrift.meta_data.FieldMetaData("vendor", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
184 |
tmpMap.put(_Fields.VENDOR, new org.apache.thrift.meta_data.FieldMetaData("vendor", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 191 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
185 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 192 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
- |
|
| 193 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
- |
|
| 194 |
tmpMap.put(_Fields.BILLING_TYPE, new org.apache.thrift.meta_data.FieldMetaData("billingType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
186 |
tmpMap.put(_Fields.BILLING_TYPE, new org.apache.thrift.meta_data.FieldMetaData("billingType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 195 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, BillingType.class)));
|
187 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, BillingType.class)));
|
| 196 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
188 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 197 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Warehouse.class, metaDataMap);
|
189 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Warehouse.class, metaDataMap);
|
| 198 |
}
|
190 |
}
|
| Line 210... |
Line 202... |
| 210 |
String tinNumber,
|
202 |
String tinNumber,
|
| 211 |
String pincode,
|
203 |
String pincode,
|
| 212 |
String vendorString,
|
204 |
String vendorString,
|
| 213 |
WarehouseLocation logisticsLocation,
|
205 |
WarehouseLocation logisticsLocation,
|
| 214 |
String vendor,
|
206 |
String vendor,
|
| 215 |
long vendorId,
|
- |
|
| 216 |
BillingType billingType)
|
207 |
BillingType billingType)
|
| 217 |
{
|
208 |
{
|
| 218 |
this();
|
209 |
this();
|
| 219 |
this.id = id;
|
210 |
this.id = id;
|
| 220 |
setIdIsSet(true);
|
211 |
setIdIsSet(true);
|
| Line 228... |
Line 219... |
| 228 |
this.tinNumber = tinNumber;
|
219 |
this.tinNumber = tinNumber;
|
| 229 |
this.pincode = pincode;
|
220 |
this.pincode = pincode;
|
| 230 |
this.vendorString = vendorString;
|
221 |
this.vendorString = vendorString;
|
| 231 |
this.logisticsLocation = logisticsLocation;
|
222 |
this.logisticsLocation = logisticsLocation;
|
| 232 |
this.vendor = vendor;
|
223 |
this.vendor = vendor;
|
| 233 |
this.vendorId = vendorId;
|
- |
|
| 234 |
setVendorIdIsSet(true);
|
- |
|
| 235 |
this.billingType = billingType;
|
224 |
this.billingType = billingType;
|
| 236 |
}
|
225 |
}
|
| 237 |
|
226 |
|
| 238 |
/**
|
227 |
/**
|
| 239 |
* Performs a deep copy on <i>other</i>.
|
228 |
* Performs a deep copy on <i>other</i>.
|
| Line 266... |
Line 255... |
| 266 |
this.logisticsLocation = other.logisticsLocation;
|
255 |
this.logisticsLocation = other.logisticsLocation;
|
| 267 |
}
|
256 |
}
|
| 268 |
if (other.isSetVendor()) {
|
257 |
if (other.isSetVendor()) {
|
| 269 |
this.vendor = other.vendor;
|
258 |
this.vendor = other.vendor;
|
| 270 |
}
|
259 |
}
|
| 271 |
this.vendorId = other.vendorId;
|
- |
|
| 272 |
if (other.isSetBillingType()) {
|
260 |
if (other.isSetBillingType()) {
|
| 273 |
this.billingType = other.billingType;
|
261 |
this.billingType = other.billingType;
|
| 274 |
}
|
262 |
}
|
| 275 |
}
|
263 |
}
|
| 276 |
|
264 |
|
| Line 292... |
Line 280... |
| 292 |
this.tinNumber = null;
|
280 |
this.tinNumber = null;
|
| 293 |
this.pincode = null;
|
281 |
this.pincode = null;
|
| 294 |
this.vendorString = null;
|
282 |
this.vendorString = null;
|
| 295 |
this.logisticsLocation = null;
|
283 |
this.logisticsLocation = null;
|
| 296 |
this.vendor = null;
|
284 |
this.vendor = null;
|
| 297 |
setVendorIdIsSet(false);
|
- |
|
| 298 |
this.vendorId = 0;
|
- |
|
| 299 |
this.billingType = null;
|
285 |
this.billingType = null;
|
| 300 |
}
|
286 |
}
|
| 301 |
|
287 |
|
| 302 |
public long getId() {
|
288 |
public long getId() {
|
| 303 |
return this.id;
|
289 |
return this.id;
|
| Line 563... |
Line 549... |
| 563 |
if (!value) {
|
549 |
if (!value) {
|
| 564 |
this.vendor = null;
|
550 |
this.vendor = null;
|
| 565 |
}
|
551 |
}
|
| 566 |
}
|
552 |
}
|
| 567 |
|
553 |
|
| 568 |
public long getVendorId() {
|
- |
|
| 569 |
return this.vendorId;
|
- |
|
| 570 |
}
|
- |
|
| 571 |
|
- |
|
| 572 |
public void setVendorId(long vendorId) {
|
- |
|
| 573 |
this.vendorId = vendorId;
|
- |
|
| 574 |
setVendorIdIsSet(true);
|
- |
|
| 575 |
}
|
- |
|
| 576 |
|
- |
|
| 577 |
public void unsetVendorId() {
|
- |
|
| 578 |
__isset_bit_vector.clear(__VENDORID_ISSET_ID);
|
- |
|
| 579 |
}
|
- |
|
| 580 |
|
- |
|
| 581 |
/** Returns true if field vendorId is set (has been assigned a value) and false otherwise */
|
- |
|
| 582 |
public boolean isSetVendorId() {
|
- |
|
| 583 |
return __isset_bit_vector.get(__VENDORID_ISSET_ID);
|
- |
|
| 584 |
}
|
- |
|
| 585 |
|
- |
|
| 586 |
public void setVendorIdIsSet(boolean value) {
|
- |
|
| 587 |
__isset_bit_vector.set(__VENDORID_ISSET_ID, value);
|
- |
|
| 588 |
}
|
- |
|
| 589 |
|
- |
|
| 590 |
/**
|
554 |
/**
|
| 591 |
*
|
555 |
*
|
| 592 |
* @see BillingType
|
556 |
* @see BillingType
|
| 593 |
*/
|
557 |
*/
|
| 594 |
public BillingType getBillingType() {
|
558 |
public BillingType getBillingType() {
|
| Line 706... |
Line 670... |
| 706 |
} else {
|
670 |
} else {
|
| 707 |
setVendor((String)value);
|
671 |
setVendor((String)value);
|
| 708 |
}
|
672 |
}
|
| 709 |
break;
|
673 |
break;
|
| 710 |
|
674 |
|
| 711 |
case VENDOR_ID:
|
- |
|
| 712 |
if (value == null) {
|
- |
|
| 713 |
unsetVendorId();
|
- |
|
| 714 |
} else {
|
- |
|
| 715 |
setVendorId((Long)value);
|
- |
|
| 716 |
}
|
- |
|
| 717 |
break;
|
- |
|
| 718 |
|
- |
|
| 719 |
case BILLING_TYPE:
|
675 |
case BILLING_TYPE:
|
| 720 |
if (value == null) {
|
676 |
if (value == null) {
|
| 721 |
unsetBillingType();
|
677 |
unsetBillingType();
|
| 722 |
} else {
|
678 |
} else {
|
| 723 |
setBillingType((BillingType)value);
|
679 |
setBillingType((BillingType)value);
|
| Line 760... |
Line 716... |
| 760 |
return getLogisticsLocation();
|
716 |
return getLogisticsLocation();
|
| 761 |
|
717 |
|
| 762 |
case VENDOR:
|
718 |
case VENDOR:
|
| 763 |
return getVendor();
|
719 |
return getVendor();
|
| 764 |
|
720 |
|
| 765 |
case VENDOR_ID:
|
- |
|
| 766 |
return Long.valueOf(getVendorId());
|
- |
|
| 767 |
|
- |
|
| 768 |
case BILLING_TYPE:
|
721 |
case BILLING_TYPE:
|
| 769 |
return getBillingType();
|
722 |
return getBillingType();
|
| 770 |
|
723 |
|
| 771 |
}
|
724 |
}
|
| 772 |
throw new IllegalStateException();
|
725 |
throw new IllegalStateException();
|
| Line 799... |
Line 752... |
| 799 |
return isSetVendorString();
|
752 |
return isSetVendorString();
|
| 800 |
case LOGISTICS_LOCATION:
|
753 |
case LOGISTICS_LOCATION:
|
| 801 |
return isSetLogisticsLocation();
|
754 |
return isSetLogisticsLocation();
|
| 802 |
case VENDOR:
|
755 |
case VENDOR:
|
| 803 |
return isSetVendor();
|
756 |
return isSetVendor();
|
| 804 |
case VENDOR_ID:
|
- |
|
| 805 |
return isSetVendorId();
|
- |
|
| 806 |
case BILLING_TYPE:
|
757 |
case BILLING_TYPE:
|
| 807 |
return isSetBillingType();
|
758 |
return isSetBillingType();
|
| 808 |
}
|
759 |
}
|
| 809 |
throw new IllegalStateException();
|
760 |
throw new IllegalStateException();
|
| 810 |
}
|
761 |
}
|
| Line 919... |
Line 870... |
| 919 |
return false;
|
870 |
return false;
|
| 920 |
if (!this.vendor.equals(that.vendor))
|
871 |
if (!this.vendor.equals(that.vendor))
|
| 921 |
return false;
|
872 |
return false;
|
| 922 |
}
|
873 |
}
|
| 923 |
|
874 |
|
| 924 |
boolean this_present_vendorId = true;
|
- |
|
| 925 |
boolean that_present_vendorId = true;
|
- |
|
| 926 |
if (this_present_vendorId || that_present_vendorId) {
|
- |
|
| 927 |
if (!(this_present_vendorId && that_present_vendorId))
|
- |
|
| 928 |
return false;
|
- |
|
| 929 |
if (this.vendorId != that.vendorId)
|
- |
|
| 930 |
return false;
|
- |
|
| 931 |
}
|
- |
|
| 932 |
|
- |
|
| 933 |
boolean this_present_billingType = true && this.isSetBillingType();
|
875 |
boolean this_present_billingType = true && this.isSetBillingType();
|
| 934 |
boolean that_present_billingType = true && that.isSetBillingType();
|
876 |
boolean that_present_billingType = true && that.isSetBillingType();
|
| 935 |
if (this_present_billingType || that_present_billingType) {
|
877 |
if (this_present_billingType || that_present_billingType) {
|
| 936 |
if (!(this_present_billingType && that_present_billingType))
|
878 |
if (!(this_present_billingType && that_present_billingType))
|
| 937 |
return false;
|
879 |
return false;
|
| Line 1063... |
Line 1005... |
| 1063 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendor, typedOther.vendor);
|
1005 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendor, typedOther.vendor);
|
| 1064 |
if (lastComparison != 0) {
|
1006 |
if (lastComparison != 0) {
|
| 1065 |
return lastComparison;
|
1007 |
return lastComparison;
|
| 1066 |
}
|
1008 |
}
|
| 1067 |
}
|
1009 |
}
|
| 1068 |
lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
|
- |
|
| 1069 |
if (lastComparison != 0) {
|
- |
|
| 1070 |
return lastComparison;
|
- |
|
| 1071 |
}
|
- |
|
| 1072 |
if (isSetVendorId()) {
|
- |
|
| 1073 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
|
- |
|
| 1074 |
if (lastComparison != 0) {
|
- |
|
| 1075 |
return lastComparison;
|
- |
|
| 1076 |
}
|
- |
|
| 1077 |
}
|
- |
|
| 1078 |
lastComparison = Boolean.valueOf(isSetBillingType()).compareTo(typedOther.isSetBillingType());
|
1010 |
lastComparison = Boolean.valueOf(isSetBillingType()).compareTo(typedOther.isSetBillingType());
|
| 1079 |
if (lastComparison != 0) {
|
1011 |
if (lastComparison != 0) {
|
| 1080 |
return lastComparison;
|
1012 |
return lastComparison;
|
| 1081 |
}
|
1013 |
}
|
| 1082 |
if (isSetBillingType()) {
|
1014 |
if (isSetBillingType()) {
|
| Line 1180... |
Line 1112... |
| 1180 |
this.vendor = iprot.readString();
|
1112 |
this.vendor = iprot.readString();
|
| 1181 |
} else {
|
1113 |
} else {
|
| 1182 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1114 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1183 |
}
|
1115 |
}
|
| 1184 |
break;
|
1116 |
break;
|
| 1185 |
case 12: // VENDOR_ID
|
- |
|
| 1186 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
- |
|
| 1187 |
this.vendorId = iprot.readI64();
|
- |
|
| 1188 |
setVendorIdIsSet(true);
|
- |
|
| 1189 |
} else {
|
- |
|
| 1190 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 1191 |
}
|
- |
|
| 1192 |
break;
|
- |
|
| 1193 |
case 13: // BILLING_TYPE
|
1117 |
case 12: // BILLING_TYPE
|
| 1194 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
1118 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| 1195 |
this.billingType = BillingType.findByValue(iprot.readI32());
|
1119 |
this.billingType = BillingType.findByValue(iprot.readI32());
|
| 1196 |
} else {
|
1120 |
} else {
|
| 1197 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1121 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1198 |
}
|
1122 |
}
|
| Line 1257... |
Line 1181... |
| 1257 |
if (this.vendor != null) {
|
1181 |
if (this.vendor != null) {
|
| 1258 |
oprot.writeFieldBegin(VENDOR_FIELD_DESC);
|
1182 |
oprot.writeFieldBegin(VENDOR_FIELD_DESC);
|
| 1259 |
oprot.writeString(this.vendor);
|
1183 |
oprot.writeString(this.vendor);
|
| 1260 |
oprot.writeFieldEnd();
|
1184 |
oprot.writeFieldEnd();
|
| 1261 |
}
|
1185 |
}
|
| 1262 |
oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
|
- |
|
| 1263 |
oprot.writeI64(this.vendorId);
|
- |
|
| 1264 |
oprot.writeFieldEnd();
|
- |
|
| 1265 |
if (this.billingType != null) {
|
1186 |
if (this.billingType != null) {
|
| 1266 |
oprot.writeFieldBegin(BILLING_TYPE_FIELD_DESC);
|
1187 |
oprot.writeFieldBegin(BILLING_TYPE_FIELD_DESC);
|
| 1267 |
oprot.writeI32(this.billingType.getValue());
|
1188 |
oprot.writeI32(this.billingType.getValue());
|
| 1268 |
oprot.writeFieldEnd();
|
1189 |
oprot.writeFieldEnd();
|
| 1269 |
}
|
1190 |
}
|
| Line 1350... |
Line 1271... |
| 1350 |
} else {
|
1271 |
} else {
|
| 1351 |
sb.append(this.vendor);
|
1272 |
sb.append(this.vendor);
|
| 1352 |
}
|
1273 |
}
|
| 1353 |
first = false;
|
1274 |
first = false;
|
| 1354 |
if (!first) sb.append(", ");
|
1275 |
if (!first) sb.append(", ");
|
| 1355 |
sb.append("vendorId:");
|
- |
|
| 1356 |
sb.append(this.vendorId);
|
- |
|
| 1357 |
first = false;
|
- |
|
| 1358 |
if (!first) sb.append(", ");
|
- |
|
| 1359 |
sb.append("billingType:");
|
1276 |
sb.append("billingType:");
|
| 1360 |
if (this.billingType == null) {
|
1277 |
if (this.billingType == null) {
|
| 1361 |
sb.append("null");
|
1278 |
sb.append("null");
|
| 1362 |
} else {
|
1279 |
} else {
|
| 1363 |
sb.append(this.billingType);
|
1280 |
sb.append(this.billingType);
|