Subversion Repositories SmartDukaan

Rev

Rev 3430 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3430 Rev 18735
Line 37... Line 37...
37
  private static final org.apache.thrift.protocol.TField ENABLED_FIELD_DESC = new org.apache.thrift.protocol.TField("enabled", org.apache.thrift.protocol.TType.BOOL, (short)9);
37
  private static final org.apache.thrift.protocol.TField ENABLED_FIELD_DESC = new org.apache.thrift.protocol.TField("enabled", org.apache.thrift.protocol.TType.BOOL, (short)9);
38
  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)10);
38
  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)10);
39
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)11);
39
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)11);
40
  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)12);
40
  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)12);
41
  private static final org.apache.thrift.protocol.TField PHONE_FIELD_DESC = new org.apache.thrift.protocol.TField("phone", org.apache.thrift.protocol.TType.STRING, (short)13);
41
  private static final org.apache.thrift.protocol.TField PHONE_FIELD_DESC = new org.apache.thrift.protocol.TField("phone", org.apache.thrift.protocol.TType.STRING, (short)13);
-
 
42
  private static final org.apache.thrift.protocol.TField TAX_INVOICE_AVAILABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("taxInvoiceAvailable", org.apache.thrift.protocol.TType.BOOL, (short)14);
-
 
43
  private static final org.apache.thrift.protocol.TField CREDIT_OPTION_AVAILABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("creditOptionAvailable", org.apache.thrift.protocol.TType.BOOL, (short)15);
42
 
44
 
43
  private long id; // required
45
  private long id; // required
44
  private String line1; // required
46
  private String line1; // required
45
  private String line2; // required
47
  private String line2; // required
46
  private String landmark; // required
48
  private String landmark; // required
Line 51... Line 53...
51
  private boolean enabled; // required
53
  private boolean enabled; // required
52
  private AddressType type; // required
54
  private AddressType type; // required
53
  private long addedOn; // required
55
  private long addedOn; // required
54
  private String name; // required
56
  private String name; // required
55
  private String phone; // required
57
  private String phone; // required
-
 
58
  private boolean taxInvoiceAvailable; // required
-
 
59
  private boolean creditOptionAvailable; // required
56
 
60
 
57
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
61
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
58
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
62
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
59
    ID((short)1, "id"),
63
    ID((short)1, "id"),
60
    LINE1((short)2, "line1"),
64
    LINE1((short)2, "line1"),
Line 70... Line 74...
70
     * @see AddressType
74
     * @see AddressType
71
     */
75
     */
72
    TYPE((short)10, "type"),
76
    TYPE((short)10, "type"),
73
    ADDED_ON((short)11, "addedOn"),
77
    ADDED_ON((short)11, "addedOn"),
74
    NAME((short)12, "name"),
78
    NAME((short)12, "name"),
75
    PHONE((short)13, "phone");
79
    PHONE((short)13, "phone"),
-
 
80
    TAX_INVOICE_AVAILABLE((short)14, "taxInvoiceAvailable"),
-
 
81
    CREDIT_OPTION_AVAILABLE((short)15, "creditOptionAvailable");
76
 
82
 
77
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
83
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
78
 
84
 
79
    static {
85
    static {
80
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
86
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 111... Line 117...
111
          return ADDED_ON;
117
          return ADDED_ON;
112
        case 12: // NAME
118
        case 12: // NAME
113
          return NAME;
119
          return NAME;
114
        case 13: // PHONE
120
        case 13: // PHONE
115
          return PHONE;
121
          return PHONE;
-
 
122
        case 14: // TAX_INVOICE_AVAILABLE
-
 
123
          return TAX_INVOICE_AVAILABLE;
-
 
124
        case 15: // CREDIT_OPTION_AVAILABLE
-
 
125
          return CREDIT_OPTION_AVAILABLE;
116
        default:
126
        default:
117
          return null;
127
          return null;
118
      }
128
      }
119
    }
129
    }
120
 
130
 
Line 154... Line 164...
154
 
164
 
155
  // isset id assignments
165
  // isset id assignments
156
  private static final int __ID_ISSET_ID = 0;
166
  private static final int __ID_ISSET_ID = 0;
157
  private static final int __ENABLED_ISSET_ID = 1;
167
  private static final int __ENABLED_ISSET_ID = 1;
158
  private static final int __ADDEDON_ISSET_ID = 2;
168
  private static final int __ADDEDON_ISSET_ID = 2;
-
 
169
  private static final int __TAXINVOICEAVAILABLE_ISSET_ID = 3;
-
 
170
  private static final int __CREDITOPTIONAVAILABLE_ISSET_ID = 4;
159
  private BitSet __isset_bit_vector = new BitSet(3);
171
  private BitSet __isset_bit_vector = new BitSet(5);
160
 
172
 
161
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
173
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
162
  static {
174
  static {
163
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
175
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
164
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
176
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 185... Line 197...
185
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
197
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
186
    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
198
    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
187
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
199
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
188
    tmpMap.put(_Fields.PHONE, new org.apache.thrift.meta_data.FieldMetaData("phone", org.apache.thrift.TFieldRequirementType.DEFAULT, 
200
    tmpMap.put(_Fields.PHONE, new org.apache.thrift.meta_data.FieldMetaData("phone", org.apache.thrift.TFieldRequirementType.DEFAULT, 
189
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
201
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
202
    tmpMap.put(_Fields.TAX_INVOICE_AVAILABLE, new org.apache.thrift.meta_data.FieldMetaData("taxInvoiceAvailable", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
203
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
204
    tmpMap.put(_Fields.CREDIT_OPTION_AVAILABLE, new org.apache.thrift.meta_data.FieldMetaData("creditOptionAvailable", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
205
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
190
    metaDataMap = Collections.unmodifiableMap(tmpMap);
206
    metaDataMap = Collections.unmodifiableMap(tmpMap);
191
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Address.class, metaDataMap);
207
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Address.class, metaDataMap);
192
  }
208
  }
193
 
209
 
194
  public Address() {
210
  public Address() {
Line 205... Line 221...
205
    String country,
221
    String country,
206
    boolean enabled,
222
    boolean enabled,
207
    AddressType type,
223
    AddressType type,
208
    long addedOn,
224
    long addedOn,
209
    String name,
225
    String name,
210
    String phone)
226
    String phone,
-
 
227
    boolean taxInvoiceAvailable,
-
 
228
    boolean creditOptionAvailable)
211
  {
229
  {
212
    this();
230
    this();
213
    this.id = id;
231
    this.id = id;
214
    setIdIsSet(true);
232
    setIdIsSet(true);
215
    this.line1 = line1;
233
    this.line1 = line1;
Line 224... Line 242...
224
    this.type = type;
242
    this.type = type;
225
    this.addedOn = addedOn;
243
    this.addedOn = addedOn;
226
    setAddedOnIsSet(true);
244
    setAddedOnIsSet(true);
227
    this.name = name;
245
    this.name = name;
228
    this.phone = phone;
246
    this.phone = phone;
-
 
247
    this.taxInvoiceAvailable = taxInvoiceAvailable;
-
 
248
    setTaxInvoiceAvailableIsSet(true);
-
 
249
    this.creditOptionAvailable = creditOptionAvailable;
-
 
250
    setCreditOptionAvailableIsSet(true);
229
  }
251
  }
230
 
252
 
231
  /**
253
  /**
232
   * Performs a deep copy on <i>other</i>.
254
   * Performs a deep copy on <i>other</i>.
233
   */
255
   */
Line 265... Line 287...
265
      this.name = other.name;
287
      this.name = other.name;
266
    }
288
    }
267
    if (other.isSetPhone()) {
289
    if (other.isSetPhone()) {
268
      this.phone = other.phone;
290
      this.phone = other.phone;
269
    }
291
    }
-
 
292
    this.taxInvoiceAvailable = other.taxInvoiceAvailable;
-
 
293
    this.creditOptionAvailable = other.creditOptionAvailable;
270
  }
294
  }
271
 
295
 
272
  public Address deepCopy() {
296
  public Address deepCopy() {
273
    return new Address(this);
297
    return new Address(this);
274
  }
298
  }
Line 289... Line 313...
289
    this.type = null;
313
    this.type = null;
290
    setAddedOnIsSet(false);
314
    setAddedOnIsSet(false);
291
    this.addedOn = 0;
315
    this.addedOn = 0;
292
    this.name = null;
316
    this.name = null;
293
    this.phone = null;
317
    this.phone = null;
-
 
318
    setTaxInvoiceAvailableIsSet(false);
-
 
319
    this.taxInvoiceAvailable = false;
-
 
320
    setCreditOptionAvailableIsSet(false);
-
 
321
    this.creditOptionAvailable = false;
294
  }
322
  }
295
 
323
 
296
  public long getId() {
324
  public long getId() {
297
    return this.id;
325
    return this.id;
298
  }
326
  }
Line 595... Line 623...
595
    if (!value) {
623
    if (!value) {
596
      this.phone = null;
624
      this.phone = null;
597
    }
625
    }
598
  }
626
  }
599
 
627
 
-
 
628
  public boolean isTaxInvoiceAvailable() {
-
 
629
    return this.taxInvoiceAvailable;
-
 
630
  }
-
 
631
 
-
 
632
  public void setTaxInvoiceAvailable(boolean taxInvoiceAvailable) {
-
 
633
    this.taxInvoiceAvailable = taxInvoiceAvailable;
-
 
634
    setTaxInvoiceAvailableIsSet(true);
-
 
635
  }
-
 
636
 
-
 
637
  public void unsetTaxInvoiceAvailable() {
-
 
638
    __isset_bit_vector.clear(__TAXINVOICEAVAILABLE_ISSET_ID);
-
 
639
  }
-
 
640
 
-
 
641
  /** Returns true if field taxInvoiceAvailable is set (has been assigned a value) and false otherwise */
-
 
642
  public boolean isSetTaxInvoiceAvailable() {
-
 
643
    return __isset_bit_vector.get(__TAXINVOICEAVAILABLE_ISSET_ID);
-
 
644
  }
-
 
645
 
-
 
646
  public void setTaxInvoiceAvailableIsSet(boolean value) {
-
 
647
    __isset_bit_vector.set(__TAXINVOICEAVAILABLE_ISSET_ID, value);
-
 
648
  }
-
 
649
 
-
 
650
  public boolean isCreditOptionAvailable() {
-
 
651
    return this.creditOptionAvailable;
-
 
652
  }
-
 
653
 
-
 
654
  public void setCreditOptionAvailable(boolean creditOptionAvailable) {
-
 
655
    this.creditOptionAvailable = creditOptionAvailable;
-
 
656
    setCreditOptionAvailableIsSet(true);
-
 
657
  }
-
 
658
 
-
 
659
  public void unsetCreditOptionAvailable() {
-
 
660
    __isset_bit_vector.clear(__CREDITOPTIONAVAILABLE_ISSET_ID);
-
 
661
  }
-
 
662
 
-
 
663
  /** Returns true if field creditOptionAvailable is set (has been assigned a value) and false otherwise */
-
 
664
  public boolean isSetCreditOptionAvailable() {
-
 
665
    return __isset_bit_vector.get(__CREDITOPTIONAVAILABLE_ISSET_ID);
-
 
666
  }
-
 
667
 
-
 
668
  public void setCreditOptionAvailableIsSet(boolean value) {
-
 
669
    __isset_bit_vector.set(__CREDITOPTIONAVAILABLE_ISSET_ID, value);
-
 
670
  }
-
 
671
 
600
  public void setFieldValue(_Fields field, Object value) {
672
  public void setFieldValue(_Fields field, Object value) {
601
    switch (field) {
673
    switch (field) {
602
    case ID:
674
    case ID:
603
      if (value == null) {
675
      if (value == null) {
604
        unsetId();
676
        unsetId();
Line 701... Line 773...
701
      } else {
773
      } else {
702
        setPhone((String)value);
774
        setPhone((String)value);
703
      }
775
      }
704
      break;
776
      break;
705
 
777
 
-
 
778
    case TAX_INVOICE_AVAILABLE:
-
 
779
      if (value == null) {
-
 
780
        unsetTaxInvoiceAvailable();
-
 
781
      } else {
-
 
782
        setTaxInvoiceAvailable((Boolean)value);
-
 
783
      }
-
 
784
      break;
-
 
785
 
-
 
786
    case CREDIT_OPTION_AVAILABLE:
-
 
787
      if (value == null) {
-
 
788
        unsetCreditOptionAvailable();
-
 
789
      } else {
-
 
790
        setCreditOptionAvailable((Boolean)value);
-
 
791
      }
-
 
792
      break;
-
 
793
 
706
    }
794
    }
707
  }
795
  }
708
 
796
 
709
  public Object getFieldValue(_Fields field) {
797
  public Object getFieldValue(_Fields field) {
710
    switch (field) {
798
    switch (field) {
Line 745... Line 833...
745
      return getName();
833
      return getName();
746
 
834
 
747
    case PHONE:
835
    case PHONE:
748
      return getPhone();
836
      return getPhone();
749
 
837
 
-
 
838
    case TAX_INVOICE_AVAILABLE:
-
 
839
      return Boolean.valueOf(isTaxInvoiceAvailable());
-
 
840
 
-
 
841
    case CREDIT_OPTION_AVAILABLE:
-
 
842
      return Boolean.valueOf(isCreditOptionAvailable());
-
 
843
 
750
    }
844
    }
751
    throw new IllegalStateException();
845
    throw new IllegalStateException();
752
  }
846
  }
753
 
847
 
754
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
848
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 782... Line 876...
782
      return isSetAddedOn();
876
      return isSetAddedOn();
783
    case NAME:
877
    case NAME:
784
      return isSetName();
878
      return isSetName();
785
    case PHONE:
879
    case PHONE:
786
      return isSetPhone();
880
      return isSetPhone();
-
 
881
    case TAX_INVOICE_AVAILABLE:
-
 
882
      return isSetTaxInvoiceAvailable();
-
 
883
    case CREDIT_OPTION_AVAILABLE:
-
 
884
      return isSetCreditOptionAvailable();
787
    }
885
    }
788
    throw new IllegalStateException();
886
    throw new IllegalStateException();
789
  }
887
  }
790
 
888
 
791
  @Override
889
  @Override
Line 916... Line 1014...
916
        return false;
1014
        return false;
917
      if (!this.phone.equals(that.phone))
1015
      if (!this.phone.equals(that.phone))
918
        return false;
1016
        return false;
919
    }
1017
    }
920
 
1018
 
-
 
1019
    boolean this_present_taxInvoiceAvailable = true;
-
 
1020
    boolean that_present_taxInvoiceAvailable = true;
-
 
1021
    if (this_present_taxInvoiceAvailable || that_present_taxInvoiceAvailable) {
-
 
1022
      if (!(this_present_taxInvoiceAvailable && that_present_taxInvoiceAvailable))
-
 
1023
        return false;
-
 
1024
      if (this.taxInvoiceAvailable != that.taxInvoiceAvailable)
-
 
1025
        return false;
-
 
1026
    }
-
 
1027
 
-
 
1028
    boolean this_present_creditOptionAvailable = true;
-
 
1029
    boolean that_present_creditOptionAvailable = true;
-
 
1030
    if (this_present_creditOptionAvailable || that_present_creditOptionAvailable) {
-
 
1031
      if (!(this_present_creditOptionAvailable && that_present_creditOptionAvailable))
-
 
1032
        return false;
-
 
1033
      if (this.creditOptionAvailable != that.creditOptionAvailable)
-
 
1034
        return false;
-
 
1035
    }
-
 
1036
 
921
    return true;
1037
    return true;
922
  }
1038
  }
923
 
1039
 
924
  @Override
1040
  @Override
925
  public int hashCode() {
1041
  public int hashCode() {
Line 1062... Line 1178...
1062
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.phone, typedOther.phone);
1178
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.phone, typedOther.phone);
1063
      if (lastComparison != 0) {
1179
      if (lastComparison != 0) {
1064
        return lastComparison;
1180
        return lastComparison;
1065
      }
1181
      }
1066
    }
1182
    }
-
 
1183
    lastComparison = Boolean.valueOf(isSetTaxInvoiceAvailable()).compareTo(typedOther.isSetTaxInvoiceAvailable());
-
 
1184
    if (lastComparison != 0) {
-
 
1185
      return lastComparison;
-
 
1186
    }
-
 
1187
    if (isSetTaxInvoiceAvailable()) {
-
 
1188
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taxInvoiceAvailable, typedOther.taxInvoiceAvailable);
-
 
1189
      if (lastComparison != 0) {
-
 
1190
        return lastComparison;
-
 
1191
      }
-
 
1192
    }
-
 
1193
    lastComparison = Boolean.valueOf(isSetCreditOptionAvailable()).compareTo(typedOther.isSetCreditOptionAvailable());
-
 
1194
    if (lastComparison != 0) {
-
 
1195
      return lastComparison;
-
 
1196
    }
-
 
1197
    if (isSetCreditOptionAvailable()) {
-
 
1198
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditOptionAvailable, typedOther.creditOptionAvailable);
-
 
1199
      if (lastComparison != 0) {
-
 
1200
        return lastComparison;
-
 
1201
      }
-
 
1202
    }
1067
    return 0;
1203
    return 0;
1068
  }
1204
  }
1069
 
1205
 
1070
  public _Fields fieldForId(int fieldId) {
1206
  public _Fields fieldForId(int fieldId) {
1071
    return _Fields.findByThriftId(fieldId);
1207
    return _Fields.findByThriftId(fieldId);
Line 1173... Line 1309...
1173
            this.phone = iprot.readString();
1309
            this.phone = iprot.readString();
1174
          } else { 
1310
          } else { 
1175
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1311
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1176
          }
1312
          }
1177
          break;
1313
          break;
-
 
1314
        case 14: // TAX_INVOICE_AVAILABLE
-
 
1315
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
1316
            this.taxInvoiceAvailable = iprot.readBool();
-
 
1317
            setTaxInvoiceAvailableIsSet(true);
-
 
1318
          } else { 
-
 
1319
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1320
          }
-
 
1321
          break;
-
 
1322
        case 15: // CREDIT_OPTION_AVAILABLE
-
 
1323
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
1324
            this.creditOptionAvailable = iprot.readBool();
-
 
1325
            setCreditOptionAvailableIsSet(true);
-
 
1326
          } else { 
-
 
1327
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1328
          }
-
 
1329
          break;
1178
        default:
1330
        default:
1179
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1331
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1180
      }
1332
      }
1181
      iprot.readFieldEnd();
1333
      iprot.readFieldEnd();
1182
    }
1334
    }
Line 1245... Line 1397...
1245
    if (this.phone != null) {
1397
    if (this.phone != null) {
1246
      oprot.writeFieldBegin(PHONE_FIELD_DESC);
1398
      oprot.writeFieldBegin(PHONE_FIELD_DESC);
1247
      oprot.writeString(this.phone);
1399
      oprot.writeString(this.phone);
1248
      oprot.writeFieldEnd();
1400
      oprot.writeFieldEnd();
1249
    }
1401
    }
-
 
1402
    oprot.writeFieldBegin(TAX_INVOICE_AVAILABLE_FIELD_DESC);
-
 
1403
    oprot.writeBool(this.taxInvoiceAvailable);
-
 
1404
    oprot.writeFieldEnd();
-
 
1405
    oprot.writeFieldBegin(CREDIT_OPTION_AVAILABLE_FIELD_DESC);
-
 
1406
    oprot.writeBool(this.creditOptionAvailable);
-
 
1407
    oprot.writeFieldEnd();
1250
    oprot.writeFieldStop();
1408
    oprot.writeFieldStop();
1251
    oprot.writeStructEnd();
1409
    oprot.writeStructEnd();
1252
  }
1410
  }
1253
 
1411
 
1254
  @Override
1412
  @Override
Line 1345... Line 1503...
1345
      sb.append("null");
1503
      sb.append("null");
1346
    } else {
1504
    } else {
1347
      sb.append(this.phone);
1505
      sb.append(this.phone);
1348
    }
1506
    }
1349
    first = false;
1507
    first = false;
-
 
1508
    if (!first) sb.append(", ");
-
 
1509
    sb.append("taxInvoiceAvailable:");
-
 
1510
    sb.append(this.taxInvoiceAvailable);
-
 
1511
    first = false;
-
 
1512
    if (!first) sb.append(", ");
-
 
1513
    sb.append("creditOptionAvailable:");
-
 
1514
    sb.append(this.creditOptionAvailable);
-
 
1515
    first = false;
1350
    sb.append(")");
1516
    sb.append(")");
1351
    return sb.toString();
1517
    return sb.toString();
1352
  }
1518
  }
1353
 
1519
 
1354
  public void validate() throws org.apache.thrift.TException {
1520
  public void validate() throws org.apache.thrift.TException {