Subversion Repositories SmartDukaan

Rev

Rev 19980 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19980 Rev 20873
Line 102... Line 102...
102
  private static final org.apache.thrift.protocol.TField LOGISTICS_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsTransactionId", org.apache.thrift.protocol.TType.STRING, (short)77);
102
  private static final org.apache.thrift.protocol.TField LOGISTICS_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsTransactionId", org.apache.thrift.protocol.TType.STRING, (short)77);
103
  private static final org.apache.thrift.protocol.TField SHIPPING_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingCost", org.apache.thrift.protocol.TType.DOUBLE, (short)78);
103
  private static final org.apache.thrift.protocol.TField SHIPPING_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingCost", org.apache.thrift.protocol.TType.DOUBLE, (short)78);
104
  private static final org.apache.thrift.protocol.TField COD_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("codCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)79);
104
  private static final org.apache.thrift.protocol.TField COD_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("codCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)79);
105
  private static final org.apache.thrift.protocol.TField SELLER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("seller_id", org.apache.thrift.protocol.TType.I64, (short)80);
105
  private static final org.apache.thrift.protocol.TField SELLER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("seller_id", org.apache.thrift.protocol.TType.I64, (short)80);
106
  private static final org.apache.thrift.protocol.TField WAREHOUSE_ADDRESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouse_address_id", org.apache.thrift.protocol.TType.I64, (short)81);
106
  private static final org.apache.thrift.protocol.TField WAREHOUSE_ADDRESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouse_address_id", org.apache.thrift.protocol.TType.I64, (short)81);
-
 
107
  private static final org.apache.thrift.protocol.TField WALLET_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("wallet_amount", org.apache.thrift.protocol.TType.DOUBLE, (short)82);
-
 
108
  private static final org.apache.thrift.protocol.TField NET_PAYABLE_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("net_payable_amount", org.apache.thrift.protocol.TType.DOUBLE, (short)83);
107
 
109
 
108
  private long id; // required
110
  private long id; // required
109
  private long warehouse_id; // required
111
  private long warehouse_id; // required
110
  private List<LineItem> lineitems; // required
112
  private List<LineItem> lineitems; // required
111
  private long logistics_provider_id; // required
113
  private long logistics_provider_id; // required
Line 184... Line 186...
184
  private String logisticsTransactionId; // required
186
  private String logisticsTransactionId; // required
185
  private double shippingCost; // required
187
  private double shippingCost; // required
186
  private double codCharges; // required
188
  private double codCharges; // required
187
  private long seller_id; // required
189
  private long seller_id; // required
188
  private long warehouse_address_id; // required
190
  private long warehouse_address_id; // required
-
 
191
  private double wallet_amount; // required
-
 
192
  private double net_payable_amount; // required
189
 
193
 
190
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
194
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
191
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
195
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
192
    ID((short)1, "id"),
196
    ID((short)1, "id"),
193
    WAREHOUSE_ID((short)2, "warehouse_id"),
197
    WAREHOUSE_ID((short)2, "warehouse_id"),
Line 313... Line 317...
313
    TAX_TYPE((short)76, "taxType"),
317
    TAX_TYPE((short)76, "taxType"),
314
    LOGISTICS_TRANSACTION_ID((short)77, "logisticsTransactionId"),
318
    LOGISTICS_TRANSACTION_ID((short)77, "logisticsTransactionId"),
315
    SHIPPING_COST((short)78, "shippingCost"),
319
    SHIPPING_COST((short)78, "shippingCost"),
316
    COD_CHARGES((short)79, "codCharges"),
320
    COD_CHARGES((short)79, "codCharges"),
317
    SELLER_ID((short)80, "seller_id"),
321
    SELLER_ID((short)80, "seller_id"),
318
    WAREHOUSE_ADDRESS_ID((short)81, "warehouse_address_id");
322
    WAREHOUSE_ADDRESS_ID((short)81, "warehouse_address_id"),
-
 
323
    WALLET_AMOUNT((short)82, "wallet_amount"),
-
 
324
    NET_PAYABLE_AMOUNT((short)83, "net_payable_amount");
319
 
325
 
320
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
326
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
321
 
327
 
322
    static {
328
    static {
323
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
329
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 490... Line 496...
490
          return COD_CHARGES;
496
          return COD_CHARGES;
491
        case 80: // SELLER_ID
497
        case 80: // SELLER_ID
492
          return SELLER_ID;
498
          return SELLER_ID;
493
        case 81: // WAREHOUSE_ADDRESS_ID
499
        case 81: // WAREHOUSE_ADDRESS_ID
494
          return WAREHOUSE_ADDRESS_ID;
500
          return WAREHOUSE_ADDRESS_ID;
-
 
501
        case 82: // WALLET_AMOUNT
-
 
502
          return WALLET_AMOUNT;
-
 
503
        case 83: // NET_PAYABLE_AMOUNT
-
 
504
          return NET_PAYABLE_AMOUNT;
495
        default:
505
        default:
496
          return null;
506
          return null;
497
      }
507
      }
498
    }
508
    }
499
 
509
 
Line 583... Line 593...
583
  private static final int __DATAPROTECTIONAMOUNT_ISSET_ID = 48;
593
  private static final int __DATAPROTECTIONAMOUNT_ISSET_ID = 48;
584
  private static final int __SHIPPINGCOST_ISSET_ID = 49;
594
  private static final int __SHIPPINGCOST_ISSET_ID = 49;
585
  private static final int __CODCHARGES_ISSET_ID = 50;
595
  private static final int __CODCHARGES_ISSET_ID = 50;
586
  private static final int __SELLER_ID_ISSET_ID = 51;
596
  private static final int __SELLER_ID_ISSET_ID = 51;
587
  private static final int __WAREHOUSE_ADDRESS_ID_ISSET_ID = 52;
597
  private static final int __WAREHOUSE_ADDRESS_ID_ISSET_ID = 52;
-
 
598
  private static final int __WALLET_AMOUNT_ISSET_ID = 53;
-
 
599
  private static final int __NET_PAYABLE_AMOUNT_ISSET_ID = 54;
588
  private BitSet __isset_bit_vector = new BitSet(53);
600
  private BitSet __isset_bit_vector = new BitSet(55);
589
 
601
 
590
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
602
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
591
  static {
603
  static {
592
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
604
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
593
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
605
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 751... Line 763...
751
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
763
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
752
    tmpMap.put(_Fields.SELLER_ID, new org.apache.thrift.meta_data.FieldMetaData("seller_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
764
    tmpMap.put(_Fields.SELLER_ID, new org.apache.thrift.meta_data.FieldMetaData("seller_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
753
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
765
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
754
    tmpMap.put(_Fields.WAREHOUSE_ADDRESS_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouse_address_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
766
    tmpMap.put(_Fields.WAREHOUSE_ADDRESS_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouse_address_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
755
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
767
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
768
    tmpMap.put(_Fields.WALLET_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("wallet_amount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
769
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
770
    tmpMap.put(_Fields.NET_PAYABLE_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("net_payable_amount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
771
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
756
    metaDataMap = Collections.unmodifiableMap(tmpMap);
772
    metaDataMap = Collections.unmodifiableMap(tmpMap);
757
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
773
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
758
  }
774
  }
759
 
775
 
760
  public Order() {
776
  public Order() {
Line 832... Line 848...
832
    TaxType taxType,
848
    TaxType taxType,
833
    String logisticsTransactionId,
849
    String logisticsTransactionId,
834
    double shippingCost,
850
    double shippingCost,
835
    double codCharges,
851
    double codCharges,
836
    long seller_id,
852
    long seller_id,
837
    long warehouse_address_id)
853
    long warehouse_address_id,
-
 
854
    double wallet_amount,
-
 
855
    double net_payable_amount)
838
  {
856
  {
839
    this();
857
    this();
840
    this.id = id;
858
    this.id = id;
841
    setIdIsSet(true);
859
    setIdIsSet(true);
842
    this.warehouse_id = warehouse_id;
860
    this.warehouse_id = warehouse_id;
Line 955... Line 973...
955
    setCodChargesIsSet(true);
973
    setCodChargesIsSet(true);
956
    this.seller_id = seller_id;
974
    this.seller_id = seller_id;
957
    setSeller_idIsSet(true);
975
    setSeller_idIsSet(true);
958
    this.warehouse_address_id = warehouse_address_id;
976
    this.warehouse_address_id = warehouse_address_id;
959
    setWarehouse_address_idIsSet(true);
977
    setWarehouse_address_idIsSet(true);
-
 
978
    this.wallet_amount = wallet_amount;
-
 
979
    setWallet_amountIsSet(true);
-
 
980
    this.net_payable_amount = net_payable_amount;
-
 
981
    setNet_payable_amountIsSet(true);
960
  }
982
  }
961
 
983
 
962
  /**
984
  /**
963
   * Performs a deep copy on <i>other</i>.
985
   * Performs a deep copy on <i>other</i>.
964
   */
986
   */
Line 1104... Line 1126...
1104
    }
1126
    }
1105
    this.shippingCost = other.shippingCost;
1127
    this.shippingCost = other.shippingCost;
1106
    this.codCharges = other.codCharges;
1128
    this.codCharges = other.codCharges;
1107
    this.seller_id = other.seller_id;
1129
    this.seller_id = other.seller_id;
1108
    this.warehouse_address_id = other.warehouse_address_id;
1130
    this.warehouse_address_id = other.warehouse_address_id;
-
 
1131
    this.wallet_amount = other.wallet_amount;
-
 
1132
    this.net_payable_amount = other.net_payable_amount;
1109
  }
1133
  }
1110
 
1134
 
1111
  public Order deepCopy() {
1135
  public Order deepCopy() {
1112
    return new Order(this);
1136
    return new Order(this);
1113
  }
1137
  }
Line 1246... Line 1270...
1246
    this.codCharges = 0.0;
1270
    this.codCharges = 0.0;
1247
    setSeller_idIsSet(false);
1271
    setSeller_idIsSet(false);
1248
    this.seller_id = 0;
1272
    this.seller_id = 0;
1249
    setWarehouse_address_idIsSet(false);
1273
    setWarehouse_address_idIsSet(false);
1250
    this.warehouse_address_id = 0;
1274
    this.warehouse_address_id = 0;
-
 
1275
    setWallet_amountIsSet(false);
-
 
1276
    this.wallet_amount = 0.0;
-
 
1277
    setNet_payable_amountIsSet(false);
-
 
1278
    this.net_payable_amount = 0.0;
1251
  }
1279
  }
1252
 
1280
 
1253
  public long getId() {
1281
  public long getId() {
1254
    return this.id;
1282
    return this.id;
1255
  }
1283
  }
Line 3165... Line 3193...
3165
 
3193
 
3166
  public void setWarehouse_address_idIsSet(boolean value) {
3194
  public void setWarehouse_address_idIsSet(boolean value) {
3167
    __isset_bit_vector.set(__WAREHOUSE_ADDRESS_ID_ISSET_ID, value);
3195
    __isset_bit_vector.set(__WAREHOUSE_ADDRESS_ID_ISSET_ID, value);
3168
  }
3196
  }
3169
 
3197
 
-
 
3198
  public double getWallet_amount() {
-
 
3199
    return this.wallet_amount;
-
 
3200
  }
-
 
3201
 
-
 
3202
  public void setWallet_amount(double wallet_amount) {
-
 
3203
    this.wallet_amount = wallet_amount;
-
 
3204
    setWallet_amountIsSet(true);
-
 
3205
  }
-
 
3206
 
-
 
3207
  public void unsetWallet_amount() {
-
 
3208
    __isset_bit_vector.clear(__WALLET_AMOUNT_ISSET_ID);
-
 
3209
  }
-
 
3210
 
-
 
3211
  /** Returns true if field wallet_amount is set (has been assigned a value) and false otherwise */
-
 
3212
  public boolean isSetWallet_amount() {
-
 
3213
    return __isset_bit_vector.get(__WALLET_AMOUNT_ISSET_ID);
-
 
3214
  }
-
 
3215
 
-
 
3216
  public void setWallet_amountIsSet(boolean value) {
-
 
3217
    __isset_bit_vector.set(__WALLET_AMOUNT_ISSET_ID, value);
-
 
3218
  }
-
 
3219
 
-
 
3220
  public double getNet_payable_amount() {
-
 
3221
    return this.net_payable_amount;
-
 
3222
  }
-
 
3223
 
-
 
3224
  public void setNet_payable_amount(double net_payable_amount) {
-
 
3225
    this.net_payable_amount = net_payable_amount;
-
 
3226
    setNet_payable_amountIsSet(true);
-
 
3227
  }
-
 
3228
 
-
 
3229
  public void unsetNet_payable_amount() {
-
 
3230
    __isset_bit_vector.clear(__NET_PAYABLE_AMOUNT_ISSET_ID);
-
 
3231
  }
-
 
3232
 
-
 
3233
  /** Returns true if field net_payable_amount is set (has been assigned a value) and false otherwise */
-
 
3234
  public boolean isSetNet_payable_amount() {
-
 
3235
    return __isset_bit_vector.get(__NET_PAYABLE_AMOUNT_ISSET_ID);
-
 
3236
  }
-
 
3237
 
-
 
3238
  public void setNet_payable_amountIsSet(boolean value) {
-
 
3239
    __isset_bit_vector.set(__NET_PAYABLE_AMOUNT_ISSET_ID, value);
-
 
3240
  }
-
 
3241
 
3170
  public void setFieldValue(_Fields field, Object value) {
3242
  public void setFieldValue(_Fields field, Object value) {
3171
    switch (field) {
3243
    switch (field) {
3172
    case ID:
3244
    case ID:
3173
      if (value == null) {
3245
      if (value == null) {
3174
        unsetId();
3246
        unsetId();
Line 3815... Line 3887...
3815
      } else {
3887
      } else {
3816
        setWarehouse_address_id((Long)value);
3888
        setWarehouse_address_id((Long)value);
3817
      }
3889
      }
3818
      break;
3890
      break;
3819
 
3891
 
-
 
3892
    case WALLET_AMOUNT:
-
 
3893
      if (value == null) {
-
 
3894
        unsetWallet_amount();
-
 
3895
      } else {
-
 
3896
        setWallet_amount((Double)value);
-
 
3897
      }
-
 
3898
      break;
-
 
3899
 
-
 
3900
    case NET_PAYABLE_AMOUNT:
-
 
3901
      if (value == null) {
-
 
3902
        unsetNet_payable_amount();
-
 
3903
      } else {
-
 
3904
        setNet_payable_amount((Double)value);
-
 
3905
      }
-
 
3906
      break;
-
 
3907
 
3820
    }
3908
    }
3821
  }
3909
  }
3822
 
3910
 
3823
  public Object getFieldValue(_Fields field) {
3911
  public Object getFieldValue(_Fields field) {
3824
    switch (field) {
3912
    switch (field) {
Line 4063... Line 4151...
4063
      return Long.valueOf(getSeller_id());
4151
      return Long.valueOf(getSeller_id());
4064
 
4152
 
4065
    case WAREHOUSE_ADDRESS_ID:
4153
    case WAREHOUSE_ADDRESS_ID:
4066
      return Long.valueOf(getWarehouse_address_id());
4154
      return Long.valueOf(getWarehouse_address_id());
4067
 
4155
 
-
 
4156
    case WALLET_AMOUNT:
-
 
4157
      return Double.valueOf(getWallet_amount());
-
 
4158
 
-
 
4159
    case NET_PAYABLE_AMOUNT:
-
 
4160
      return Double.valueOf(getNet_payable_amount());
-
 
4161
 
4068
    }
4162
    }
4069
    throw new IllegalStateException();
4163
    throw new IllegalStateException();
4070
  }
4164
  }
4071
 
4165
 
4072
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
4166
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 4236... Line 4330...
4236
      return isSetCodCharges();
4330
      return isSetCodCharges();
4237
    case SELLER_ID:
4331
    case SELLER_ID:
4238
      return isSetSeller_id();
4332
      return isSetSeller_id();
4239
    case WAREHOUSE_ADDRESS_ID:
4333
    case WAREHOUSE_ADDRESS_ID:
4240
      return isSetWarehouse_address_id();
4334
      return isSetWarehouse_address_id();
-
 
4335
    case WALLET_AMOUNT:
-
 
4336
      return isSetWallet_amount();
-
 
4337
    case NET_PAYABLE_AMOUNT:
-
 
4338
      return isSetNet_payable_amount();
4241
    }
4339
    }
4242
    throw new IllegalStateException();
4340
    throw new IllegalStateException();
4243
  }
4341
  }
4244
 
4342
 
4245
  @Override
4343
  @Override
Line 4982... Line 5080...
4982
        return false;
5080
        return false;
4983
      if (this.warehouse_address_id != that.warehouse_address_id)
5081
      if (this.warehouse_address_id != that.warehouse_address_id)
4984
        return false;
5082
        return false;
4985
    }
5083
    }
4986
 
5084
 
-
 
5085
    boolean this_present_wallet_amount = true;
-
 
5086
    boolean that_present_wallet_amount = true;
-
 
5087
    if (this_present_wallet_amount || that_present_wallet_amount) {
-
 
5088
      if (!(this_present_wallet_amount && that_present_wallet_amount))
-
 
5089
        return false;
-
 
5090
      if (this.wallet_amount != that.wallet_amount)
-
 
5091
        return false;
-
 
5092
    }
-
 
5093
 
-
 
5094
    boolean this_present_net_payable_amount = true;
-
 
5095
    boolean that_present_net_payable_amount = true;
-
 
5096
    if (this_present_net_payable_amount || that_present_net_payable_amount) {
-
 
5097
      if (!(this_present_net_payable_amount && that_present_net_payable_amount))
-
 
5098
        return false;
-
 
5099
      if (this.net_payable_amount != that.net_payable_amount)
-
 
5100
        return false;
-
 
5101
    }
-
 
5102
 
4987
    return true;
5103
    return true;
4988
  }
5104
  }
4989
 
5105
 
4990
  @Override
5106
  @Override
4991
  public int hashCode() {
5107
  public int hashCode() {
Line 5808... Line 5924...
5808
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouse_address_id, typedOther.warehouse_address_id);
5924
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouse_address_id, typedOther.warehouse_address_id);
5809
      if (lastComparison != 0) {
5925
      if (lastComparison != 0) {
5810
        return lastComparison;
5926
        return lastComparison;
5811
      }
5927
      }
5812
    }
5928
    }
-
 
5929
    lastComparison = Boolean.valueOf(isSetWallet_amount()).compareTo(typedOther.isSetWallet_amount());
-
 
5930
    if (lastComparison != 0) {
-
 
5931
      return lastComparison;
-
 
5932
    }
-
 
5933
    if (isSetWallet_amount()) {
-
 
5934
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.wallet_amount, typedOther.wallet_amount);
-
 
5935
      if (lastComparison != 0) {
-
 
5936
        return lastComparison;
-
 
5937
      }
-
 
5938
    }
-
 
5939
    lastComparison = Boolean.valueOf(isSetNet_payable_amount()).compareTo(typedOther.isSetNet_payable_amount());
-
 
5940
    if (lastComparison != 0) {
-
 
5941
      return lastComparison;
-
 
5942
    }
-
 
5943
    if (isSetNet_payable_amount()) {
-
 
5944
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.net_payable_amount, typedOther.net_payable_amount);
-
 
5945
      if (lastComparison != 0) {
-
 
5946
        return lastComparison;
-
 
5947
      }
-
 
5948
    }
5813
    return 0;
5949
    return 0;
5814
  }
5950
  }
5815
 
5951
 
5816
  public _Fields fieldForId(int fieldId) {
5952
  public _Fields fieldForId(int fieldId) {
5817
    return _Fields.findByThriftId(fieldId);
5953
    return _Fields.findByThriftId(fieldId);
Line 6456... Line 6592...
6456
            setWarehouse_address_idIsSet(true);
6592
            setWarehouse_address_idIsSet(true);
6457
          } else { 
6593
          } else { 
6458
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
6594
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
6459
          }
6595
          }
6460
          break;
6596
          break;
-
 
6597
        case 82: // WALLET_AMOUNT
-
 
6598
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
6599
            this.wallet_amount = iprot.readDouble();
-
 
6600
            setWallet_amountIsSet(true);
-
 
6601
          } else { 
-
 
6602
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
6603
          }
-
 
6604
          break;
-
 
6605
        case 83: // NET_PAYABLE_AMOUNT
-
 
6606
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
6607
            this.net_payable_amount = iprot.readDouble();
-
 
6608
            setNet_payable_amountIsSet(true);
-
 
6609
          } else { 
-
 
6610
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
6611
          }
-
 
6612
          break;
6461
        default:
6613
        default:
6462
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
6614
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
6463
      }
6615
      }
6464
      iprot.readFieldEnd();
6616
      iprot.readFieldEnd();
6465
    }
6617
    }
Line 6789... Line 6941...
6789
    oprot.writeI64(this.seller_id);
6941
    oprot.writeI64(this.seller_id);
6790
    oprot.writeFieldEnd();
6942
    oprot.writeFieldEnd();
6791
    oprot.writeFieldBegin(WAREHOUSE_ADDRESS_ID_FIELD_DESC);
6943
    oprot.writeFieldBegin(WAREHOUSE_ADDRESS_ID_FIELD_DESC);
6792
    oprot.writeI64(this.warehouse_address_id);
6944
    oprot.writeI64(this.warehouse_address_id);
6793
    oprot.writeFieldEnd();
6945
    oprot.writeFieldEnd();
-
 
6946
    oprot.writeFieldBegin(WALLET_AMOUNT_FIELD_DESC);
-
 
6947
    oprot.writeDouble(this.wallet_amount);
-
 
6948
    oprot.writeFieldEnd();
-
 
6949
    oprot.writeFieldBegin(NET_PAYABLE_AMOUNT_FIELD_DESC);
-
 
6950
    oprot.writeDouble(this.net_payable_amount);
-
 
6951
    oprot.writeFieldEnd();
6794
    oprot.writeFieldStop();
6952
    oprot.writeFieldStop();
6795
    oprot.writeStructEnd();
6953
    oprot.writeStructEnd();
6796
  }
6954
  }
6797
 
6955
 
6798
  @Override
6956
  @Override
Line 7247... Line 7405...
7247
    first = false;
7405
    first = false;
7248
    if (!first) sb.append(", ");
7406
    if (!first) sb.append(", ");
7249
    sb.append("warehouse_address_id:");
7407
    sb.append("warehouse_address_id:");
7250
    sb.append(this.warehouse_address_id);
7408
    sb.append(this.warehouse_address_id);
7251
    first = false;
7409
    first = false;
-
 
7410
    if (!first) sb.append(", ");
-
 
7411
    sb.append("wallet_amount:");
-
 
7412
    sb.append(this.wallet_amount);
-
 
7413
    first = false;
-
 
7414
    if (!first) sb.append(", ");
-
 
7415
    sb.append("net_payable_amount:");
-
 
7416
    sb.append(this.net_payable_amount);
-
 
7417
    first = false;
7252
    sb.append(")");
7418
    sb.append(")");
7253
    return sb.toString();
7419
    return sb.toString();
7254
  }
7420
  }
7255
 
7421
 
7256
  public void validate() throws org.apache.thrift.TException {
7422
  public void validate() throws org.apache.thrift.TException {