Subversion Repositories SmartDukaan

Rev

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

Rev 11259 Rev 11424
Line 1036... Line 1036...
1036
 
1036
 
1037
    public AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItem(long item_id) throws org.apache.thrift.TException;
1037
    public AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItem(long item_id) throws org.apache.thrift.TException;
1038
 
1038
 
1039
    public void createSnapdealOrder(SnapdealOrder snapdealOrder) throws org.apache.thrift.TException;
1039
    public void createSnapdealOrder(SnapdealOrder snapdealOrder) throws org.apache.thrift.TException;
1040
 
1040
 
1041
    public SnapdealOrder getSnapdealOrder(long orderId, String referenceCode, String subrderId) throws org.apache.thrift.TException;
1041
    public List<SnapdealOrder> getSnapdealOrder(long orderId, String referenceCode, String subrderId) throws org.apache.thrift.TException;
1042
 
1042
 
1043
    public boolean snapdealOrderExists(String subOrderId, String referenceCode) throws org.apache.thrift.TException;
1043
    public boolean snapdealOrderExists(String subOrderId, String referenceCode) throws org.apache.thrift.TException;
1044
 
1044
 
1045
    public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices) throws org.apache.thrift.TException;
1045
    public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices) throws org.apache.thrift.TException;
1046
 
1046
 
Line 6710... Line 6710...
6710
      createSnapdealOrder_result result = new createSnapdealOrder_result();
6710
      createSnapdealOrder_result result = new createSnapdealOrder_result();
6711
      receiveBase(result, "createSnapdealOrder");
6711
      receiveBase(result, "createSnapdealOrder");
6712
      return;
6712
      return;
6713
    }
6713
    }
6714
 
6714
 
6715
    public SnapdealOrder getSnapdealOrder(long orderId, String referenceCode, String subrderId) throws org.apache.thrift.TException
6715
    public List<SnapdealOrder> getSnapdealOrder(long orderId, String referenceCode, String subrderId) throws org.apache.thrift.TException
6716
    {
6716
    {
6717
      send_getSnapdealOrder(orderId, referenceCode, subrderId);
6717
      send_getSnapdealOrder(orderId, referenceCode, subrderId);
6718
      return recv_getSnapdealOrder();
6718
      return recv_getSnapdealOrder();
6719
    }
6719
    }
6720
 
6720
 
Line 6725... Line 6725...
6725
      args.setReferenceCode(referenceCode);
6725
      args.setReferenceCode(referenceCode);
6726
      args.setSubrderId(subrderId);
6726
      args.setSubrderId(subrderId);
6727
      sendBase("getSnapdealOrder", args);
6727
      sendBase("getSnapdealOrder", args);
6728
    }
6728
    }
6729
 
6729
 
6730
    public SnapdealOrder recv_getSnapdealOrder() throws org.apache.thrift.TException
6730
    public List<SnapdealOrder> recv_getSnapdealOrder() throws org.apache.thrift.TException
6731
    {
6731
    {
6732
      getSnapdealOrder_result result = new getSnapdealOrder_result();
6732
      getSnapdealOrder_result result = new getSnapdealOrder_result();
6733
      receiveBase(result, "getSnapdealOrder");
6733
      receiveBase(result, "getSnapdealOrder");
6734
      if (result.isSetSuccess()) {
6734
      if (result.isSetSuccess()) {
6735
        return result.success;
6735
        return result.success;
Line 14373... Line 14373...
14373
        args.setSubrderId(subrderId);
14373
        args.setSubrderId(subrderId);
14374
        args.write(prot);
14374
        args.write(prot);
14375
        prot.writeMessageEnd();
14375
        prot.writeMessageEnd();
14376
      }
14376
      }
14377
 
14377
 
14378
      public SnapdealOrder getResult() throws org.apache.thrift.TException {
14378
      public List<SnapdealOrder> getResult() throws org.apache.thrift.TException {
14379
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
14379
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
14380
          throw new IllegalStateException("Method call not finished!");
14380
          throw new IllegalStateException("Method call not finished!");
14381
        }
14381
        }
14382
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
14382
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
14383
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
14383
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
Line 167967... Line 167967...
167967
  }
167967
  }
167968
 
167968
 
167969
  public static class getSnapdealOrder_result implements org.apache.thrift.TBase<getSnapdealOrder_result, getSnapdealOrder_result._Fields>, java.io.Serializable, Cloneable   {
167969
  public static class getSnapdealOrder_result implements org.apache.thrift.TBase<getSnapdealOrder_result, getSnapdealOrder_result._Fields>, java.io.Serializable, Cloneable   {
167970
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSnapdealOrder_result");
167970
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSnapdealOrder_result");
167971
 
167971
 
167972
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
167972
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
167973
 
167973
 
167974
    private SnapdealOrder success; // required
167974
    private List<SnapdealOrder> success; // required
167975
 
167975
 
167976
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
167976
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
167977
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
167977
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
167978
      SUCCESS((short)0, "success");
167978
      SUCCESS((short)0, "success");
167979
 
167979
 
Line 168035... Line 168035...
168035
 
168035
 
168036
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
168036
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
168037
    static {
168037
    static {
168038
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
168038
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
168039
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
168039
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
168040
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
168040
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SnapdealOrder.class)));
168041
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SnapdealOrder.class))));
168041
      metaDataMap = Collections.unmodifiableMap(tmpMap);
168042
      metaDataMap = Collections.unmodifiableMap(tmpMap);
168042
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSnapdealOrder_result.class, metaDataMap);
168043
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSnapdealOrder_result.class, metaDataMap);
168043
    }
168044
    }
168044
 
168045
 
168045
    public getSnapdealOrder_result() {
168046
    public getSnapdealOrder_result() {
168046
    }
168047
    }
168047
 
168048
 
168048
    public getSnapdealOrder_result(
168049
    public getSnapdealOrder_result(
168049
      SnapdealOrder success)
168050
      List<SnapdealOrder> success)
168050
    {
168051
    {
168051
      this();
168052
      this();
168052
      this.success = success;
168053
      this.success = success;
168053
    }
168054
    }
168054
 
168055
 
168055
    /**
168056
    /**
168056
     * Performs a deep copy on <i>other</i>.
168057
     * Performs a deep copy on <i>other</i>.
168057
     */
168058
     */
168058
    public getSnapdealOrder_result(getSnapdealOrder_result other) {
168059
    public getSnapdealOrder_result(getSnapdealOrder_result other) {
168059
      if (other.isSetSuccess()) {
168060
      if (other.isSetSuccess()) {
-
 
168061
        List<SnapdealOrder> __this__success = new ArrayList<SnapdealOrder>();
-
 
168062
        for (SnapdealOrder other_element : other.success) {
168060
        this.success = new SnapdealOrder(other.success);
168063
          __this__success.add(new SnapdealOrder(other_element));
-
 
168064
        }
-
 
168065
        this.success = __this__success;
168061
      }
168066
      }
168062
    }
168067
    }
168063
 
168068
 
168064
    public getSnapdealOrder_result deepCopy() {
168069
    public getSnapdealOrder_result deepCopy() {
168065
      return new getSnapdealOrder_result(this);
168070
      return new getSnapdealOrder_result(this);
Line 168068... Line 168073...
168068
    @Override
168073
    @Override
168069
    public void clear() {
168074
    public void clear() {
168070
      this.success = null;
168075
      this.success = null;
168071
    }
168076
    }
168072
 
168077
 
-
 
168078
    public int getSuccessSize() {
-
 
168079
      return (this.success == null) ? 0 : this.success.size();
-
 
168080
    }
-
 
168081
 
-
 
168082
    public java.util.Iterator<SnapdealOrder> getSuccessIterator() {
-
 
168083
      return (this.success == null) ? null : this.success.iterator();
-
 
168084
    }
-
 
168085
 
-
 
168086
    public void addToSuccess(SnapdealOrder elem) {
-
 
168087
      if (this.success == null) {
-
 
168088
        this.success = new ArrayList<SnapdealOrder>();
-
 
168089
      }
-
 
168090
      this.success.add(elem);
-
 
168091
    }
-
 
168092
 
168073
    public SnapdealOrder getSuccess() {
168093
    public List<SnapdealOrder> getSuccess() {
168074
      return this.success;
168094
      return this.success;
168075
    }
168095
    }
168076
 
168096
 
168077
    public void setSuccess(SnapdealOrder success) {
168097
    public void setSuccess(List<SnapdealOrder> success) {
168078
      this.success = success;
168098
      this.success = success;
168079
    }
168099
    }
168080
 
168100
 
168081
    public void unsetSuccess() {
168101
    public void unsetSuccess() {
168082
      this.success = null;
168102
      this.success = null;
Line 168097... Line 168117...
168097
      switch (field) {
168117
      switch (field) {
168098
      case SUCCESS:
168118
      case SUCCESS:
168099
        if (value == null) {
168119
        if (value == null) {
168100
          unsetSuccess();
168120
          unsetSuccess();
168101
        } else {
168121
        } else {
168102
          setSuccess((SnapdealOrder)value);
168122
          setSuccess((List<SnapdealOrder>)value);
168103
        }
168123
        }
168104
        break;
168124
        break;
168105
 
168125
 
168106
      }
168126
      }
168107
    }
168127
    }
Line 168192... Line 168212...
168192
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
168212
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
168193
          break;
168213
          break;
168194
        }
168214
        }
168195
        switch (field.id) {
168215
        switch (field.id) {
168196
          case 0: // SUCCESS
168216
          case 0: // SUCCESS
168197
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
168217
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
168218
              {
-
 
168219
                org.apache.thrift.protocol.TList _list516 = iprot.readListBegin();
-
 
168220
                this.success = new ArrayList<SnapdealOrder>(_list516.size);
-
 
168221
                for (int _i517 = 0; _i517 < _list516.size; ++_i517)
-
 
168222
                {
-
 
168223
                  SnapdealOrder _elem518; // required
168198
              this.success = new SnapdealOrder();
168224
                  _elem518 = new SnapdealOrder();
168199
              this.success.read(iprot);
168225
                  _elem518.read(iprot);
-
 
168226
                  this.success.add(_elem518);
-
 
168227
                }
-
 
168228
                iprot.readListEnd();
-
 
168229
              }
168200
            } else { 
168230
            } else { 
168201
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
168231
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
168202
            }
168232
            }
168203
            break;
168233
            break;
168204
          default:
168234
          default:
Line 168213... Line 168243...
168213
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
168243
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
168214
      oprot.writeStructBegin(STRUCT_DESC);
168244
      oprot.writeStructBegin(STRUCT_DESC);
168215
 
168245
 
168216
      if (this.isSetSuccess()) {
168246
      if (this.isSetSuccess()) {
168217
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
168247
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
168248
        {
-
 
168249
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
168250
          for (SnapdealOrder _iter519 : this.success)
-
 
168251
          {
168218
        this.success.write(oprot);
168252
            _iter519.write(oprot);
-
 
168253
          }
-
 
168254
          oprot.writeListEnd();
-
 
168255
        }
168219
        oprot.writeFieldEnd();
168256
        oprot.writeFieldEnd();
168220
      }
168257
      }
168221
      oprot.writeFieldStop();
168258
      oprot.writeFieldStop();
168222
      oprot.writeStructEnd();
168259
      oprot.writeStructEnd();
168223
    }
168260
    }
Line 173161... Line 173198...
173161
        }
173198
        }
173162
        switch (field.id) {
173199
        switch (field.id) {
173163
          case 0: // SUCCESS
173200
          case 0: // SUCCESS
173164
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
173201
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
173165
              {
173202
              {
173166
                org.apache.thrift.protocol.TMap _map516 = iprot.readMapBegin();
173203
                org.apache.thrift.protocol.TMap _map520 = iprot.readMapBegin();
173167
                this.success = new HashMap<Long,Long>(2*_map516.size);
173204
                this.success = new HashMap<Long,Long>(2*_map520.size);
173168
                for (int _i517 = 0; _i517 < _map516.size; ++_i517)
173205
                for (int _i521 = 0; _i521 < _map520.size; ++_i521)
173169
                {
173206
                {
173170
                  long _key518; // required
173207
                  long _key522; // required
173171
                  long _val519; // required
173208
                  long _val523; // required
173172
                  _key518 = iprot.readI64();
173209
                  _key522 = iprot.readI64();
173173
                  _val519 = iprot.readI64();
173210
                  _val523 = iprot.readI64();
173174
                  this.success.put(_key518, _val519);
173211
                  this.success.put(_key522, _val523);
173175
                }
173212
                }
173176
                iprot.readMapEnd();
173213
                iprot.readMapEnd();
173177
              }
173214
              }
173178
            } else { 
173215
            } else { 
173179
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
173216
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 173193... Line 173230...
173193
 
173230
 
173194
      if (this.isSetSuccess()) {
173231
      if (this.isSetSuccess()) {
173195
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
173232
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
173196
        {
173233
        {
173197
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
173234
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
173198
          for (Map.Entry<Long, Long> _iter520 : this.success.entrySet())
173235
          for (Map.Entry<Long, Long> _iter524 : this.success.entrySet())
173199
          {
173236
          {
173200
            oprot.writeI64(_iter520.getKey());
173237
            oprot.writeI64(_iter524.getKey());
173201
            oprot.writeI64(_iter520.getValue());
173238
            oprot.writeI64(_iter524.getValue());
173202
          }
173239
          }
173203
          oprot.writeMapEnd();
173240
          oprot.writeMapEnd();
173204
        }
173241
        }
173205
        oprot.writeFieldEnd();
173242
        oprot.writeFieldEnd();
173206
      }
173243
      }
Line 174771... Line 174808...
174771
        }
174808
        }
174772
        switch (field.id) {
174809
        switch (field.id) {
174773
          case 1: // ORDERS
174810
          case 1: // ORDERS
174774
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
174811
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
174775
              {
174812
              {
174776
                org.apache.thrift.protocol.TMap _map521 = iprot.readMapBegin();
174813
                org.apache.thrift.protocol.TMap _map525 = iprot.readMapBegin();
174777
                this.orders = new HashMap<String,List<List<String>>>(2*_map521.size);
174814
                this.orders = new HashMap<String,List<List<String>>>(2*_map525.size);
174778
                for (int _i522 = 0; _i522 < _map521.size; ++_i522)
174815
                for (int _i526 = 0; _i526 < _map525.size; ++_i526)
174779
                {
174816
                {
174780
                  String _key523; // required
174817
                  String _key527; // required
174781
                  List<List<String>> _val524; // required
174818
                  List<List<String>> _val528; // required
174782
                  _key523 = iprot.readString();
174819
                  _key527 = iprot.readString();
174783
                  {
174820
                  {
174784
                    org.apache.thrift.protocol.TList _list525 = iprot.readListBegin();
174821
                    org.apache.thrift.protocol.TList _list529 = iprot.readListBegin();
174785
                    _val524 = new ArrayList<List<String>>(_list525.size);
174822
                    _val528 = new ArrayList<List<String>>(_list529.size);
174786
                    for (int _i526 = 0; _i526 < _list525.size; ++_i526)
174823
                    for (int _i530 = 0; _i530 < _list529.size; ++_i530)
174787
                    {
174824
                    {
174788
                      List<String> _elem527; // required
174825
                      List<String> _elem531; // required
174789
                      {
174826
                      {
174790
                        org.apache.thrift.protocol.TList _list528 = iprot.readListBegin();
174827
                        org.apache.thrift.protocol.TList _list532 = iprot.readListBegin();
174791
                        _elem527 = new ArrayList<String>(_list528.size);
174828
                        _elem531 = new ArrayList<String>(_list532.size);
174792
                        for (int _i529 = 0; _i529 < _list528.size; ++_i529)
174829
                        for (int _i533 = 0; _i533 < _list532.size; ++_i533)
174793
                        {
174830
                        {
174794
                          String _elem530; // required
174831
                          String _elem534; // required
174795
                          _elem530 = iprot.readString();
174832
                          _elem534 = iprot.readString();
174796
                          _elem527.add(_elem530);
174833
                          _elem531.add(_elem534);
174797
                        }
174834
                        }
174798
                        iprot.readListEnd();
174835
                        iprot.readListEnd();
174799
                      }
174836
                      }
174800
                      _val524.add(_elem527);
174837
                      _val528.add(_elem531);
174801
                    }
174838
                    }
174802
                    iprot.readListEnd();
174839
                    iprot.readListEnd();
174803
                  }
174840
                  }
174804
                  this.orders.put(_key523, _val524);
174841
                  this.orders.put(_key527, _val528);
174805
                }
174842
                }
174806
                iprot.readMapEnd();
174843
                iprot.readMapEnd();
174807
              }
174844
              }
174808
            } else { 
174845
            } else { 
174809
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
174846
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 174824... Line 174861...
174824
      oprot.writeStructBegin(STRUCT_DESC);
174861
      oprot.writeStructBegin(STRUCT_DESC);
174825
      if (this.orders != null) {
174862
      if (this.orders != null) {
174826
        oprot.writeFieldBegin(ORDERS_FIELD_DESC);
174863
        oprot.writeFieldBegin(ORDERS_FIELD_DESC);
174827
        {
174864
        {
174828
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.orders.size()));
174865
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.orders.size()));
174829
          for (Map.Entry<String, List<List<String>>> _iter531 : this.orders.entrySet())
174866
          for (Map.Entry<String, List<List<String>>> _iter535 : this.orders.entrySet())
174830
          {
174867
          {
174831
            oprot.writeString(_iter531.getKey());
174868
            oprot.writeString(_iter535.getKey());
174832
            {
174869
            {
174833
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, _iter531.getValue().size()));
174870
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, _iter535.getValue().size()));
174834
              for (List<String> _iter532 : _iter531.getValue())
174871
              for (List<String> _iter536 : _iter535.getValue())
174835
              {
174872
              {
174836
                {
174873
                {
174837
                  oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter532.size()));
174874
                  oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter536.size()));
174838
                  for (String _iter533 : _iter532)
174875
                  for (String _iter537 : _iter536)
174839
                  {
174876
                  {
174840
                    oprot.writeString(_iter533);
174877
                    oprot.writeString(_iter537);
174841
                  }
174878
                  }
174842
                  oprot.writeListEnd();
174879
                  oprot.writeListEnd();
174843
                }
174880
                }
174844
              }
174881
              }
174845
              oprot.writeListEnd();
174882
              oprot.writeListEnd();
Line 175438... Line 175475...
175438
        }
175475
        }
175439
        switch (field.id) {
175476
        switch (field.id) {
175440
          case 1: // DELIVERED_ORDERS
175477
          case 1: // DELIVERED_ORDERS
175441
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
175478
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
175442
              {
175479
              {
175443
                org.apache.thrift.protocol.TList _list534 = iprot.readListBegin();
175480
                org.apache.thrift.protocol.TList _list538 = iprot.readListBegin();
175444
                this.delivered_orders = new ArrayList<List<String>>(_list534.size);
175481
                this.delivered_orders = new ArrayList<List<String>>(_list538.size);
175445
                for (int _i535 = 0; _i535 < _list534.size; ++_i535)
175482
                for (int _i539 = 0; _i539 < _list538.size; ++_i539)
175446
                {
175483
                {
175447
                  List<String> _elem536; // required
175484
                  List<String> _elem540; // required
175448
                  {
175485
                  {
175449
                    org.apache.thrift.protocol.TList _list537 = iprot.readListBegin();
175486
                    org.apache.thrift.protocol.TList _list541 = iprot.readListBegin();
175450
                    _elem536 = new ArrayList<String>(_list537.size);
175487
                    _elem540 = new ArrayList<String>(_list541.size);
175451
                    for (int _i538 = 0; _i538 < _list537.size; ++_i538)
175488
                    for (int _i542 = 0; _i542 < _list541.size; ++_i542)
175452
                    {
175489
                    {
175453
                      String _elem539; // required
175490
                      String _elem543; // required
175454
                      _elem539 = iprot.readString();
175491
                      _elem543 = iprot.readString();
175455
                      _elem536.add(_elem539);
175492
                      _elem540.add(_elem543);
175456
                    }
175493
                    }
175457
                    iprot.readListEnd();
175494
                    iprot.readListEnd();
175458
                  }
175495
                  }
175459
                  this.delivered_orders.add(_elem536);
175496
                  this.delivered_orders.add(_elem540);
175460
                }
175497
                }
175461
                iprot.readListEnd();
175498
                iprot.readListEnd();
175462
              }
175499
              }
175463
            } else { 
175500
            } else { 
175464
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
175501
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 175479... Line 175516...
175479
      oprot.writeStructBegin(STRUCT_DESC);
175516
      oprot.writeStructBegin(STRUCT_DESC);
175480
      if (this.delivered_orders != null) {
175517
      if (this.delivered_orders != null) {
175481
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
175518
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
175482
        {
175519
        {
175483
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, this.delivered_orders.size()));
175520
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, this.delivered_orders.size()));
175484
          for (List<String> _iter540 : this.delivered_orders)
175521
          for (List<String> _iter544 : this.delivered_orders)
175485
          {
175522
          {
175486
            {
175523
            {
175487
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter540.size()));
175524
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter544.size()));
175488
              for (String _iter541 : _iter540)
175525
              for (String _iter545 : _iter544)
175489
              {
175526
              {
175490
                oprot.writeString(_iter541);
175527
                oprot.writeString(_iter545);
175491
              }
175528
              }
175492
              oprot.writeListEnd();
175529
              oprot.writeListEnd();
175493
            }
175530
            }
175494
          }
175531
          }
175495
          oprot.writeListEnd();
175532
          oprot.writeListEnd();
Line 176080... Line 176117...
176080
        }
176117
        }
176081
        switch (field.id) {
176118
        switch (field.id) {
176082
          case 1: // AMAZONFBASALESSNAPSHOTLIST
176119
          case 1: // AMAZONFBASALESSNAPSHOTLIST
176083
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
176120
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
176084
              {
176121
              {
176085
                org.apache.thrift.protocol.TList _list542 = iprot.readListBegin();
176122
                org.apache.thrift.protocol.TList _list546 = iprot.readListBegin();
176086
                this.amazonfbasalessnapshotlist = new ArrayList<AmazonFbaSalesSnapshot>(_list542.size);
176123
                this.amazonfbasalessnapshotlist = new ArrayList<AmazonFbaSalesSnapshot>(_list546.size);
176087
                for (int _i543 = 0; _i543 < _list542.size; ++_i543)
176124
                for (int _i547 = 0; _i547 < _list546.size; ++_i547)
176088
                {
176125
                {
176089
                  AmazonFbaSalesSnapshot _elem544; // required
176126
                  AmazonFbaSalesSnapshot _elem548; // required
176090
                  _elem544 = new AmazonFbaSalesSnapshot();
176127
                  _elem548 = new AmazonFbaSalesSnapshot();
176091
                  _elem544.read(iprot);
176128
                  _elem548.read(iprot);
176092
                  this.amazonfbasalessnapshotlist.add(_elem544);
176129
                  this.amazonfbasalessnapshotlist.add(_elem548);
176093
                }
176130
                }
176094
                iprot.readListEnd();
176131
                iprot.readListEnd();
176095
              }
176132
              }
176096
            } else { 
176133
            } else { 
176097
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
176134
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 176112... Line 176149...
176112
      oprot.writeStructBegin(STRUCT_DESC);
176149
      oprot.writeStructBegin(STRUCT_DESC);
176113
      if (this.amazonfbasalessnapshotlist != null) {
176150
      if (this.amazonfbasalessnapshotlist != null) {
176114
        oprot.writeFieldBegin(AMAZONFBASALESSNAPSHOTLIST_FIELD_DESC);
176151
        oprot.writeFieldBegin(AMAZONFBASALESSNAPSHOTLIST_FIELD_DESC);
176115
        {
176152
        {
176116
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.amazonfbasalessnapshotlist.size()));
176153
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.amazonfbasalessnapshotlist.size()));
176117
          for (AmazonFbaSalesSnapshot _iter545 : this.amazonfbasalessnapshotlist)
176154
          for (AmazonFbaSalesSnapshot _iter549 : this.amazonfbasalessnapshotlist)
176118
          {
176155
          {
176119
            _iter545.write(oprot);
176156
            _iter549.write(oprot);
176120
          }
176157
          }
176121
          oprot.writeListEnd();
176158
          oprot.writeListEnd();
176122
        }
176159
        }
176123
        oprot.writeFieldEnd();
176160
        oprot.writeFieldEnd();
176124
      }
176161
      }
Line 176611... Line 176648...
176611
        }
176648
        }
176612
        switch (field.id) {
176649
        switch (field.id) {
176613
          case -1: // FLIPKARTORDERIDS
176650
          case -1: // FLIPKARTORDERIDS
176614
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
176651
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
176615
              {
176652
              {
176616
                org.apache.thrift.protocol.TList _list546 = iprot.readListBegin();
176653
                org.apache.thrift.protocol.TList _list550 = iprot.readListBegin();
176617
                this.flipkartorderids = new ArrayList<String>(_list546.size);
176654
                this.flipkartorderids = new ArrayList<String>(_list550.size);
176618
                for (int _i547 = 0; _i547 < _list546.size; ++_i547)
176655
                for (int _i551 = 0; _i551 < _list550.size; ++_i551)
176619
                {
176656
                {
176620
                  String _elem548; // required
176657
                  String _elem552; // required
176621
                  _elem548 = iprot.readString();
176658
                  _elem552 = iprot.readString();
176622
                  this.flipkartorderids.add(_elem548);
176659
                  this.flipkartorderids.add(_elem552);
176623
                }
176660
                }
176624
                iprot.readListEnd();
176661
                iprot.readListEnd();
176625
              }
176662
              }
176626
            } else { 
176663
            } else { 
176627
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
176664
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 176642... Line 176679...
176642
      oprot.writeStructBegin(STRUCT_DESC);
176679
      oprot.writeStructBegin(STRUCT_DESC);
176643
      if (this.flipkartorderids != null) {
176680
      if (this.flipkartorderids != null) {
176644
        oprot.writeFieldBegin(FLIPKARTORDERIDS_FIELD_DESC);
176681
        oprot.writeFieldBegin(FLIPKARTORDERIDS_FIELD_DESC);
176645
        {
176682
        {
176646
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.flipkartorderids.size()));
176683
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.flipkartorderids.size()));
176647
          for (String _iter549 : this.flipkartorderids)
176684
          for (String _iter553 : this.flipkartorderids)
176648
          {
176685
          {
176649
            oprot.writeString(_iter549);
176686
            oprot.writeString(_iter553);
176650
          }
176687
          }
176651
          oprot.writeListEnd();
176688
          oprot.writeListEnd();
176652
        }
176689
        }
176653
        oprot.writeFieldEnd();
176690
        oprot.writeFieldEnd();
176654
      }
176691
      }
Line 176947... Line 176984...
176947
        }
176984
        }
176948
        switch (field.id) {
176985
        switch (field.id) {
176949
          case 0: // SUCCESS
176986
          case 0: // SUCCESS
176950
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
176987
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
176951
              {
176988
              {
176952
                org.apache.thrift.protocol.TMap _map550 = iprot.readMapBegin();
176989
                org.apache.thrift.protocol.TMap _map554 = iprot.readMapBegin();
176953
                this.success = new HashMap<Long,Long>(2*_map550.size);
176990
                this.success = new HashMap<Long,Long>(2*_map554.size);
176954
                for (int _i551 = 0; _i551 < _map550.size; ++_i551)
176991
                for (int _i555 = 0; _i555 < _map554.size; ++_i555)
176955
                {
176992
                {
176956
                  long _key552; // required
176993
                  long _key556; // required
176957
                  long _val553; // required
176994
                  long _val557; // required
176958
                  _key552 = iprot.readI64();
176995
                  _key556 = iprot.readI64();
176959
                  _val553 = iprot.readI64();
176996
                  _val557 = iprot.readI64();
176960
                  this.success.put(_key552, _val553);
176997
                  this.success.put(_key556, _val557);
176961
                }
176998
                }
176962
                iprot.readMapEnd();
176999
                iprot.readMapEnd();
176963
              }
177000
              }
176964
            } else { 
177001
            } else { 
176965
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
177002
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 176979... Line 177016...
176979
 
177016
 
176980
      if (this.isSetSuccess()) {
177017
      if (this.isSetSuccess()) {
176981
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
177018
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
176982
        {
177019
        {
176983
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
177020
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
176984
          for (Map.Entry<Long, Long> _iter554 : this.success.entrySet())
177021
          for (Map.Entry<Long, Long> _iter558 : this.success.entrySet())
176985
          {
177022
          {
176986
            oprot.writeI64(_iter554.getKey());
177023
            oprot.writeI64(_iter558.getKey());
176987
            oprot.writeI64(_iter554.getValue());
177024
            oprot.writeI64(_iter558.getValue());
176988
          }
177025
          }
176989
          oprot.writeMapEnd();
177026
          oprot.writeMapEnd();
176990
        }
177027
        }
176991
        oprot.writeFieldEnd();
177028
        oprot.writeFieldEnd();
176992
      }
177029
      }