Subversion Repositories SmartDukaan

Rev

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

Rev 5382 Rev 5386
Line 126... Line 126...
126
 
126
 
127
    public List<LineItem> getLineItemsForOrder(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
127
    public List<LineItem> getLineItemsForOrder(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
128
 
128
 
129
    public List<Order> getOrderList(List<Long> order_ids) throws org.apache.thrift.TException;
129
    public List<Order> getOrderList(List<Long> order_ids) throws org.apache.thrift.TException;
130
 
130
 
-
 
131
    public List<Order> getOrderListForVendor(List<Long> order_ids, long vendorId) throws org.apache.thrift.TException;
-
 
132
 
131
    /**
133
    /**
132
     * Returns an order for the order Id. Also checks if the order belongs to the customer whose Id is passed.
134
     * Returns an order for the order Id. Also checks if the order belongs to the customer whose Id is passed.
133
     * Throws exception if either order Id is invalid or order does not below to the customer whose Id is passed.
135
     * Throws exception if either order Id is invalid or order does not below to the customer whose Id is passed.
134
     * 
136
     * 
135
     * @param orderId
137
     * @param orderId
Line 740... Line 742...
740
 
742
 
741
    public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
743
    public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
742
 
744
 
743
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
745
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
744
 
746
 
745
    public PaymentSettlement getSettlementForReferenceId(long referenceId, long paymentGatewayId, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException;
747
    public PaymentSettlement getSettlementForPrepaid(long referenceId, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException;
-
 
748
 
-
 
749
    public PaymentSettlement getSettlementForCod(long orderId, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException;
746
 
750
 
747
    public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException;
751
    public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException;
748
 
752
 
749
    public void markEBSSettlementUploaded(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
753
    public void markEBSSettlementUploaded(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
750
 
754
 
Line 757... Line 761...
757
     * 
761
     * 
758
     * @param orderIds
762
     * @param orderIds
759
     */
763
     */
760
    public List<Long> getReshippedOrderIds(List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException;
764
    public List<Long> getReshippedOrderIds(List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException;
761
 
765
 
762
    /**
-
 
763
     * Updates orders as PO raised. Also updates purchase order id in orders. Pass a map of items mapped to
-
 
764
     * the quantities for which the PO is raised.
-
 
765
     * 
-
 
766
     * @param itemIdQuantityMap
-
 
767
     * @param purchaseOrderId
-
 
768
     * @param warehouseId
-
 
769
     */
-
 
770
    public void updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
771
 
-
 
772
    public List<Order> getOrdersWhereVendorNotPaid(long vendorId) throws TransactionServiceException, org.apache.thrift.TException;
766
    public List<Order> getOrdersWhereVendorNotPaid(long vendorId) throws TransactionServiceException, org.apache.thrift.TException;
773
 
767
 
774
    public Map<Long,Long> getStatusDistributionOfOrders(long startDate, long endDate) throws TransactionServiceException, org.apache.thrift.TException;
768
    public Map<Long,Long> getStatusDistributionOfOrders(long startDate, long endDate) throws TransactionServiceException, org.apache.thrift.TException;
775
 
769
 
776
    public List<Long> getOrderIdsForStatus(long status, long startDatetime, long endDatetime) throws TransactionServiceException, org.apache.thrift.TException;
770
    public List<Long> getOrderIdsForStatus(long status, long startDatetime, long endDatetime) throws TransactionServiceException, org.apache.thrift.TException;
Line 783... Line 777...
783
     */
777
     */
784
    public void updateCODAgent(String agent, long orderId) throws TransactionServiceException, org.apache.thrift.TException;
778
    public void updateCODAgent(String agent, long orderId) throws TransactionServiceException, org.apache.thrift.TException;
785
 
779
 
786
    public void updateOrderAsPaidToVendor(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
780
    public void updateOrderAsPaidToVendor(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
787
 
781
 
-
 
782
    public void updateOrderOnlyAsPaidToVendor(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
783
 
788
    public List<Order> getRefundedOrdersMarkedPaid() throws TransactionServiceException, org.apache.thrift.TException;
784
    public List<Order> getRefundedOrdersMarkedPaid() throws TransactionServiceException, org.apache.thrift.TException;
789
 
785
 
790
  }
786
  }
791
 
787
 
792
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
788
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
Line 831... Line 827...
831
 
827
 
832
    public void getLineItemsForOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLineItemsForOrder_call> resultHandler) throws org.apache.thrift.TException;
828
    public void getLineItemsForOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLineItemsForOrder_call> resultHandler) throws org.apache.thrift.TException;
833
 
829
 
834
    public void getOrderList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderList_call> resultHandler) throws org.apache.thrift.TException;
830
    public void getOrderList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderList_call> resultHandler) throws org.apache.thrift.TException;
835
 
831
 
-
 
832
    public void getOrderListForVendor(List<Long> order_ids, long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderListForVendor_call> resultHandler) throws org.apache.thrift.TException;
-
 
833
 
836
    public void getOrderForCustomer(long orderId, long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForCustomer_call> resultHandler) throws org.apache.thrift.TException;
834
    public void getOrderForCustomer(long orderId, long customerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForCustomer_call> resultHandler) throws org.apache.thrift.TException;
837
 
835
 
838
    public void getAlerts(long type, long warehouseId, long status, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAlerts_call> resultHandler) throws org.apache.thrift.TException;
836
    public void getAlerts(long type, long warehouseId, long status, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAlerts_call> resultHandler) throws org.apache.thrift.TException;
839
 
837
 
840
    public void addAlert(long type, long warehouseId, String description, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAlert_call> resultHandler) throws org.apache.thrift.TException;
838
    public void addAlert(long type, long warehouseId, String description, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAlert_call> resultHandler) throws org.apache.thrift.TException;
Line 985... Line 983...
985
 
983
 
986
    public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException;
984
    public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException;
987
 
985
 
988
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveEBSSettlementSummary_call> resultHandler) throws org.apache.thrift.TException;
986
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveEBSSettlementSummary_call> resultHandler) throws org.apache.thrift.TException;
989
 
987
 
990
    public void getSettlementForReferenceId(long referenceId, long paymentGatewayId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForReferenceId_call> resultHandler) throws org.apache.thrift.TException;
988
    public void getSettlementForPrepaid(long referenceId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForPrepaid_call> resultHandler) throws org.apache.thrift.TException;
-
 
989
 
-
 
990
    public void getSettlementForCod(long orderId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForCod_call> resultHandler) throws org.apache.thrift.TException;
991
 
991
 
992
    public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException;
992
    public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException;
993
 
993
 
994
    public void markEBSSettlementUploaded(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markEBSSettlementUploaded_call> resultHandler) throws org.apache.thrift.TException;
994
    public void markEBSSettlementUploaded(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markEBSSettlementUploaded_call> resultHandler) throws org.apache.thrift.TException;
995
 
995
 
Line 997... Line 997...
997
 
997
 
998
    public void getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementsByDate_call> resultHandler) throws org.apache.thrift.TException;
998
    public void getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementsByDate_call> resultHandler) throws org.apache.thrift.TException;
999
 
999
 
1000
    public void getReshippedOrderIds(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReshippedOrderIds_call> resultHandler) throws org.apache.thrift.TException;
1000
    public void getReshippedOrderIds(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReshippedOrderIds_call> resultHandler) throws org.apache.thrift.TException;
1001
 
1001
 
1002
    public void updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateOrdersAsPORaised_call> resultHandler) throws org.apache.thrift.TException;
-
 
1003
 
-
 
1004
    public void getOrdersWhereVendorNotPaid(long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersWhereVendorNotPaid_call> resultHandler) throws org.apache.thrift.TException;
1002
    public void getOrdersWhereVendorNotPaid(long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersWhereVendorNotPaid_call> resultHandler) throws org.apache.thrift.TException;
1005
 
1003
 
1006
    public void getStatusDistributionOfOrders(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStatusDistributionOfOrders_call> resultHandler) throws org.apache.thrift.TException;
1004
    public void getStatusDistributionOfOrders(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStatusDistributionOfOrders_call> resultHandler) throws org.apache.thrift.TException;
1007
 
1005
 
1008
    public void getOrderIdsForStatus(long status, long startDatetime, long endDatetime, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderIdsForStatus_call> resultHandler) throws org.apache.thrift.TException;
1006
    public void getOrderIdsForStatus(long status, long startDatetime, long endDatetime, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderIdsForStatus_call> resultHandler) throws org.apache.thrift.TException;
1009
 
1007
 
1010
    public void updateCODAgent(String agent, long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateCODAgent_call> resultHandler) throws org.apache.thrift.TException;
1008
    public void updateCODAgent(String agent, long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateCODAgent_call> resultHandler) throws org.apache.thrift.TException;
1011
 
1009
 
1012
    public void updateOrderAsPaidToVendor(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateOrderAsPaidToVendor_call> resultHandler) throws org.apache.thrift.TException;
1010
    public void updateOrderAsPaidToVendor(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateOrderAsPaidToVendor_call> resultHandler) throws org.apache.thrift.TException;
1013
 
1011
 
-
 
1012
    public void updateOrderOnlyAsPaidToVendor(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateOrderOnlyAsPaidToVendor_call> resultHandler) throws org.apache.thrift.TException;
-
 
1013
 
1014
    public void getRefundedOrdersMarkedPaid(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRefundedOrdersMarkedPaid_call> resultHandler) throws org.apache.thrift.TException;
1014
    public void getRefundedOrdersMarkedPaid(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRefundedOrdersMarkedPaid_call> resultHandler) throws org.apache.thrift.TException;
1015
 
1015
 
1016
  }
1016
  }
1017
 
1017
 
1018
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1018
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
Line 1603... Line 1603...
1603
        return result.success;
1603
        return result.success;
1604
      }
1604
      }
1605
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrderList failed: unknown result");
1605
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrderList failed: unknown result");
1606
    }
1606
    }
1607
 
1607
 
-
 
1608
    public List<Order> getOrderListForVendor(List<Long> order_ids, long vendorId) throws org.apache.thrift.TException
-
 
1609
    {
-
 
1610
      send_getOrderListForVendor(order_ids, vendorId);
-
 
1611
      return recv_getOrderListForVendor();
-
 
1612
    }
-
 
1613
 
-
 
1614
    public void send_getOrderListForVendor(List<Long> order_ids, long vendorId) throws org.apache.thrift.TException
-
 
1615
    {
-
 
1616
      getOrderListForVendor_args args = new getOrderListForVendor_args();
-
 
1617
      args.setOrder_ids(order_ids);
-
 
1618
      args.setVendorId(vendorId);
-
 
1619
      sendBase("getOrderListForVendor", args);
-
 
1620
    }
-
 
1621
 
-
 
1622
    public List<Order> recv_getOrderListForVendor() throws org.apache.thrift.TException
-
 
1623
    {
-
 
1624
      getOrderListForVendor_result result = new getOrderListForVendor_result();
-
 
1625
      receiveBase(result, "getOrderListForVendor");
-
 
1626
      if (result.isSetSuccess()) {
-
 
1627
        return result.success;
-
 
1628
      }
-
 
1629
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrderListForVendor failed: unknown result");
-
 
1630
    }
-
 
1631
 
1608
    public Order getOrderForCustomer(long orderId, long customerId) throws TransactionServiceException, org.apache.thrift.TException
1632
    public Order getOrderForCustomer(long orderId, long customerId) throws TransactionServiceException, org.apache.thrift.TException
1609
    {
1633
    {
1610
      send_getOrderForCustomer(orderId, customerId);
1634
      send_getOrderForCustomer(orderId, customerId);
1611
      return recv_getOrderForCustomer();
1635
      return recv_getOrderForCustomer();
1612
    }
1636
    }
Line 3534... Line 3558...
3534
        throw result.ex;
3558
        throw result.ex;
3535
      }
3559
      }
3536
      return;
3560
      return;
3537
    }
3561
    }
3538
 
3562
 
3539
    public PaymentSettlement getSettlementForReferenceId(long referenceId, long paymentGatewayId, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException
3563
    public PaymentSettlement getSettlementForPrepaid(long referenceId, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException
3540
    {
3564
    {
3541
      send_getSettlementForReferenceId(referenceId, paymentGatewayId, isRefund);
3565
      send_getSettlementForPrepaid(referenceId, isRefund);
3542
      return recv_getSettlementForReferenceId();
3566
      return recv_getSettlementForPrepaid();
3543
    }
3567
    }
3544
 
3568
 
3545
    public void send_getSettlementForReferenceId(long referenceId, long paymentGatewayId, boolean isRefund) throws org.apache.thrift.TException
3569
    public void send_getSettlementForPrepaid(long referenceId, boolean isRefund) throws org.apache.thrift.TException
3546
    {
3570
    {
3547
      getSettlementForReferenceId_args args = new getSettlementForReferenceId_args();
3571
      getSettlementForPrepaid_args args = new getSettlementForPrepaid_args();
3548
      args.setReferenceId(referenceId);
3572
      args.setReferenceId(referenceId);
3549
      args.setPaymentGatewayId(paymentGatewayId);
-
 
3550
      args.setIsRefund(isRefund);
3573
      args.setIsRefund(isRefund);
3551
      sendBase("getSettlementForReferenceId", args);
3574
      sendBase("getSettlementForPrepaid", args);
-
 
3575
    }
-
 
3576
 
-
 
3577
    public PaymentSettlement recv_getSettlementForPrepaid() throws TransactionServiceException, org.apache.thrift.TException
-
 
3578
    {
-
 
3579
      getSettlementForPrepaid_result result = new getSettlementForPrepaid_result();
-
 
3580
      receiveBase(result, "getSettlementForPrepaid");
-
 
3581
      if (result.isSetSuccess()) {
-
 
3582
        return result.success;
-
 
3583
      }
-
 
3584
      if (result.ex != null) {
-
 
3585
        throw result.ex;
-
 
3586
      }
-
 
3587
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSettlementForPrepaid failed: unknown result");
-
 
3588
    }
-
 
3589
 
-
 
3590
    public PaymentSettlement getSettlementForCod(long orderId, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException
-
 
3591
    {
-
 
3592
      send_getSettlementForCod(orderId, isRefund);
-
 
3593
      return recv_getSettlementForCod();
-
 
3594
    }
-
 
3595
 
-
 
3596
    public void send_getSettlementForCod(long orderId, boolean isRefund) throws org.apache.thrift.TException
-
 
3597
    {
-
 
3598
      getSettlementForCod_args args = new getSettlementForCod_args();
-
 
3599
      args.setOrderId(orderId);
-
 
3600
      args.setIsRefund(isRefund);
-
 
3601
      sendBase("getSettlementForCod", args);
3552
    }
3602
    }
3553
 
3603
 
3554
    public PaymentSettlement recv_getSettlementForReferenceId() throws TransactionServiceException, org.apache.thrift.TException
3604
    public PaymentSettlement recv_getSettlementForCod() throws TransactionServiceException, org.apache.thrift.TException
3555
    {
3605
    {
3556
      getSettlementForReferenceId_result result = new getSettlementForReferenceId_result();
3606
      getSettlementForCod_result result = new getSettlementForCod_result();
3557
      receiveBase(result, "getSettlementForReferenceId");
3607
      receiveBase(result, "getSettlementForCod");
3558
      if (result.isSetSuccess()) {
3608
      if (result.isSetSuccess()) {
3559
        return result.success;
3609
        return result.success;
3560
      }
3610
      }
3561
      if (result.ex != null) {
3611
      if (result.ex != null) {
3562
        throw result.ex;
3612
        throw result.ex;
3563
      }
3613
      }
3564
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSettlementForReferenceId failed: unknown result");
3614
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSettlementForCod failed: unknown result");
3565
    }
3615
    }
3566
 
3616
 
3567
    public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException
3617
    public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException
3568
    {
3618
    {
3569
      send_getEBSSettlementSummaries();
3619
      send_getEBSSettlementSummaries();
Line 3690... Line 3740...
3690
        throw result.ex;
3740
        throw result.ex;
3691
      }
3741
      }
3692
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReshippedOrderIds failed: unknown result");
3742
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReshippedOrderIds failed: unknown result");
3693
    }
3743
    }
3694
 
3744
 
3695
    public void updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId) throws TransactionServiceException, org.apache.thrift.TException
-
 
3696
    {
-
 
3697
      send_updateOrdersAsPORaised(itemIdQuantityMap, purchaseOrderId, warehouseId);
-
 
3698
      recv_updateOrdersAsPORaised();
-
 
3699
    }
-
 
3700
 
-
 
3701
    public void send_updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId) throws org.apache.thrift.TException
-
 
3702
    {
-
 
3703
      updateOrdersAsPORaised_args args = new updateOrdersAsPORaised_args();
-
 
3704
      args.setItemIdQuantityMap(itemIdQuantityMap);
-
 
3705
      args.setPurchaseOrderId(purchaseOrderId);
-
 
3706
      args.setWarehouseId(warehouseId);
-
 
3707
      sendBase("updateOrdersAsPORaised", args);
-
 
3708
    }
-
 
3709
 
-
 
3710
    public void recv_updateOrdersAsPORaised() throws TransactionServiceException, org.apache.thrift.TException
-
 
3711
    {
-
 
3712
      updateOrdersAsPORaised_result result = new updateOrdersAsPORaised_result();
-
 
3713
      receiveBase(result, "updateOrdersAsPORaised");
-
 
3714
      if (result.ex != null) {
-
 
3715
        throw result.ex;
-
 
3716
      }
-
 
3717
      return;
-
 
3718
    }
-
 
3719
 
-
 
3720
    public List<Order> getOrdersWhereVendorNotPaid(long vendorId) throws TransactionServiceException, org.apache.thrift.TException
3745
    public List<Order> getOrdersWhereVendorNotPaid(long vendorId) throws TransactionServiceException, org.apache.thrift.TException
3721
    {
3746
    {
3722
      send_getOrdersWhereVendorNotPaid(vendorId);
3747
      send_getOrdersWhereVendorNotPaid(vendorId);
3723
      return recv_getOrdersWhereVendorNotPaid();
3748
      return recv_getOrdersWhereVendorNotPaid();
3724
    }
3749
    }
Line 3843... Line 3868...
3843
        throw result.ex;
3868
        throw result.ex;
3844
      }
3869
      }
3845
      return;
3870
      return;
3846
    }
3871
    }
3847
 
3872
 
-
 
3873
    public void updateOrderOnlyAsPaidToVendor(long orderId) throws TransactionServiceException, org.apache.thrift.TException
-
 
3874
    {
-
 
3875
      send_updateOrderOnlyAsPaidToVendor(orderId);
-
 
3876
      recv_updateOrderOnlyAsPaidToVendor();
-
 
3877
    }
-
 
3878
 
-
 
3879
    public void send_updateOrderOnlyAsPaidToVendor(long orderId) throws org.apache.thrift.TException
-
 
3880
    {
-
 
3881
      updateOrderOnlyAsPaidToVendor_args args = new updateOrderOnlyAsPaidToVendor_args();
-
 
3882
      args.setOrderId(orderId);
-
 
3883
      sendBase("updateOrderOnlyAsPaidToVendor", args);
-
 
3884
    }
-
 
3885
 
-
 
3886
    public void recv_updateOrderOnlyAsPaidToVendor() throws TransactionServiceException, org.apache.thrift.TException
-
 
3887
    {
-
 
3888
      updateOrderOnlyAsPaidToVendor_result result = new updateOrderOnlyAsPaidToVendor_result();
-
 
3889
      receiveBase(result, "updateOrderOnlyAsPaidToVendor");
-
 
3890
      if (result.ex != null) {
-
 
3891
        throw result.ex;
-
 
3892
      }
-
 
3893
      return;
-
 
3894
    }
-
 
3895
 
3848
    public List<Order> getRefundedOrdersMarkedPaid() throws TransactionServiceException, org.apache.thrift.TException
3896
    public List<Order> getRefundedOrdersMarkedPaid() throws TransactionServiceException, org.apache.thrift.TException
3849
    {
3897
    {
3850
      send_getRefundedOrdersMarkedPaid();
3898
      send_getRefundedOrdersMarkedPaid();
3851
      return recv_getRefundedOrdersMarkedPaid();
3899
      return recv_getRefundedOrdersMarkedPaid();
3852
    }
3900
    }
Line 4639... Line 4687...
4639
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4687
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4640
        return (new Client(prot)).recv_getOrderList();
4688
        return (new Client(prot)).recv_getOrderList();
4641
      }
4689
      }
4642
    }
4690
    }
4643
 
4691
 
-
 
4692
    public void getOrderListForVendor(List<Long> order_ids, long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOrderListForVendor_call> resultHandler) throws org.apache.thrift.TException {
-
 
4693
      checkReady();
-
 
4694
      getOrderListForVendor_call method_call = new getOrderListForVendor_call(order_ids, vendorId, resultHandler, this, ___protocolFactory, ___transport);
-
 
4695
      this.___currentMethod = method_call;
-
 
4696
      ___manager.call(method_call);
-
 
4697
    }
-
 
4698
 
-
 
4699
    public static class getOrderListForVendor_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4700
      private List<Long> order_ids;
-
 
4701
      private long vendorId;
-
 
4702
      public getOrderListForVendor_call(List<Long> order_ids, long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOrderListForVendor_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
4703
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4704
        this.order_ids = order_ids;
-
 
4705
        this.vendorId = vendorId;
-
 
4706
      }
-
 
4707
 
-
 
4708
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4709
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrderListForVendor", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4710
        getOrderListForVendor_args args = new getOrderListForVendor_args();
-
 
4711
        args.setOrder_ids(order_ids);
-
 
4712
        args.setVendorId(vendorId);
-
 
4713
        args.write(prot);
-
 
4714
        prot.writeMessageEnd();
-
 
4715
      }
-
 
4716
 
-
 
4717
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
4718
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4719
          throw new IllegalStateException("Method call not finished!");
-
 
4720
        }
-
 
4721
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4722
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4723
        return (new Client(prot)).recv_getOrderListForVendor();
-
 
4724
      }
-
 
4725
    }
-
 
4726
 
4644
    public void getOrderForCustomer(long orderId, long customerId, org.apache.thrift.async.AsyncMethodCallback<getOrderForCustomer_call> resultHandler) throws org.apache.thrift.TException {
4727
    public void getOrderForCustomer(long orderId, long customerId, org.apache.thrift.async.AsyncMethodCallback<getOrderForCustomer_call> resultHandler) throws org.apache.thrift.TException {
4645
      checkReady();
4728
      checkReady();
4646
      getOrderForCustomer_call method_call = new getOrderForCustomer_call(orderId, customerId, resultHandler, this, ___protocolFactory, ___transport);
4729
      getOrderForCustomer_call method_call = new getOrderForCustomer_call(orderId, customerId, resultHandler, this, ___protocolFactory, ___transport);
4647
      this.___currentMethod = method_call;
4730
      this.___currentMethod = method_call;
4648
      ___manager.call(method_call);
4731
      ___manager.call(method_call);
Line 7331... Line 7414...
7331
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7414
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7332
        (new Client(prot)).recv_saveEBSSettlementSummary();
7415
        (new Client(prot)).recv_saveEBSSettlementSummary();
7333
      }
7416
      }
7334
    }
7417
    }
7335
 
7418
 
7336
    public void getSettlementForReferenceId(long referenceId, long paymentGatewayId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementForReferenceId_call> resultHandler) throws org.apache.thrift.TException {
7419
    public void getSettlementForPrepaid(long referenceId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementForPrepaid_call> resultHandler) throws org.apache.thrift.TException {
7337
      checkReady();
7420
      checkReady();
7338
      getSettlementForReferenceId_call method_call = new getSettlementForReferenceId_call(referenceId, paymentGatewayId, isRefund, resultHandler, this, ___protocolFactory, ___transport);
7421
      getSettlementForPrepaid_call method_call = new getSettlementForPrepaid_call(referenceId, isRefund, resultHandler, this, ___protocolFactory, ___transport);
7339
      this.___currentMethod = method_call;
7422
      this.___currentMethod = method_call;
7340
      ___manager.call(method_call);
7423
      ___manager.call(method_call);
7341
    }
7424
    }
7342
 
7425
 
7343
    public static class getSettlementForReferenceId_call extends org.apache.thrift.async.TAsyncMethodCall {
7426
    public static class getSettlementForPrepaid_call extends org.apache.thrift.async.TAsyncMethodCall {
7344
      private long referenceId;
7427
      private long referenceId;
7345
      private long paymentGatewayId;
-
 
7346
      private boolean isRefund;
7428
      private boolean isRefund;
7347
      public getSettlementForReferenceId_call(long referenceId, long paymentGatewayId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementForReferenceId_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
7429
      public getSettlementForPrepaid_call(long referenceId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementForPrepaid_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
7348
        super(client, protocolFactory, transport, resultHandler, false);
7430
        super(client, protocolFactory, transport, resultHandler, false);
7349
        this.referenceId = referenceId;
7431
        this.referenceId = referenceId;
7350
        this.paymentGatewayId = paymentGatewayId;
-
 
7351
        this.isRefund = isRefund;
7432
        this.isRefund = isRefund;
7352
      }
7433
      }
7353
 
7434
 
7354
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
7435
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
7355
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSettlementForReferenceId", org.apache.thrift.protocol.TMessageType.CALL, 0));
7436
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSettlementForPrepaid", org.apache.thrift.protocol.TMessageType.CALL, 0));
7356
        getSettlementForReferenceId_args args = new getSettlementForReferenceId_args();
7437
        getSettlementForPrepaid_args args = new getSettlementForPrepaid_args();
7357
        args.setReferenceId(referenceId);
7438
        args.setReferenceId(referenceId);
7358
        args.setPaymentGatewayId(paymentGatewayId);
-
 
7359
        args.setIsRefund(isRefund);
7439
        args.setIsRefund(isRefund);
7360
        args.write(prot);
7440
        args.write(prot);
7361
        prot.writeMessageEnd();
7441
        prot.writeMessageEnd();
7362
      }
7442
      }
7363
 
7443
 
Line 7365... Line 7445...
7365
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
7445
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
7366
          throw new IllegalStateException("Method call not finished!");
7446
          throw new IllegalStateException("Method call not finished!");
7367
        }
7447
        }
7368
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
7448
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
7369
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7449
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
7450
        return (new Client(prot)).recv_getSettlementForPrepaid();
-
 
7451
      }
-
 
7452
    }
-
 
7453
 
-
 
7454
    public void getSettlementForCod(long orderId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementForCod_call> resultHandler) throws org.apache.thrift.TException {
-
 
7455
      checkReady();
-
 
7456
      getSettlementForCod_call method_call = new getSettlementForCod_call(orderId, isRefund, resultHandler, this, ___protocolFactory, ___transport);
-
 
7457
      this.___currentMethod = method_call;
-
 
7458
      ___manager.call(method_call);
-
 
7459
    }
-
 
7460
 
-
 
7461
    public static class getSettlementForCod_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
7462
      private long orderId;
-
 
7463
      private boolean isRefund;
7370
        return (new Client(prot)).recv_getSettlementForReferenceId();
7464
      public getSettlementForCod_call(long orderId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementForCod_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
7465
        super(client, protocolFactory, transport, resultHandler, false);
-
 
7466
        this.orderId = orderId;
-
 
7467
        this.isRefund = isRefund;
-
 
7468
      }
-
 
7469
 
-
 
7470
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
7471
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSettlementForCod", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
7472
        getSettlementForCod_args args = new getSettlementForCod_args();
-
 
7473
        args.setOrderId(orderId);
-
 
7474
        args.setIsRefund(isRefund);
-
 
7475
        args.write(prot);
-
 
7476
        prot.writeMessageEnd();
-
 
7477
      }
-
 
7478
 
-
 
7479
      public PaymentSettlement getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
7480
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
7481
          throw new IllegalStateException("Method call not finished!");
-
 
7482
        }
-
 
7483
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
7484
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
7485
        return (new Client(prot)).recv_getSettlementForCod();
7371
      }
7486
      }
7372
    }
7487
    }
7373
 
7488
 
7374
    public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException {
7489
    public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException {
7375
      checkReady();
7490
      checkReady();
Line 7532... Line 7647...
7532
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7647
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7533
        return (new Client(prot)).recv_getReshippedOrderIds();
7648
        return (new Client(prot)).recv_getReshippedOrderIds();
7534
      }
7649
      }
7535
    }
7650
    }
7536
 
7651
 
7537
    public void updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<updateOrdersAsPORaised_call> resultHandler) throws org.apache.thrift.TException {
-
 
7538
      checkReady();
-
 
7539
      updateOrdersAsPORaised_call method_call = new updateOrdersAsPORaised_call(itemIdQuantityMap, purchaseOrderId, warehouseId, resultHandler, this, ___protocolFactory, ___transport);
-
 
7540
      this.___currentMethod = method_call;
-
 
7541
      ___manager.call(method_call);
-
 
7542
    }
-
 
7543
 
-
 
7544
    public static class updateOrdersAsPORaised_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
7545
      private Map<Long,Long> itemIdQuantityMap;
-
 
7546
      private long purchaseOrderId;
-
 
7547
      private long warehouseId;
-
 
7548
      public updateOrdersAsPORaised_call(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<updateOrdersAsPORaised_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
7549
        super(client, protocolFactory, transport, resultHandler, false);
-
 
7550
        this.itemIdQuantityMap = itemIdQuantityMap;
-
 
7551
        this.purchaseOrderId = purchaseOrderId;
-
 
7552
        this.warehouseId = warehouseId;
-
 
7553
      }
-
 
7554
 
-
 
7555
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
7556
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateOrdersAsPORaised", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
7557
        updateOrdersAsPORaised_args args = new updateOrdersAsPORaised_args();
-
 
7558
        args.setItemIdQuantityMap(itemIdQuantityMap);
-
 
7559
        args.setPurchaseOrderId(purchaseOrderId);
-
 
7560
        args.setWarehouseId(warehouseId);
-
 
7561
        args.write(prot);
-
 
7562
        prot.writeMessageEnd();
-
 
7563
      }
-
 
7564
 
-
 
7565
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
7566
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
7567
          throw new IllegalStateException("Method call not finished!");
-
 
7568
        }
-
 
7569
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
7570
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
7571
        (new Client(prot)).recv_updateOrdersAsPORaised();
-
 
7572
      }
-
 
7573
    }
-
 
7574
 
-
 
7575
    public void getOrdersWhereVendorNotPaid(long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOrdersWhereVendorNotPaid_call> resultHandler) throws org.apache.thrift.TException {
7652
    public void getOrdersWhereVendorNotPaid(long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOrdersWhereVendorNotPaid_call> resultHandler) throws org.apache.thrift.TException {
7576
      checkReady();
7653
      checkReady();
7577
      getOrdersWhereVendorNotPaid_call method_call = new getOrdersWhereVendorNotPaid_call(vendorId, resultHandler, this, ___protocolFactory, ___transport);
7654
      getOrdersWhereVendorNotPaid_call method_call = new getOrdersWhereVendorNotPaid_call(vendorId, resultHandler, this, ___protocolFactory, ___transport);
7578
      this.___currentMethod = method_call;
7655
      this.___currentMethod = method_call;
7579
      ___manager.call(method_call);
7656
      ___manager.call(method_call);
Line 7742... Line 7819...
7742
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7819
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
7743
        (new Client(prot)).recv_updateOrderAsPaidToVendor();
7820
        (new Client(prot)).recv_updateOrderAsPaidToVendor();
7744
      }
7821
      }
7745
    }
7822
    }
7746
 
7823
 
-
 
7824
    public void updateOrderOnlyAsPaidToVendor(long orderId, org.apache.thrift.async.AsyncMethodCallback<updateOrderOnlyAsPaidToVendor_call> resultHandler) throws org.apache.thrift.TException {
-
 
7825
      checkReady();
-
 
7826
      updateOrderOnlyAsPaidToVendor_call method_call = new updateOrderOnlyAsPaidToVendor_call(orderId, resultHandler, this, ___protocolFactory, ___transport);
-
 
7827
      this.___currentMethod = method_call;
-
 
7828
      ___manager.call(method_call);
-
 
7829
    }
-
 
7830
 
-
 
7831
    public static class updateOrderOnlyAsPaidToVendor_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
7832
      private long orderId;
-
 
7833
      public updateOrderOnlyAsPaidToVendor_call(long orderId, org.apache.thrift.async.AsyncMethodCallback<updateOrderOnlyAsPaidToVendor_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
7834
        super(client, protocolFactory, transport, resultHandler, false);
-
 
7835
        this.orderId = orderId;
-
 
7836
      }
-
 
7837
 
-
 
7838
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
7839
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateOrderOnlyAsPaidToVendor", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
7840
        updateOrderOnlyAsPaidToVendor_args args = new updateOrderOnlyAsPaidToVendor_args();
-
 
7841
        args.setOrderId(orderId);
-
 
7842
        args.write(prot);
-
 
7843
        prot.writeMessageEnd();
-
 
7844
      }
-
 
7845
 
-
 
7846
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
7847
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
7848
          throw new IllegalStateException("Method call not finished!");
-
 
7849
        }
-
 
7850
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
7851
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
7852
        (new Client(prot)).recv_updateOrderOnlyAsPaidToVendor();
-
 
7853
      }
-
 
7854
    }
-
 
7855
 
7747
    public void getRefundedOrdersMarkedPaid(org.apache.thrift.async.AsyncMethodCallback<getRefundedOrdersMarkedPaid_call> resultHandler) throws org.apache.thrift.TException {
7856
    public void getRefundedOrdersMarkedPaid(org.apache.thrift.async.AsyncMethodCallback<getRefundedOrdersMarkedPaid_call> resultHandler) throws org.apache.thrift.TException {
7748
      checkReady();
7857
      checkReady();
7749
      getRefundedOrdersMarkedPaid_call method_call = new getRefundedOrdersMarkedPaid_call(resultHandler, this, ___protocolFactory, ___transport);
7858
      getRefundedOrdersMarkedPaid_call method_call = new getRefundedOrdersMarkedPaid_call(resultHandler, this, ___protocolFactory, ___transport);
7750
      this.___currentMethod = method_call;
7859
      this.___currentMethod = method_call;
7751
      ___manager.call(method_call);
7860
      ___manager.call(method_call);
Line 7805... Line 7914...
7805
      processMap.put("getOrdersForCustomer", new getOrdersForCustomer());
7914
      processMap.put("getOrdersForCustomer", new getOrdersForCustomer());
7806
      processMap.put("createOrder", new createOrder());
7915
      processMap.put("createOrder", new createOrder());
7807
      processMap.put("getOrder", new getOrder());
7916
      processMap.put("getOrder", new getOrder());
7808
      processMap.put("getLineItemsForOrder", new getLineItemsForOrder());
7917
      processMap.put("getLineItemsForOrder", new getLineItemsForOrder());
7809
      processMap.put("getOrderList", new getOrderList());
7918
      processMap.put("getOrderList", new getOrderList());
-
 
7919
      processMap.put("getOrderListForVendor", new getOrderListForVendor());
7810
      processMap.put("getOrderForCustomer", new getOrderForCustomer());
7920
      processMap.put("getOrderForCustomer", new getOrderForCustomer());
7811
      processMap.put("getAlerts", new getAlerts());
7921
      processMap.put("getAlerts", new getAlerts());
7812
      processMap.put("addAlert", new addAlert());
7922
      processMap.put("addAlert", new addAlert());
7813
      processMap.put("markAlertsAsSeen", new markAlertsAsSeen());
7923
      processMap.put("markAlertsAsSeen", new markAlertsAsSeen());
7814
      processMap.put("getValidOrderCount", new getValidOrderCount());
7924
      processMap.put("getValidOrderCount", new getValidOrderCount());
Line 7882... Line 7992...
7882
      processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
7992
      processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
7883
      processMap.put("getCancelledOrders", new getCancelledOrders());
7993
      processMap.put("getCancelledOrders", new getCancelledOrders());
7884
      processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
7994
      processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
7885
      processMap.put("savePaymentSettlements", new savePaymentSettlements());
7995
      processMap.put("savePaymentSettlements", new savePaymentSettlements());
7886
      processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
7996
      processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
7887
      processMap.put("getSettlementForReferenceId", new getSettlementForReferenceId());
7997
      processMap.put("getSettlementForPrepaid", new getSettlementForPrepaid());
-
 
7998
      processMap.put("getSettlementForCod", new getSettlementForCod());
7888
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
7999
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
7889
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
8000
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
7890
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
8001
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
7891
      processMap.put("getSettlementsByDate", new getSettlementsByDate());
8002
      processMap.put("getSettlementsByDate", new getSettlementsByDate());
7892
      processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
8003
      processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
7893
      processMap.put("updateOrdersAsPORaised", new updateOrdersAsPORaised());
-
 
7894
      processMap.put("getOrdersWhereVendorNotPaid", new getOrdersWhereVendorNotPaid());
8004
      processMap.put("getOrdersWhereVendorNotPaid", new getOrdersWhereVendorNotPaid());
7895
      processMap.put("getStatusDistributionOfOrders", new getStatusDistributionOfOrders());
8005
      processMap.put("getStatusDistributionOfOrders", new getStatusDistributionOfOrders());
7896
      processMap.put("getOrderIdsForStatus", new getOrderIdsForStatus());
8006
      processMap.put("getOrderIdsForStatus", new getOrderIdsForStatus());
7897
      processMap.put("updateCODAgent", new updateCODAgent());
8007
      processMap.put("updateCODAgent", new updateCODAgent());
7898
      processMap.put("updateOrderAsPaidToVendor", new updateOrderAsPaidToVendor());
8008
      processMap.put("updateOrderAsPaidToVendor", new updateOrderAsPaidToVendor());
-
 
8009
      processMap.put("updateOrderOnlyAsPaidToVendor", new updateOrderOnlyAsPaidToVendor());
7899
      processMap.put("getRefundedOrdersMarkedPaid", new getRefundedOrdersMarkedPaid());
8010
      processMap.put("getRefundedOrdersMarkedPaid", new getRefundedOrdersMarkedPaid());
7900
      return processMap;
8011
      return processMap;
7901
    }
8012
    }
7902
 
8013
 
7903
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
8014
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
Line 8320... Line 8431...
8320
        result.success = iface.getOrderList(args.order_ids);
8431
        result.success = iface.getOrderList(args.order_ids);
8321
        return result;
8432
        return result;
8322
      }
8433
      }
8323
    }
8434
    }
8324
 
8435
 
-
 
8436
    private static class getOrderListForVendor<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderListForVendor_args> {
-
 
8437
      public getOrderListForVendor() {
-
 
8438
        super("getOrderListForVendor");
-
 
8439
      }
-
 
8440
 
-
 
8441
      protected getOrderListForVendor_args getEmptyArgsInstance() {
-
 
8442
        return new getOrderListForVendor_args();
-
 
8443
      }
-
 
8444
 
-
 
8445
      protected getOrderListForVendor_result getResult(I iface, getOrderListForVendor_args args) throws org.apache.thrift.TException {
-
 
8446
        getOrderListForVendor_result result = new getOrderListForVendor_result();
-
 
8447
        result.success = iface.getOrderListForVendor(args.order_ids, args.vendorId);
-
 
8448
        return result;
-
 
8449
      }
-
 
8450
    }
-
 
8451
 
8325
    private static class getOrderForCustomer<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderForCustomer_args> {
8452
    private static class getOrderForCustomer<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderForCustomer_args> {
8326
      public getOrderForCustomer() {
8453
      public getOrderForCustomer() {
8327
        super("getOrderForCustomer");
8454
        super("getOrderForCustomer");
8328
      }
8455
      }
8329
 
8456
 
Line 9794... Line 9921...
9794
        }
9921
        }
9795
        return result;
9922
        return result;
9796
      }
9923
      }
9797
    }
9924
    }
9798
 
9925
 
9799
    private static class getSettlementForReferenceId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSettlementForReferenceId_args> {
9926
    private static class getSettlementForPrepaid<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSettlementForPrepaid_args> {
9800
      public getSettlementForReferenceId() {
9927
      public getSettlementForPrepaid() {
9801
        super("getSettlementForReferenceId");
9928
        super("getSettlementForPrepaid");
-
 
9929
      }
-
 
9930
 
-
 
9931
      protected getSettlementForPrepaid_args getEmptyArgsInstance() {
-
 
9932
        return new getSettlementForPrepaid_args();
-
 
9933
      }
-
 
9934
 
-
 
9935
      protected getSettlementForPrepaid_result getResult(I iface, getSettlementForPrepaid_args args) throws org.apache.thrift.TException {
-
 
9936
        getSettlementForPrepaid_result result = new getSettlementForPrepaid_result();
-
 
9937
        try {
-
 
9938
          result.success = iface.getSettlementForPrepaid(args.referenceId, args.isRefund);
-
 
9939
        } catch (TransactionServiceException ex) {
-
 
9940
          result.ex = ex;
-
 
9941
        }
-
 
9942
        return result;
-
 
9943
      }
-
 
9944
    }
-
 
9945
 
-
 
9946
    private static class getSettlementForCod<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSettlementForCod_args> {
-
 
9947
      public getSettlementForCod() {
-
 
9948
        super("getSettlementForCod");
9802
      }
9949
      }
9803
 
9950
 
9804
      protected getSettlementForReferenceId_args getEmptyArgsInstance() {
9951
      protected getSettlementForCod_args getEmptyArgsInstance() {
9805
        return new getSettlementForReferenceId_args();
9952
        return new getSettlementForCod_args();
9806
      }
9953
      }
9807
 
9954
 
9808
      protected getSettlementForReferenceId_result getResult(I iface, getSettlementForReferenceId_args args) throws org.apache.thrift.TException {
9955
      protected getSettlementForCod_result getResult(I iface, getSettlementForCod_args args) throws org.apache.thrift.TException {
9809
        getSettlementForReferenceId_result result = new getSettlementForReferenceId_result();
9956
        getSettlementForCod_result result = new getSettlementForCod_result();
9810
        try {
9957
        try {
9811
          result.success = iface.getSettlementForReferenceId(args.referenceId, args.paymentGatewayId, args.isRefund);
9958
          result.success = iface.getSettlementForCod(args.orderId, args.isRefund);
9812
        } catch (TransactionServiceException ex) {
9959
        } catch (TransactionServiceException ex) {
9813
          result.ex = ex;
9960
          result.ex = ex;
9814
        }
9961
        }
9815
        return result;
9962
        return result;
9816
      }
9963
      }
Line 9915... Line 10062...
9915
        }
10062
        }
9916
        return result;
10063
        return result;
9917
      }
10064
      }
9918
    }
10065
    }
9919
 
10066
 
9920
    private static class updateOrdersAsPORaised<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateOrdersAsPORaised_args> {
-
 
9921
      public updateOrdersAsPORaised() {
-
 
9922
        super("updateOrdersAsPORaised");
-
 
9923
      }
-
 
9924
 
-
 
9925
      protected updateOrdersAsPORaised_args getEmptyArgsInstance() {
-
 
9926
        return new updateOrdersAsPORaised_args();
-
 
9927
      }
-
 
9928
 
-
 
9929
      protected updateOrdersAsPORaised_result getResult(I iface, updateOrdersAsPORaised_args args) throws org.apache.thrift.TException {
-
 
9930
        updateOrdersAsPORaised_result result = new updateOrdersAsPORaised_result();
-
 
9931
        try {
-
 
9932
          iface.updateOrdersAsPORaised(args.itemIdQuantityMap, args.purchaseOrderId, args.warehouseId);
-
 
9933
        } catch (TransactionServiceException ex) {
-
 
9934
          result.ex = ex;
-
 
9935
        }
-
 
9936
        return result;
-
 
9937
      }
-
 
9938
    }
-
 
9939
 
-
 
9940
    private static class getOrdersWhereVendorNotPaid<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersWhereVendorNotPaid_args> {
10067
    private static class getOrdersWhereVendorNotPaid<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersWhereVendorNotPaid_args> {
9941
      public getOrdersWhereVendorNotPaid() {
10068
      public getOrdersWhereVendorNotPaid() {
9942
        super("getOrdersWhereVendorNotPaid");
10069
        super("getOrdersWhereVendorNotPaid");
9943
      }
10070
      }
9944
 
10071
 
Line 10035... Line 10162...
10035
        }
10162
        }
10036
        return result;
10163
        return result;
10037
      }
10164
      }
10038
    }
10165
    }
10039
 
10166
 
-
 
10167
    private static class updateOrderOnlyAsPaidToVendor<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateOrderOnlyAsPaidToVendor_args> {
-
 
10168
      public updateOrderOnlyAsPaidToVendor() {
-
 
10169
        super("updateOrderOnlyAsPaidToVendor");
-
 
10170
      }
-
 
10171
 
-
 
10172
      protected updateOrderOnlyAsPaidToVendor_args getEmptyArgsInstance() {
-
 
10173
        return new updateOrderOnlyAsPaidToVendor_args();
-
 
10174
      }
-
 
10175
 
-
 
10176
      protected updateOrderOnlyAsPaidToVendor_result getResult(I iface, updateOrderOnlyAsPaidToVendor_args args) throws org.apache.thrift.TException {
-
 
10177
        updateOrderOnlyAsPaidToVendor_result result = new updateOrderOnlyAsPaidToVendor_result();
-
 
10178
        try {
-
 
10179
          iface.updateOrderOnlyAsPaidToVendor(args.orderId);
-
 
10180
        } catch (TransactionServiceException ex) {
-
 
10181
          result.ex = ex;
-
 
10182
        }
-
 
10183
        return result;
-
 
10184
      }
-
 
10185
    }
-
 
10186
 
10040
    private static class getRefundedOrdersMarkedPaid<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRefundedOrdersMarkedPaid_args> {
10187
    private static class getRefundedOrdersMarkedPaid<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRefundedOrdersMarkedPaid_args> {
10041
      public getRefundedOrdersMarkedPaid() {
10188
      public getRefundedOrdersMarkedPaid() {
10042
        super("getRefundedOrdersMarkedPaid");
10189
        super("getRefundedOrdersMarkedPaid");
10043
      }
10190
      }
10044
 
10191
 
Line 27128... Line 27275...
27128
      }
27275
      }
27129
    }
27276
    }
27130
 
27277
 
27131
  }
27278
  }
27132
 
27279
 
-
 
27280
  public static class getOrderListForVendor_args implements org.apache.thrift.TBase<getOrderListForVendor_args, getOrderListForVendor_args._Fields>, java.io.Serializable, Cloneable   {
-
 
27281
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderListForVendor_args");
-
 
27282
 
-
 
27283
    private static final org.apache.thrift.protocol.TField ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("order_ids", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
27284
    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)2);
-
 
27285
 
-
 
27286
    private List<Long> order_ids; // required
-
 
27287
    private long vendorId; // required
-
 
27288
 
-
 
27289
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
27290
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
27291
      ORDER_IDS((short)1, "order_ids"),
-
 
27292
      VENDOR_ID((short)2, "vendorId");
-
 
27293
 
-
 
27294
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
27295
 
-
 
27296
      static {
-
 
27297
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
27298
          byName.put(field.getFieldName(), field);
-
 
27299
        }
-
 
27300
      }
-
 
27301
 
-
 
27302
      /**
-
 
27303
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
27304
       */
-
 
27305
      public static _Fields findByThriftId(int fieldId) {
-
 
27306
        switch(fieldId) {
-
 
27307
          case 1: // ORDER_IDS
-
 
27308
            return ORDER_IDS;
-
 
27309
          case 2: // VENDOR_ID
-
 
27310
            return VENDOR_ID;
-
 
27311
          default:
-
 
27312
            return null;
-
 
27313
        }
-
 
27314
      }
-
 
27315
 
-
 
27316
      /**
-
 
27317
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
27318
       * if it is not found.
-
 
27319
       */
-
 
27320
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
27321
        _Fields fields = findByThriftId(fieldId);
-
 
27322
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
27323
        return fields;
-
 
27324
      }
-
 
27325
 
-
 
27326
      /**
-
 
27327
       * Find the _Fields constant that matches name, or null if its not found.
-
 
27328
       */
-
 
27329
      public static _Fields findByName(String name) {
-
 
27330
        return byName.get(name);
-
 
27331
      }
-
 
27332
 
-
 
27333
      private final short _thriftId;
-
 
27334
      private final String _fieldName;
-
 
27335
 
-
 
27336
      _Fields(short thriftId, String fieldName) {
-
 
27337
        _thriftId = thriftId;
-
 
27338
        _fieldName = fieldName;
-
 
27339
      }
-
 
27340
 
-
 
27341
      public short getThriftFieldId() {
-
 
27342
        return _thriftId;
-
 
27343
      }
-
 
27344
 
-
 
27345
      public String getFieldName() {
-
 
27346
        return _fieldName;
-
 
27347
      }
-
 
27348
    }
-
 
27349
 
-
 
27350
    // isset id assignments
-
 
27351
    private static final int __VENDORID_ISSET_ID = 0;
-
 
27352
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
27353
 
-
 
27354
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
27355
    static {
-
 
27356
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
27357
      tmpMap.put(_Fields.ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("order_ids", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
27358
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
27359
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
27360
      tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
27361
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
27362
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
27363
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrderListForVendor_args.class, metaDataMap);
-
 
27364
    }
-
 
27365
 
-
 
27366
    public getOrderListForVendor_args() {
-
 
27367
    }
-
 
27368
 
-
 
27369
    public getOrderListForVendor_args(
-
 
27370
      List<Long> order_ids,
-
 
27371
      long vendorId)
-
 
27372
    {
-
 
27373
      this();
-
 
27374
      this.order_ids = order_ids;
-
 
27375
      this.vendorId = vendorId;
-
 
27376
      setVendorIdIsSet(true);
-
 
27377
    }
-
 
27378
 
-
 
27379
    /**
-
 
27380
     * Performs a deep copy on <i>other</i>.
-
 
27381
     */
-
 
27382
    public getOrderListForVendor_args(getOrderListForVendor_args other) {
-
 
27383
      __isset_bit_vector.clear();
-
 
27384
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
27385
      if (other.isSetOrder_ids()) {
-
 
27386
        List<Long> __this__order_ids = new ArrayList<Long>();
-
 
27387
        for (Long other_element : other.order_ids) {
-
 
27388
          __this__order_ids.add(other_element);
-
 
27389
        }
-
 
27390
        this.order_ids = __this__order_ids;
-
 
27391
      }
-
 
27392
      this.vendorId = other.vendorId;
-
 
27393
    }
-
 
27394
 
-
 
27395
    public getOrderListForVendor_args deepCopy() {
-
 
27396
      return new getOrderListForVendor_args(this);
-
 
27397
    }
-
 
27398
 
-
 
27399
    @Override
-
 
27400
    public void clear() {
-
 
27401
      this.order_ids = null;
-
 
27402
      setVendorIdIsSet(false);
-
 
27403
      this.vendorId = 0;
-
 
27404
    }
-
 
27405
 
-
 
27406
    public int getOrder_idsSize() {
-
 
27407
      return (this.order_ids == null) ? 0 : this.order_ids.size();
-
 
27408
    }
-
 
27409
 
-
 
27410
    public java.util.Iterator<Long> getOrder_idsIterator() {
-
 
27411
      return (this.order_ids == null) ? null : this.order_ids.iterator();
-
 
27412
    }
-
 
27413
 
-
 
27414
    public void addToOrder_ids(long elem) {
-
 
27415
      if (this.order_ids == null) {
-
 
27416
        this.order_ids = new ArrayList<Long>();
-
 
27417
      }
-
 
27418
      this.order_ids.add(elem);
-
 
27419
    }
-
 
27420
 
-
 
27421
    public List<Long> getOrder_ids() {
-
 
27422
      return this.order_ids;
-
 
27423
    }
-
 
27424
 
-
 
27425
    public void setOrder_ids(List<Long> order_ids) {
-
 
27426
      this.order_ids = order_ids;
-
 
27427
    }
-
 
27428
 
-
 
27429
    public void unsetOrder_ids() {
-
 
27430
      this.order_ids = null;
-
 
27431
    }
-
 
27432
 
-
 
27433
    /** Returns true if field order_ids is set (has been assigned a value) and false otherwise */
-
 
27434
    public boolean isSetOrder_ids() {
-
 
27435
      return this.order_ids != null;
-
 
27436
    }
-
 
27437
 
-
 
27438
    public void setOrder_idsIsSet(boolean value) {
-
 
27439
      if (!value) {
-
 
27440
        this.order_ids = null;
-
 
27441
      }
-
 
27442
    }
-
 
27443
 
-
 
27444
    public long getVendorId() {
-
 
27445
      return this.vendorId;
-
 
27446
    }
-
 
27447
 
-
 
27448
    public void setVendorId(long vendorId) {
-
 
27449
      this.vendorId = vendorId;
-
 
27450
      setVendorIdIsSet(true);
-
 
27451
    }
-
 
27452
 
-
 
27453
    public void unsetVendorId() {
-
 
27454
      __isset_bit_vector.clear(__VENDORID_ISSET_ID);
-
 
27455
    }
-
 
27456
 
-
 
27457
    /** Returns true if field vendorId is set (has been assigned a value) and false otherwise */
-
 
27458
    public boolean isSetVendorId() {
-
 
27459
      return __isset_bit_vector.get(__VENDORID_ISSET_ID);
-
 
27460
    }
-
 
27461
 
-
 
27462
    public void setVendorIdIsSet(boolean value) {
-
 
27463
      __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
-
 
27464
    }
-
 
27465
 
-
 
27466
    public void setFieldValue(_Fields field, Object value) {
-
 
27467
      switch (field) {
-
 
27468
      case ORDER_IDS:
-
 
27469
        if (value == null) {
-
 
27470
          unsetOrder_ids();
-
 
27471
        } else {
-
 
27472
          setOrder_ids((List<Long>)value);
-
 
27473
        }
-
 
27474
        break;
-
 
27475
 
-
 
27476
      case VENDOR_ID:
-
 
27477
        if (value == null) {
-
 
27478
          unsetVendorId();
-
 
27479
        } else {
-
 
27480
          setVendorId((Long)value);
-
 
27481
        }
-
 
27482
        break;
-
 
27483
 
-
 
27484
      }
-
 
27485
    }
-
 
27486
 
-
 
27487
    public Object getFieldValue(_Fields field) {
-
 
27488
      switch (field) {
-
 
27489
      case ORDER_IDS:
-
 
27490
        return getOrder_ids();
-
 
27491
 
-
 
27492
      case VENDOR_ID:
-
 
27493
        return Long.valueOf(getVendorId());
-
 
27494
 
-
 
27495
      }
-
 
27496
      throw new IllegalStateException();
-
 
27497
    }
-
 
27498
 
-
 
27499
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
27500
    public boolean isSet(_Fields field) {
-
 
27501
      if (field == null) {
-
 
27502
        throw new IllegalArgumentException();
-
 
27503
      }
-
 
27504
 
-
 
27505
      switch (field) {
-
 
27506
      case ORDER_IDS:
-
 
27507
        return isSetOrder_ids();
-
 
27508
      case VENDOR_ID:
-
 
27509
        return isSetVendorId();
-
 
27510
      }
-
 
27511
      throw new IllegalStateException();
-
 
27512
    }
-
 
27513
 
-
 
27514
    @Override
-
 
27515
    public boolean equals(Object that) {
-
 
27516
      if (that == null)
-
 
27517
        return false;
-
 
27518
      if (that instanceof getOrderListForVendor_args)
-
 
27519
        return this.equals((getOrderListForVendor_args)that);
-
 
27520
      return false;
-
 
27521
    }
-
 
27522
 
-
 
27523
    public boolean equals(getOrderListForVendor_args that) {
-
 
27524
      if (that == null)
-
 
27525
        return false;
-
 
27526
 
-
 
27527
      boolean this_present_order_ids = true && this.isSetOrder_ids();
-
 
27528
      boolean that_present_order_ids = true && that.isSetOrder_ids();
-
 
27529
      if (this_present_order_ids || that_present_order_ids) {
-
 
27530
        if (!(this_present_order_ids && that_present_order_ids))
-
 
27531
          return false;
-
 
27532
        if (!this.order_ids.equals(that.order_ids))
-
 
27533
          return false;
-
 
27534
      }
-
 
27535
 
-
 
27536
      boolean this_present_vendorId = true;
-
 
27537
      boolean that_present_vendorId = true;
-
 
27538
      if (this_present_vendorId || that_present_vendorId) {
-
 
27539
        if (!(this_present_vendorId && that_present_vendorId))
-
 
27540
          return false;
-
 
27541
        if (this.vendorId != that.vendorId)
-
 
27542
          return false;
-
 
27543
      }
-
 
27544
 
-
 
27545
      return true;
-
 
27546
    }
-
 
27547
 
-
 
27548
    @Override
-
 
27549
    public int hashCode() {
-
 
27550
      return 0;
-
 
27551
    }
-
 
27552
 
-
 
27553
    public int compareTo(getOrderListForVendor_args other) {
-
 
27554
      if (!getClass().equals(other.getClass())) {
-
 
27555
        return getClass().getName().compareTo(other.getClass().getName());
-
 
27556
      }
-
 
27557
 
-
 
27558
      int lastComparison = 0;
-
 
27559
      getOrderListForVendor_args typedOther = (getOrderListForVendor_args)other;
-
 
27560
 
-
 
27561
      lastComparison = Boolean.valueOf(isSetOrder_ids()).compareTo(typedOther.isSetOrder_ids());
-
 
27562
      if (lastComparison != 0) {
-
 
27563
        return lastComparison;
-
 
27564
      }
-
 
27565
      if (isSetOrder_ids()) {
-
 
27566
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order_ids, typedOther.order_ids);
-
 
27567
        if (lastComparison != 0) {
-
 
27568
          return lastComparison;
-
 
27569
        }
-
 
27570
      }
-
 
27571
      lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
-
 
27572
      if (lastComparison != 0) {
-
 
27573
        return lastComparison;
-
 
27574
      }
-
 
27575
      if (isSetVendorId()) {
-
 
27576
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
-
 
27577
        if (lastComparison != 0) {
-
 
27578
          return lastComparison;
-
 
27579
        }
-
 
27580
      }
-
 
27581
      return 0;
-
 
27582
    }
-
 
27583
 
-
 
27584
    public _Fields fieldForId(int fieldId) {
-
 
27585
      return _Fields.findByThriftId(fieldId);
-
 
27586
    }
-
 
27587
 
-
 
27588
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
27589
      org.apache.thrift.protocol.TField field;
-
 
27590
      iprot.readStructBegin();
-
 
27591
      while (true)
-
 
27592
      {
-
 
27593
        field = iprot.readFieldBegin();
-
 
27594
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
27595
          break;
-
 
27596
        }
-
 
27597
        switch (field.id) {
-
 
27598
          case 1: // ORDER_IDS
-
 
27599
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
27600
              {
-
 
27601
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
-
 
27602
                this.order_ids = new ArrayList<Long>(_list104.size);
-
 
27603
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
-
 
27604
                {
-
 
27605
                  long _elem106; // required
-
 
27606
                  _elem106 = iprot.readI64();
-
 
27607
                  this.order_ids.add(_elem106);
-
 
27608
                }
-
 
27609
                iprot.readListEnd();
-
 
27610
              }
-
 
27611
            } else { 
-
 
27612
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27613
            }
-
 
27614
            break;
-
 
27615
          case 2: // VENDOR_ID
-
 
27616
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
27617
              this.vendorId = iprot.readI64();
-
 
27618
              setVendorIdIsSet(true);
-
 
27619
            } else { 
-
 
27620
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27621
            }
-
 
27622
            break;
-
 
27623
          default:
-
 
27624
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27625
        }
-
 
27626
        iprot.readFieldEnd();
-
 
27627
      }
-
 
27628
      iprot.readStructEnd();
-
 
27629
      validate();
-
 
27630
    }
-
 
27631
 
-
 
27632
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
27633
      validate();
-
 
27634
 
-
 
27635
      oprot.writeStructBegin(STRUCT_DESC);
-
 
27636
      if (this.order_ids != null) {
-
 
27637
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
-
 
27638
        {
-
 
27639
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.order_ids.size()));
-
 
27640
          for (long _iter107 : this.order_ids)
-
 
27641
          {
-
 
27642
            oprot.writeI64(_iter107);
-
 
27643
          }
-
 
27644
          oprot.writeListEnd();
-
 
27645
        }
-
 
27646
        oprot.writeFieldEnd();
-
 
27647
      }
-
 
27648
      oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
-
 
27649
      oprot.writeI64(this.vendorId);
-
 
27650
      oprot.writeFieldEnd();
-
 
27651
      oprot.writeFieldStop();
-
 
27652
      oprot.writeStructEnd();
-
 
27653
    }
-
 
27654
 
-
 
27655
    @Override
-
 
27656
    public String toString() {
-
 
27657
      StringBuilder sb = new StringBuilder("getOrderListForVendor_args(");
-
 
27658
      boolean first = true;
-
 
27659
 
-
 
27660
      sb.append("order_ids:");
-
 
27661
      if (this.order_ids == null) {
-
 
27662
        sb.append("null");
-
 
27663
      } else {
-
 
27664
        sb.append(this.order_ids);
-
 
27665
      }
-
 
27666
      first = false;
-
 
27667
      if (!first) sb.append(", ");
-
 
27668
      sb.append("vendorId:");
-
 
27669
      sb.append(this.vendorId);
-
 
27670
      first = false;
-
 
27671
      sb.append(")");
-
 
27672
      return sb.toString();
-
 
27673
    }
-
 
27674
 
-
 
27675
    public void validate() throws org.apache.thrift.TException {
-
 
27676
      // check for required fields
-
 
27677
    }
-
 
27678
 
-
 
27679
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
27680
      try {
-
 
27681
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
27682
      } catch (org.apache.thrift.TException te) {
-
 
27683
        throw new java.io.IOException(te);
-
 
27684
      }
-
 
27685
    }
-
 
27686
 
-
 
27687
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
27688
      try {
-
 
27689
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
27690
        __isset_bit_vector = new BitSet(1);
-
 
27691
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
27692
      } catch (org.apache.thrift.TException te) {
-
 
27693
        throw new java.io.IOException(te);
-
 
27694
      }
-
 
27695
    }
-
 
27696
 
-
 
27697
  }
-
 
27698
 
-
 
27699
  public static class getOrderListForVendor_result implements org.apache.thrift.TBase<getOrderListForVendor_result, getOrderListForVendor_result._Fields>, java.io.Serializable, Cloneable   {
-
 
27700
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderListForVendor_result");
-
 
27701
 
-
 
27702
    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);
-
 
27703
 
-
 
27704
    private List<Order> success; // required
-
 
27705
 
-
 
27706
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
27707
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
27708
      SUCCESS((short)0, "success");
-
 
27709
 
-
 
27710
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
27711
 
-
 
27712
      static {
-
 
27713
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
27714
          byName.put(field.getFieldName(), field);
-
 
27715
        }
-
 
27716
      }
-
 
27717
 
-
 
27718
      /**
-
 
27719
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
27720
       */
-
 
27721
      public static _Fields findByThriftId(int fieldId) {
-
 
27722
        switch(fieldId) {
-
 
27723
          case 0: // SUCCESS
-
 
27724
            return SUCCESS;
-
 
27725
          default:
-
 
27726
            return null;
-
 
27727
        }
-
 
27728
      }
-
 
27729
 
-
 
27730
      /**
-
 
27731
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
27732
       * if it is not found.
-
 
27733
       */
-
 
27734
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
27735
        _Fields fields = findByThriftId(fieldId);
-
 
27736
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
27737
        return fields;
-
 
27738
      }
-
 
27739
 
-
 
27740
      /**
-
 
27741
       * Find the _Fields constant that matches name, or null if its not found.
-
 
27742
       */
-
 
27743
      public static _Fields findByName(String name) {
-
 
27744
        return byName.get(name);
-
 
27745
      }
-
 
27746
 
-
 
27747
      private final short _thriftId;
-
 
27748
      private final String _fieldName;
-
 
27749
 
-
 
27750
      _Fields(short thriftId, String fieldName) {
-
 
27751
        _thriftId = thriftId;
-
 
27752
        _fieldName = fieldName;
-
 
27753
      }
-
 
27754
 
-
 
27755
      public short getThriftFieldId() {
-
 
27756
        return _thriftId;
-
 
27757
      }
-
 
27758
 
-
 
27759
      public String getFieldName() {
-
 
27760
        return _fieldName;
-
 
27761
      }
-
 
27762
    }
-
 
27763
 
-
 
27764
    // isset id assignments
-
 
27765
 
-
 
27766
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
27767
    static {
-
 
27768
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
27769
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
27770
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
27771
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
27772
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
27773
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrderListForVendor_result.class, metaDataMap);
-
 
27774
    }
-
 
27775
 
-
 
27776
    public getOrderListForVendor_result() {
-
 
27777
    }
-
 
27778
 
-
 
27779
    public getOrderListForVendor_result(
-
 
27780
      List<Order> success)
-
 
27781
    {
-
 
27782
      this();
-
 
27783
      this.success = success;
-
 
27784
    }
-
 
27785
 
-
 
27786
    /**
-
 
27787
     * Performs a deep copy on <i>other</i>.
-
 
27788
     */
-
 
27789
    public getOrderListForVendor_result(getOrderListForVendor_result other) {
-
 
27790
      if (other.isSetSuccess()) {
-
 
27791
        List<Order> __this__success = new ArrayList<Order>();
-
 
27792
        for (Order other_element : other.success) {
-
 
27793
          __this__success.add(new Order(other_element));
-
 
27794
        }
-
 
27795
        this.success = __this__success;
-
 
27796
      }
-
 
27797
    }
-
 
27798
 
-
 
27799
    public getOrderListForVendor_result deepCopy() {
-
 
27800
      return new getOrderListForVendor_result(this);
-
 
27801
    }
-
 
27802
 
-
 
27803
    @Override
-
 
27804
    public void clear() {
-
 
27805
      this.success = null;
-
 
27806
    }
-
 
27807
 
-
 
27808
    public int getSuccessSize() {
-
 
27809
      return (this.success == null) ? 0 : this.success.size();
-
 
27810
    }
-
 
27811
 
-
 
27812
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
27813
      return (this.success == null) ? null : this.success.iterator();
-
 
27814
    }
-
 
27815
 
-
 
27816
    public void addToSuccess(Order elem) {
-
 
27817
      if (this.success == null) {
-
 
27818
        this.success = new ArrayList<Order>();
-
 
27819
      }
-
 
27820
      this.success.add(elem);
-
 
27821
    }
-
 
27822
 
-
 
27823
    public List<Order> getSuccess() {
-
 
27824
      return this.success;
-
 
27825
    }
-
 
27826
 
-
 
27827
    public void setSuccess(List<Order> success) {
-
 
27828
      this.success = success;
-
 
27829
    }
-
 
27830
 
-
 
27831
    public void unsetSuccess() {
-
 
27832
      this.success = null;
-
 
27833
    }
-
 
27834
 
-
 
27835
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
27836
    public boolean isSetSuccess() {
-
 
27837
      return this.success != null;
-
 
27838
    }
-
 
27839
 
-
 
27840
    public void setSuccessIsSet(boolean value) {
-
 
27841
      if (!value) {
-
 
27842
        this.success = null;
-
 
27843
      }
-
 
27844
    }
-
 
27845
 
-
 
27846
    public void setFieldValue(_Fields field, Object value) {
-
 
27847
      switch (field) {
-
 
27848
      case SUCCESS:
-
 
27849
        if (value == null) {
-
 
27850
          unsetSuccess();
-
 
27851
        } else {
-
 
27852
          setSuccess((List<Order>)value);
-
 
27853
        }
-
 
27854
        break;
-
 
27855
 
-
 
27856
      }
-
 
27857
    }
-
 
27858
 
-
 
27859
    public Object getFieldValue(_Fields field) {
-
 
27860
      switch (field) {
-
 
27861
      case SUCCESS:
-
 
27862
        return getSuccess();
-
 
27863
 
-
 
27864
      }
-
 
27865
      throw new IllegalStateException();
-
 
27866
    }
-
 
27867
 
-
 
27868
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
27869
    public boolean isSet(_Fields field) {
-
 
27870
      if (field == null) {
-
 
27871
        throw new IllegalArgumentException();
-
 
27872
      }
-
 
27873
 
-
 
27874
      switch (field) {
-
 
27875
      case SUCCESS:
-
 
27876
        return isSetSuccess();
-
 
27877
      }
-
 
27878
      throw new IllegalStateException();
-
 
27879
    }
-
 
27880
 
-
 
27881
    @Override
-
 
27882
    public boolean equals(Object that) {
-
 
27883
      if (that == null)
-
 
27884
        return false;
-
 
27885
      if (that instanceof getOrderListForVendor_result)
-
 
27886
        return this.equals((getOrderListForVendor_result)that);
-
 
27887
      return false;
-
 
27888
    }
-
 
27889
 
-
 
27890
    public boolean equals(getOrderListForVendor_result that) {
-
 
27891
      if (that == null)
-
 
27892
        return false;
-
 
27893
 
-
 
27894
      boolean this_present_success = true && this.isSetSuccess();
-
 
27895
      boolean that_present_success = true && that.isSetSuccess();
-
 
27896
      if (this_present_success || that_present_success) {
-
 
27897
        if (!(this_present_success && that_present_success))
-
 
27898
          return false;
-
 
27899
        if (!this.success.equals(that.success))
-
 
27900
          return false;
-
 
27901
      }
-
 
27902
 
-
 
27903
      return true;
-
 
27904
    }
-
 
27905
 
-
 
27906
    @Override
-
 
27907
    public int hashCode() {
-
 
27908
      return 0;
-
 
27909
    }
-
 
27910
 
-
 
27911
    public int compareTo(getOrderListForVendor_result other) {
-
 
27912
      if (!getClass().equals(other.getClass())) {
-
 
27913
        return getClass().getName().compareTo(other.getClass().getName());
-
 
27914
      }
-
 
27915
 
-
 
27916
      int lastComparison = 0;
-
 
27917
      getOrderListForVendor_result typedOther = (getOrderListForVendor_result)other;
-
 
27918
 
-
 
27919
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
27920
      if (lastComparison != 0) {
-
 
27921
        return lastComparison;
-
 
27922
      }
-
 
27923
      if (isSetSuccess()) {
-
 
27924
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
27925
        if (lastComparison != 0) {
-
 
27926
          return lastComparison;
-
 
27927
        }
-
 
27928
      }
-
 
27929
      return 0;
-
 
27930
    }
-
 
27931
 
-
 
27932
    public _Fields fieldForId(int fieldId) {
-
 
27933
      return _Fields.findByThriftId(fieldId);
-
 
27934
    }
-
 
27935
 
-
 
27936
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
27937
      org.apache.thrift.protocol.TField field;
-
 
27938
      iprot.readStructBegin();
-
 
27939
      while (true)
-
 
27940
      {
-
 
27941
        field = iprot.readFieldBegin();
-
 
27942
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
27943
          break;
-
 
27944
        }
-
 
27945
        switch (field.id) {
-
 
27946
          case 0: // SUCCESS
-
 
27947
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
27948
              {
-
 
27949
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
-
 
27950
                this.success = new ArrayList<Order>(_list108.size);
-
 
27951
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
-
 
27952
                {
-
 
27953
                  Order _elem110; // required
-
 
27954
                  _elem110 = new Order();
-
 
27955
                  _elem110.read(iprot);
-
 
27956
                  this.success.add(_elem110);
-
 
27957
                }
-
 
27958
                iprot.readListEnd();
-
 
27959
              }
-
 
27960
            } else { 
-
 
27961
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27962
            }
-
 
27963
            break;
-
 
27964
          default:
-
 
27965
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27966
        }
-
 
27967
        iprot.readFieldEnd();
-
 
27968
      }
-
 
27969
      iprot.readStructEnd();
-
 
27970
      validate();
-
 
27971
    }
-
 
27972
 
-
 
27973
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
27974
      oprot.writeStructBegin(STRUCT_DESC);
-
 
27975
 
-
 
27976
      if (this.isSetSuccess()) {
-
 
27977
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
27978
        {
-
 
27979
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
27980
          for (Order _iter111 : this.success)
-
 
27981
          {
-
 
27982
            _iter111.write(oprot);
-
 
27983
          }
-
 
27984
          oprot.writeListEnd();
-
 
27985
        }
-
 
27986
        oprot.writeFieldEnd();
-
 
27987
      }
-
 
27988
      oprot.writeFieldStop();
-
 
27989
      oprot.writeStructEnd();
-
 
27990
    }
-
 
27991
 
-
 
27992
    @Override
-
 
27993
    public String toString() {
-
 
27994
      StringBuilder sb = new StringBuilder("getOrderListForVendor_result(");
-
 
27995
      boolean first = true;
-
 
27996
 
-
 
27997
      sb.append("success:");
-
 
27998
      if (this.success == null) {
-
 
27999
        sb.append("null");
-
 
28000
      } else {
-
 
28001
        sb.append(this.success);
-
 
28002
      }
-
 
28003
      first = false;
-
 
28004
      sb.append(")");
-
 
28005
      return sb.toString();
-
 
28006
    }
-
 
28007
 
-
 
28008
    public void validate() throws org.apache.thrift.TException {
-
 
28009
      // check for required fields
-
 
28010
    }
-
 
28011
 
-
 
28012
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
28013
      try {
-
 
28014
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
28015
      } catch (org.apache.thrift.TException te) {
-
 
28016
        throw new java.io.IOException(te);
-
 
28017
      }
-
 
28018
    }
-
 
28019
 
-
 
28020
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
28021
      try {
-
 
28022
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
28023
      } catch (org.apache.thrift.TException te) {
-
 
28024
        throw new java.io.IOException(te);
-
 
28025
      }
-
 
28026
    }
-
 
28027
 
-
 
28028
  }
-
 
28029
 
27133
  public static class getOrderForCustomer_args implements org.apache.thrift.TBase<getOrderForCustomer_args, getOrderForCustomer_args._Fields>, java.io.Serializable, Cloneable   {
28030
  public static class getOrderForCustomer_args implements org.apache.thrift.TBase<getOrderForCustomer_args, getOrderForCustomer_args._Fields>, java.io.Serializable, Cloneable   {
27134
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderForCustomer_args");
28031
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderForCustomer_args");
27135
 
28032
 
27136
    private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
28033
    private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
27137
    private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)2);
28034
    private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)2);
Line 28678... Line 29575...
28678
        }
29575
        }
28679
        switch (field.id) {
29576
        switch (field.id) {
28680
          case 0: // SUCCESS
29577
          case 0: // SUCCESS
28681
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29578
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28682
              {
29579
              {
28683
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
29580
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
28684
                this.success = new ArrayList<Alert>(_list104.size);
29581
                this.success = new ArrayList<Alert>(_list112.size);
28685
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
29582
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
28686
                {
29583
                {
28687
                  Alert _elem106; // required
29584
                  Alert _elem114; // required
28688
                  _elem106 = new Alert();
29585
                  _elem114 = new Alert();
28689
                  _elem106.read(iprot);
29586
                  _elem114.read(iprot);
28690
                  this.success.add(_elem106);
29587
                  this.success.add(_elem114);
28691
                }
29588
                }
28692
                iprot.readListEnd();
29589
                iprot.readListEnd();
28693
              }
29590
              }
28694
            } else { 
29591
            } else { 
28695
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29592
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28709... Line 29606...
28709
 
29606
 
28710
      if (this.isSetSuccess()) {
29607
      if (this.isSetSuccess()) {
28711
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29608
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28712
        {
29609
        {
28713
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29610
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28714
          for (Alert _iter107 : this.success)
29611
          for (Alert _iter115 : this.success)
28715
          {
29612
          {
28716
            _iter107.write(oprot);
29613
            _iter115.write(oprot);
28717
          }
29614
          }
28718
          oprot.writeListEnd();
29615
          oprot.writeListEnd();
28719
        }
29616
        }
28720
        oprot.writeFieldEnd();
29617
        oprot.writeFieldEnd();
28721
      }
29618
      }
Line 31352... Line 32249...
31352
        }
32249
        }
31353
        switch (field.id) {
32250
        switch (field.id) {
31354
          case 0: // SUCCESS
32251
          case 0: // SUCCESS
31355
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32252
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31356
              {
32253
              {
31357
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
32254
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
31358
                this.success = new ArrayList<Double>(_list108.size);
32255
                this.success = new ArrayList<Double>(_list116.size);
31359
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
32256
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
31360
                {
32257
                {
31361
                  double _elem110; // required
32258
                  double _elem118; // required
31362
                  _elem110 = iprot.readDouble();
32259
                  _elem118 = iprot.readDouble();
31363
                  this.success.add(_elem110);
32260
                  this.success.add(_elem118);
31364
                }
32261
                }
31365
                iprot.readListEnd();
32262
                iprot.readListEnd();
31366
              }
32263
              }
31367
            } else { 
32264
            } else { 
31368
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
32265
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 31382... Line 32279...
31382
 
32279
 
31383
      if (this.isSetSuccess()) {
32280
      if (this.isSetSuccess()) {
31384
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32281
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31385
        {
32282
        {
31386
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
32283
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
31387
          for (double _iter111 : this.success)
32284
          for (double _iter119 : this.success)
31388
          {
32285
          {
31389
            oprot.writeDouble(_iter111);
32286
            oprot.writeDouble(_iter119);
31390
          }
32287
          }
31391
          oprot.writeListEnd();
32288
          oprot.writeListEnd();
31392
        }
32289
        }
31393
        oprot.writeFieldEnd();
32290
        oprot.writeFieldEnd();
31394
      }
32291
      }
Line 31974... Line 32871...
31974
        }
32871
        }
31975
        switch (field.id) {
32872
        switch (field.id) {
31976
          case 0: // SUCCESS
32873
          case 0: // SUCCESS
31977
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32874
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31978
              {
32875
              {
31979
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
32876
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
31980
                this.success = new ArrayList<Order>(_list112.size);
32877
                this.success = new ArrayList<Order>(_list120.size);
31981
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
32878
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
31982
                {
32879
                {
31983
                  Order _elem114; // required
32880
                  Order _elem122; // required
31984
                  _elem114 = new Order();
32881
                  _elem122 = new Order();
31985
                  _elem114.read(iprot);
32882
                  _elem122.read(iprot);
31986
                  this.success.add(_elem114);
32883
                  this.success.add(_elem122);
31987
                }
32884
                }
31988
                iprot.readListEnd();
32885
                iprot.readListEnd();
31989
              }
32886
              }
31990
            } else { 
32887
            } else { 
31991
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
32888
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32005... Line 32902...
32005
 
32902
 
32006
      if (this.isSetSuccess()) {
32903
      if (this.isSetSuccess()) {
32007
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32904
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32008
        {
32905
        {
32009
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
32906
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
32010
          for (Order _iter115 : this.success)
32907
          for (Order _iter123 : this.success)
32011
          {
32908
          {
32012
            _iter115.write(oprot);
32909
            _iter123.write(oprot);
32013
          }
32910
          }
32014
          oprot.writeListEnd();
32911
          oprot.writeListEnd();
32015
        }
32912
        }
32016
        oprot.writeFieldEnd();
32913
        oprot.writeFieldEnd();
32017
      }
32914
      }
Line 32665... Line 33562...
32665
        }
33562
        }
32666
        switch (field.id) {
33563
        switch (field.id) {
32667
          case 0: // SUCCESS
33564
          case 0: // SUCCESS
32668
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33565
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32669
              {
33566
              {
32670
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
33567
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
32671
                this.success = new ArrayList<Order>(_list116.size);
33568
                this.success = new ArrayList<Order>(_list124.size);
32672
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
33569
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
32673
                {
33570
                {
32674
                  Order _elem118; // required
33571
                  Order _elem126; // required
32675
                  _elem118 = new Order();
33572
                  _elem126 = new Order();
32676
                  _elem118.read(iprot);
33573
                  _elem126.read(iprot);
32677
                  this.success.add(_elem118);
33574
                  this.success.add(_elem126);
32678
                }
33575
                }
32679
                iprot.readListEnd();
33576
                iprot.readListEnd();
32680
              }
33577
              }
32681
            } else { 
33578
            } else { 
32682
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33579
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32704... Line 33601...
32704
 
33601
 
32705
      if (this.isSetSuccess()) {
33602
      if (this.isSetSuccess()) {
32706
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33603
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32707
        {
33604
        {
32708
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33605
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
32709
          for (Order _iter119 : this.success)
33606
          for (Order _iter127 : this.success)
32710
          {
33607
          {
32711
            _iter119.write(oprot);
33608
            _iter127.write(oprot);
32712
          }
33609
          }
32713
          oprot.writeListEnd();
33610
          oprot.writeListEnd();
32714
        }
33611
        }
32715
        oprot.writeFieldEnd();
33612
        oprot.writeFieldEnd();
32716
      } else if (this.isSetEx()) {
33613
      } else if (this.isSetEx()) {
Line 35753... Line 36650...
35753
      }
36650
      }
35754
    }
36651
    }
35755
 
36652
 
35756
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
36653
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
35757
      try {
36654
      try {
35758
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
35759
        __isset_bit_vector = new BitSet(1);
-
 
35760
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
36655
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
35761
      } catch (org.apache.thrift.TException te) {
36656
      } catch (org.apache.thrift.TException te) {
35762
        throw new java.io.IOException(te);
36657
        throw new java.io.IOException(te);
35763
      }
36658
      }
35764
    }
36659
    }
Line 37389... Line 38284...
37389
            }
38284
            }
37390
            break;
38285
            break;
37391
          case 4: // ORDER_IDS
38286
          case 4: // ORDER_IDS
37392
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38287
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37393
              {
38288
              {
37394
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
38289
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
37395
                this.orderIds = new ArrayList<Long>(_list120.size);
38290
                this.orderIds = new ArrayList<Long>(_list128.size);
37396
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
38291
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
37397
                {
38292
                {
37398
                  long _elem122; // required
38293
                  long _elem130; // required
37399
                  _elem122 = iprot.readI64();
38294
                  _elem130 = iprot.readI64();
37400
                  this.orderIds.add(_elem122);
38295
                  this.orderIds.add(_elem130);
37401
                }
38296
                }
37402
                iprot.readListEnd();
38297
                iprot.readListEnd();
37403
              }
38298
              }
37404
            } else { 
38299
            } else { 
37405
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38300
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37429... Line 38324...
37429
      oprot.writeFieldEnd();
38324
      oprot.writeFieldEnd();
37430
      if (this.orderIds != null) {
38325
      if (this.orderIds != null) {
37431
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
38326
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
37432
        {
38327
        {
37433
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
38328
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
37434
          for (long _iter123 : this.orderIds)
38329
          for (long _iter131 : this.orderIds)
37435
          {
38330
          {
37436
            oprot.writeI64(_iter123);
38331
            oprot.writeI64(_iter131);
37437
          }
38332
          }
37438
          oprot.writeListEnd();
38333
          oprot.writeListEnd();
37439
        }
38334
        }
37440
        oprot.writeFieldEnd();
38335
        oprot.writeFieldEnd();
37441
      }
38336
      }
Line 38206... Line 39101...
38206
            }
39101
            }
38207
            break;
39102
            break;
38208
          case 2: // PICKUP_DETAILS
39103
          case 2: // PICKUP_DETAILS
38209
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
39104
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
38210
              {
39105
              {
38211
                org.apache.thrift.protocol.TMap _map124 = iprot.readMapBegin();
39106
                org.apache.thrift.protocol.TMap _map132 = iprot.readMapBegin();
38212
                this.pickupDetails = new HashMap<String,String>(2*_map124.size);
39107
                this.pickupDetails = new HashMap<String,String>(2*_map132.size);
38213
                for (int _i125 = 0; _i125 < _map124.size; ++_i125)
39108
                for (int _i133 = 0; _i133 < _map132.size; ++_i133)
38214
                {
39109
                {
38215
                  String _key126; // required
39110
                  String _key134; // required
38216
                  String _val127; // required
39111
                  String _val135; // required
38217
                  _key126 = iprot.readString();
39112
                  _key134 = iprot.readString();
38218
                  _val127 = iprot.readString();
39113
                  _val135 = iprot.readString();
38219
                  this.pickupDetails.put(_key126, _val127);
39114
                  this.pickupDetails.put(_key134, _val135);
38220
                }
39115
                }
38221
                iprot.readMapEnd();
39116
                iprot.readMapEnd();
38222
              }
39117
              }
38223
            } else { 
39118
            } else { 
38224
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39119
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38242... Line 39137...
38242
      oprot.writeFieldEnd();
39137
      oprot.writeFieldEnd();
38243
      if (this.pickupDetails != null) {
39138
      if (this.pickupDetails != null) {
38244
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
39139
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
38245
        {
39140
        {
38246
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
39141
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
38247
          for (Map.Entry<String, String> _iter128 : this.pickupDetails.entrySet())
39142
          for (Map.Entry<String, String> _iter136 : this.pickupDetails.entrySet())
38248
          {
39143
          {
38249
            oprot.writeString(_iter128.getKey());
39144
            oprot.writeString(_iter136.getKey());
38250
            oprot.writeString(_iter128.getValue());
39145
            oprot.writeString(_iter136.getValue());
38251
          }
39146
          }
38252
          oprot.writeMapEnd();
39147
          oprot.writeMapEnd();
38253
        }
39148
        }
38254
        oprot.writeFieldEnd();
39149
        oprot.writeFieldEnd();
38255
      }
39150
      }
Line 39135... Line 40030...
39135
        }
40030
        }
39136
        switch (field.id) {
40031
        switch (field.id) {
39137
          case 0: // SUCCESS
40032
          case 0: // SUCCESS
39138
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40033
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39139
              {
40034
              {
39140
                org.apache.thrift.protocol.TList _list129 = iprot.readListBegin();
40035
                org.apache.thrift.protocol.TList _list137 = iprot.readListBegin();
39141
                this.success = new ArrayList<Order>(_list129.size);
40036
                this.success = new ArrayList<Order>(_list137.size);
39142
                for (int _i130 = 0; _i130 < _list129.size; ++_i130)
40037
                for (int _i138 = 0; _i138 < _list137.size; ++_i138)
39143
                {
40038
                {
39144
                  Order _elem131; // required
40039
                  Order _elem139; // required
39145
                  _elem131 = new Order();
40040
                  _elem139 = new Order();
39146
                  _elem131.read(iprot);
40041
                  _elem139.read(iprot);
39147
                  this.success.add(_elem131);
40042
                  this.success.add(_elem139);
39148
                }
40043
                }
39149
                iprot.readListEnd();
40044
                iprot.readListEnd();
39150
              }
40045
              }
39151
            } else { 
40046
            } else { 
39152
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40047
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39166... Line 40061...
39166
 
40061
 
39167
      if (this.isSetSuccess()) {
40062
      if (this.isSetSuccess()) {
39168
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40063
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39169
        {
40064
        {
39170
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40065
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39171
          for (Order _iter132 : this.success)
40066
          for (Order _iter140 : this.success)
39172
          {
40067
          {
39173
            _iter132.write(oprot);
40068
            _iter140.write(oprot);
39174
          }
40069
          }
39175
          oprot.writeListEnd();
40070
          oprot.writeListEnd();
39176
        }
40071
        }
39177
        oprot.writeFieldEnd();
40072
        oprot.writeFieldEnd();
39178
      }
40073
      }
Line 39550... Line 40445...
39550
            }
40445
            }
39551
            break;
40446
            break;
39552
          case 2: // DELIVERED_ORDERS
40447
          case 2: // DELIVERED_ORDERS
39553
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
40448
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
39554
              {
40449
              {
39555
                org.apache.thrift.protocol.TMap _map133 = iprot.readMapBegin();
40450
                org.apache.thrift.protocol.TMap _map141 = iprot.readMapBegin();
39556
                this.deliveredOrders = new HashMap<String,String>(2*_map133.size);
40451
                this.deliveredOrders = new HashMap<String,String>(2*_map141.size);
39557
                for (int _i134 = 0; _i134 < _map133.size; ++_i134)
40452
                for (int _i142 = 0; _i142 < _map141.size; ++_i142)
39558
                {
40453
                {
39559
                  String _key135; // required
40454
                  String _key143; // required
39560
                  String _val136; // required
40455
                  String _val144; // required
39561
                  _key135 = iprot.readString();
40456
                  _key143 = iprot.readString();
39562
                  _val136 = iprot.readString();
40457
                  _val144 = iprot.readString();
39563
                  this.deliveredOrders.put(_key135, _val136);
40458
                  this.deliveredOrders.put(_key143, _val144);
39564
                }
40459
                }
39565
                iprot.readMapEnd();
40460
                iprot.readMapEnd();
39566
              }
40461
              }
39567
            } else { 
40462
            } else { 
39568
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40463
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39586... Line 40481...
39586
      oprot.writeFieldEnd();
40481
      oprot.writeFieldEnd();
39587
      if (this.deliveredOrders != null) {
40482
      if (this.deliveredOrders != null) {
39588
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
40483
        oprot.writeFieldBegin(DELIVERED_ORDERS_FIELD_DESC);
39589
        {
40484
        {
39590
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
40485
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.deliveredOrders.size()));
39591
          for (Map.Entry<String, String> _iter137 : this.deliveredOrders.entrySet())
40486
          for (Map.Entry<String, String> _iter145 : this.deliveredOrders.entrySet())
39592
          {
40487
          {
39593
            oprot.writeString(_iter137.getKey());
40488
            oprot.writeString(_iter145.getKey());
39594
            oprot.writeString(_iter137.getValue());
40489
            oprot.writeString(_iter145.getValue());
39595
          }
40490
          }
39596
          oprot.writeMapEnd();
40491
          oprot.writeMapEnd();
39597
        }
40492
        }
39598
        oprot.writeFieldEnd();
40493
        oprot.writeFieldEnd();
39599
      }
40494
      }
Line 40269... Line 41164...
40269
            }
41164
            }
40270
            break;
41165
            break;
40271
          case 2: // RETURNED_ORDERS
41166
          case 2: // RETURNED_ORDERS
40272
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41167
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
40273
              {
41168
              {
40274
                org.apache.thrift.protocol.TMap _map138 = iprot.readMapBegin();
41169
                org.apache.thrift.protocol.TMap _map146 = iprot.readMapBegin();
40275
                this.returnedOrders = new HashMap<String,String>(2*_map138.size);
41170
                this.returnedOrders = new HashMap<String,String>(2*_map146.size);
40276
                for (int _i139 = 0; _i139 < _map138.size; ++_i139)
41171
                for (int _i147 = 0; _i147 < _map146.size; ++_i147)
40277
                {
41172
                {
40278
                  String _key140; // required
41173
                  String _key148; // required
40279
                  String _val141; // required
41174
                  String _val149; // required
40280
                  _key140 = iprot.readString();
41175
                  _key148 = iprot.readString();
40281
                  _val141 = iprot.readString();
41176
                  _val149 = iprot.readString();
40282
                  this.returnedOrders.put(_key140, _val141);
41177
                  this.returnedOrders.put(_key148, _val149);
40283
                }
41178
                }
40284
                iprot.readMapEnd();
41179
                iprot.readMapEnd();
40285
              }
41180
              }
40286
            } else { 
41181
            } else { 
40287
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41182
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40305... Line 41200...
40305
      oprot.writeFieldEnd();
41200
      oprot.writeFieldEnd();
40306
      if (this.returnedOrders != null) {
41201
      if (this.returnedOrders != null) {
40307
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
41202
        oprot.writeFieldBegin(RETURNED_ORDERS_FIELD_DESC);
40308
        {
41203
        {
40309
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
41204
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.returnedOrders.size()));
40310
          for (Map.Entry<String, String> _iter142 : this.returnedOrders.entrySet())
41205
          for (Map.Entry<String, String> _iter150 : this.returnedOrders.entrySet())
40311
          {
41206
          {
40312
            oprot.writeString(_iter142.getKey());
41207
            oprot.writeString(_iter150.getKey());
40313
            oprot.writeString(_iter142.getValue());
41208
            oprot.writeString(_iter150.getValue());
40314
          }
41209
          }
40315
          oprot.writeMapEnd();
41210
          oprot.writeMapEnd();
40316
        }
41211
        }
40317
        oprot.writeFieldEnd();
41212
        oprot.writeFieldEnd();
40318
      }
41213
      }
Line 41198... Line 42093...
41198
        }
42093
        }
41199
        switch (field.id) {
42094
        switch (field.id) {
41200
          case 0: // SUCCESS
42095
          case 0: // SUCCESS
41201
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42096
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41202
              {
42097
              {
41203
                org.apache.thrift.protocol.TList _list143 = iprot.readListBegin();
42098
                org.apache.thrift.protocol.TList _list151 = iprot.readListBegin();
41204
                this.success = new ArrayList<Order>(_list143.size);
42099
                this.success = new ArrayList<Order>(_list151.size);
41205
                for (int _i144 = 0; _i144 < _list143.size; ++_i144)
42100
                for (int _i152 = 0; _i152 < _list151.size; ++_i152)
41206
                {
42101
                {
41207
                  Order _elem145; // required
42102
                  Order _elem153; // required
41208
                  _elem145 = new Order();
42103
                  _elem153 = new Order();
41209
                  _elem145.read(iprot);
42104
                  _elem153.read(iprot);
41210
                  this.success.add(_elem145);
42105
                  this.success.add(_elem153);
41211
                }
42106
                }
41212
                iprot.readListEnd();
42107
                iprot.readListEnd();
41213
              }
42108
              }
41214
            } else { 
42109
            } else { 
41215
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42110
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41229... Line 42124...
41229
 
42124
 
41230
      if (this.isSetSuccess()) {
42125
      if (this.isSetSuccess()) {
41231
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42126
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41232
        {
42127
        {
41233
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42128
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41234
          for (Order _iter146 : this.success)
42129
          for (Order _iter154 : this.success)
41235
          {
42130
          {
41236
            _iter146.write(oprot);
42131
            _iter154.write(oprot);
41237
          }
42132
          }
41238
          oprot.writeListEnd();
42133
          oprot.writeListEnd();
41239
        }
42134
        }
41240
        oprot.writeFieldEnd();
42135
        oprot.writeFieldEnd();
41241
      }
42136
      }
Line 41613... Line 42508...
41613
            }
42508
            }
41614
            break;
42509
            break;
41615
          case 2: // UNDELIVERED_ORDERS
42510
          case 2: // UNDELIVERED_ORDERS
41616
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42511
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
41617
              {
42512
              {
41618
                org.apache.thrift.protocol.TMap _map147 = iprot.readMapBegin();
42513
                org.apache.thrift.protocol.TMap _map155 = iprot.readMapBegin();
41619
                this.undeliveredOrders = new HashMap<String,String>(2*_map147.size);
42514
                this.undeliveredOrders = new HashMap<String,String>(2*_map155.size);
41620
                for (int _i148 = 0; _i148 < _map147.size; ++_i148)
42515
                for (int _i156 = 0; _i156 < _map155.size; ++_i156)
41621
                {
42516
                {
41622
                  String _key149; // required
42517
                  String _key157; // required
41623
                  String _val150; // required
42518
                  String _val158; // required
41624
                  _key149 = iprot.readString();
42519
                  _key157 = iprot.readString();
41625
                  _val150 = iprot.readString();
42520
                  _val158 = iprot.readString();
41626
                  this.undeliveredOrders.put(_key149, _val150);
42521
                  this.undeliveredOrders.put(_key157, _val158);
41627
                }
42522
                }
41628
                iprot.readMapEnd();
42523
                iprot.readMapEnd();
41629
              }
42524
              }
41630
            } else { 
42525
            } else { 
41631
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42526
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41649... Line 42544...
41649
      oprot.writeFieldEnd();
42544
      oprot.writeFieldEnd();
41650
      if (this.undeliveredOrders != null) {
42545
      if (this.undeliveredOrders != null) {
41651
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
42546
        oprot.writeFieldBegin(UNDELIVERED_ORDERS_FIELD_DESC);
41652
        {
42547
        {
41653
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
42548
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.undeliveredOrders.size()));
41654
          for (Map.Entry<String, String> _iter151 : this.undeliveredOrders.entrySet())
42549
          for (Map.Entry<String, String> _iter159 : this.undeliveredOrders.entrySet())
41655
          {
42550
          {
41656
            oprot.writeString(_iter151.getKey());
42551
            oprot.writeString(_iter159.getKey());
41657
            oprot.writeString(_iter151.getValue());
42552
            oprot.writeString(_iter159.getValue());
41658
          }
42553
          }
41659
          oprot.writeMapEnd();
42554
          oprot.writeMapEnd();
41660
        }
42555
        }
41661
        oprot.writeFieldEnd();
42556
        oprot.writeFieldEnd();
41662
      }
42557
      }
Line 42542... Line 43437...
42542
        }
43437
        }
42543
        switch (field.id) {
43438
        switch (field.id) {
42544
          case 0: // SUCCESS
43439
          case 0: // SUCCESS
42545
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43440
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42546
              {
43441
              {
42547
                org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
43442
                org.apache.thrift.protocol.TList _list160 = iprot.readListBegin();
42548
                this.success = new ArrayList<Order>(_list152.size);
43443
                this.success = new ArrayList<Order>(_list160.size);
42549
                for (int _i153 = 0; _i153 < _list152.size; ++_i153)
43444
                for (int _i161 = 0; _i161 < _list160.size; ++_i161)
42550
                {
43445
                {
42551
                  Order _elem154; // required
43446
                  Order _elem162; // required
42552
                  _elem154 = new Order();
43447
                  _elem162 = new Order();
42553
                  _elem154.read(iprot);
43448
                  _elem162.read(iprot);
42554
                  this.success.add(_elem154);
43449
                  this.success.add(_elem162);
42555
                }
43450
                }
42556
                iprot.readListEnd();
43451
                iprot.readListEnd();
42557
              }
43452
              }
42558
            } else { 
43453
            } else { 
42559
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43454
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42573... Line 43468...
42573
 
43468
 
42574
      if (this.isSetSuccess()) {
43469
      if (this.isSetSuccess()) {
42575
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43470
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42576
        {
43471
        {
42577
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43472
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42578
          for (Order _iter155 : this.success)
43473
          for (Order _iter163 : this.success)
42579
          {
43474
          {
42580
            _iter155.write(oprot);
43475
            _iter163.write(oprot);
42581
          }
43476
          }
42582
          oprot.writeListEnd();
43477
          oprot.writeListEnd();
42583
        }
43478
        }
42584
        oprot.writeFieldEnd();
43479
        oprot.writeFieldEnd();
42585
      }
43480
      }
Line 42957... Line 43852...
42957
            }
43852
            }
42958
            break;
43853
            break;
42959
          case 2: // LOCAL_CONNECTED_ORDERS
43854
          case 2: // LOCAL_CONNECTED_ORDERS
42960
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43855
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42961
              {
43856
              {
42962
                org.apache.thrift.protocol.TMap _map156 = iprot.readMapBegin();
43857
                org.apache.thrift.protocol.TMap _map164 = iprot.readMapBegin();
42963
                this.local_connected_orders = new HashMap<String,String>(2*_map156.size);
43858
                this.local_connected_orders = new HashMap<String,String>(2*_map164.size);
42964
                for (int _i157 = 0; _i157 < _map156.size; ++_i157)
43859
                for (int _i165 = 0; _i165 < _map164.size; ++_i165)
42965
                {
43860
                {
42966
                  String _key158; // required
43861
                  String _key166; // required
42967
                  String _val159; // required
43862
                  String _val167; // required
42968
                  _key158 = iprot.readString();
43863
                  _key166 = iprot.readString();
42969
                  _val159 = iprot.readString();
43864
                  _val167 = iprot.readString();
42970
                  this.local_connected_orders.put(_key158, _val159);
43865
                  this.local_connected_orders.put(_key166, _val167);
42971
                }
43866
                }
42972
                iprot.readMapEnd();
43867
                iprot.readMapEnd();
42973
              }
43868
              }
42974
            } else { 
43869
            } else { 
42975
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43870
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42993... Line 43888...
42993
      oprot.writeFieldEnd();
43888
      oprot.writeFieldEnd();
42994
      if (this.local_connected_orders != null) {
43889
      if (this.local_connected_orders != null) {
42995
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
43890
        oprot.writeFieldBegin(LOCAL_CONNECTED_ORDERS_FIELD_DESC);
42996
        {
43891
        {
42997
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.local_connected_orders.size()));
43892
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.local_connected_orders.size()));
42998
          for (Map.Entry<String, String> _iter160 : this.local_connected_orders.entrySet())
43893
          for (Map.Entry<String, String> _iter168 : this.local_connected_orders.entrySet())
42999
          {
43894
          {
43000
            oprot.writeString(_iter160.getKey());
43895
            oprot.writeString(_iter168.getKey());
43001
            oprot.writeString(_iter160.getValue());
43896
            oprot.writeString(_iter168.getValue());
43002
          }
43897
          }
43003
          oprot.writeMapEnd();
43898
          oprot.writeMapEnd();
43004
        }
43899
        }
43005
        oprot.writeFieldEnd();
43900
        oprot.writeFieldEnd();
43006
      }
43901
      }
Line 43886... Line 44781...
43886
        }
44781
        }
43887
        switch (field.id) {
44782
        switch (field.id) {
43888
          case 0: // SUCCESS
44783
          case 0: // SUCCESS
43889
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44784
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43890
              {
44785
              {
43891
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
44786
                org.apache.thrift.protocol.TList _list169 = iprot.readListBegin();
43892
                this.success = new ArrayList<Order>(_list161.size);
44787
                this.success = new ArrayList<Order>(_list169.size);
43893
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
44788
                for (int _i170 = 0; _i170 < _list169.size; ++_i170)
43894
                {
44789
                {
43895
                  Order _elem163; // required
44790
                  Order _elem171; // required
43896
                  _elem163 = new Order();
44791
                  _elem171 = new Order();
43897
                  _elem163.read(iprot);
44792
                  _elem171.read(iprot);
43898
                  this.success.add(_elem163);
44793
                  this.success.add(_elem171);
43899
                }
44794
                }
43900
                iprot.readListEnd();
44795
                iprot.readListEnd();
43901
              }
44796
              }
43902
            } else { 
44797
            } else { 
43903
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44798
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43917... Line 44812...
43917
 
44812
 
43918
      if (this.isSetSuccess()) {
44813
      if (this.isSetSuccess()) {
43919
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44814
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43920
        {
44815
        {
43921
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44816
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43922
          for (Order _iter164 : this.success)
44817
          for (Order _iter172 : this.success)
43923
          {
44818
          {
43924
            _iter164.write(oprot);
44819
            _iter172.write(oprot);
43925
          }
44820
          }
43926
          oprot.writeListEnd();
44821
          oprot.writeListEnd();
43927
        }
44822
        }
43928
        oprot.writeFieldEnd();
44823
        oprot.writeFieldEnd();
43929
      }
44824
      }
Line 44301... Line 45196...
44301
            }
45196
            }
44302
            break;
45197
            break;
44303
          case 2: // DESTINATION_CITY_REACHED_ORDERS
45198
          case 2: // DESTINATION_CITY_REACHED_ORDERS
44304
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45199
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
44305
              {
45200
              {
44306
                org.apache.thrift.protocol.TMap _map165 = iprot.readMapBegin();
45201
                org.apache.thrift.protocol.TMap _map173 = iprot.readMapBegin();
44307
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map165.size);
45202
                this.destination_city_reached_orders = new HashMap<String,String>(2*_map173.size);
44308
                for (int _i166 = 0; _i166 < _map165.size; ++_i166)
45203
                for (int _i174 = 0; _i174 < _map173.size; ++_i174)
44309
                {
45204
                {
44310
                  String _key167; // required
45205
                  String _key175; // required
44311
                  String _val168; // required
45206
                  String _val176; // required
44312
                  _key167 = iprot.readString();
45207
                  _key175 = iprot.readString();
44313
                  _val168 = iprot.readString();
45208
                  _val176 = iprot.readString();
44314
                  this.destination_city_reached_orders.put(_key167, _val168);
45209
                  this.destination_city_reached_orders.put(_key175, _val176);
44315
                }
45210
                }
44316
                iprot.readMapEnd();
45211
                iprot.readMapEnd();
44317
              }
45212
              }
44318
            } else { 
45213
            } else { 
44319
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45214
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44337... Line 45232...
44337
      oprot.writeFieldEnd();
45232
      oprot.writeFieldEnd();
44338
      if (this.destination_city_reached_orders != null) {
45233
      if (this.destination_city_reached_orders != null) {
44339
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
45234
        oprot.writeFieldBegin(DESTINATION_CITY_REACHED_ORDERS_FIELD_DESC);
44340
        {
45235
        {
44341
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.destination_city_reached_orders.size()));
45236
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.destination_city_reached_orders.size()));
44342
          for (Map.Entry<String, String> _iter169 : this.destination_city_reached_orders.entrySet())
45237
          for (Map.Entry<String, String> _iter177 : this.destination_city_reached_orders.entrySet())
44343
          {
45238
          {
44344
            oprot.writeString(_iter169.getKey());
45239
            oprot.writeString(_iter177.getKey());
44345
            oprot.writeString(_iter169.getValue());
45240
            oprot.writeString(_iter177.getValue());
44346
          }
45241
          }
44347
          oprot.writeMapEnd();
45242
          oprot.writeMapEnd();
44348
        }
45243
        }
44349
        oprot.writeFieldEnd();
45244
        oprot.writeFieldEnd();
44350
      }
45245
      }
Line 45020... Line 45915...
45020
            }
45915
            }
45021
            break;
45916
            break;
45022
          case 2: // FIRST_ATDL_ORDERS
45917
          case 2: // FIRST_ATDL_ORDERS
45023
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45918
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
45024
              {
45919
              {
45025
                org.apache.thrift.protocol.TMap _map170 = iprot.readMapBegin();
45920
                org.apache.thrift.protocol.TMap _map178 = iprot.readMapBegin();
45026
                this.first_atdl_orders = new HashMap<String,String>(2*_map170.size);
45921
                this.first_atdl_orders = new HashMap<String,String>(2*_map178.size);
45027
                for (int _i171 = 0; _i171 < _map170.size; ++_i171)
45922
                for (int _i179 = 0; _i179 < _map178.size; ++_i179)
45028
                {
45923
                {
45029
                  String _key172; // required
45924
                  String _key180; // required
45030
                  String _val173; // required
45925
                  String _val181; // required
45031
                  _key172 = iprot.readString();
45926
                  _key180 = iprot.readString();
45032
                  _val173 = iprot.readString();
45927
                  _val181 = iprot.readString();
45033
                  this.first_atdl_orders.put(_key172, _val173);
45928
                  this.first_atdl_orders.put(_key180, _val181);
45034
                }
45929
                }
45035
                iprot.readMapEnd();
45930
                iprot.readMapEnd();
45036
              }
45931
              }
45037
            } else { 
45932
            } else { 
45038
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45933
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45056... Line 45951...
45056
      oprot.writeFieldEnd();
45951
      oprot.writeFieldEnd();
45057
      if (this.first_atdl_orders != null) {
45952
      if (this.first_atdl_orders != null) {
45058
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
45953
        oprot.writeFieldBegin(FIRST_ATDL_ORDERS_FIELD_DESC);
45059
        {
45954
        {
45060
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.first_atdl_orders.size()));
45955
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.first_atdl_orders.size()));
45061
          for (Map.Entry<String, String> _iter174 : this.first_atdl_orders.entrySet())
45956
          for (Map.Entry<String, String> _iter182 : this.first_atdl_orders.entrySet())
45062
          {
45957
          {
45063
            oprot.writeString(_iter174.getKey());
45958
            oprot.writeString(_iter182.getKey());
45064
            oprot.writeString(_iter174.getValue());
45959
            oprot.writeString(_iter182.getValue());
45065
          }
45960
          }
45066
          oprot.writeMapEnd();
45961
          oprot.writeMapEnd();
45067
        }
45962
        }
45068
        oprot.writeFieldEnd();
45963
        oprot.writeFieldEnd();
45069
      }
45964
      }
Line 46030... Line 46925...
46030
        }
46925
        }
46031
        switch (field.id) {
46926
        switch (field.id) {
46032
          case 0: // SUCCESS
46927
          case 0: // SUCCESS
46033
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46928
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46034
              {
46929
              {
46035
                org.apache.thrift.protocol.TList _list175 = iprot.readListBegin();
46930
                org.apache.thrift.protocol.TList _list183 = iprot.readListBegin();
46036
                this.success = new ArrayList<Order>(_list175.size);
46931
                this.success = new ArrayList<Order>(_list183.size);
46037
                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
46932
                for (int _i184 = 0; _i184 < _list183.size; ++_i184)
46038
                {
46933
                {
46039
                  Order _elem177; // required
46934
                  Order _elem185; // required
46040
                  _elem177 = new Order();
46935
                  _elem185 = new Order();
46041
                  _elem177.read(iprot);
46936
                  _elem185.read(iprot);
46042
                  this.success.add(_elem177);
46937
                  this.success.add(_elem185);
46043
                }
46938
                }
46044
                iprot.readListEnd();
46939
                iprot.readListEnd();
46045
              }
46940
              }
46046
            } else { 
46941
            } else { 
46047
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46942
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46061... Line 46956...
46061
 
46956
 
46062
      if (this.isSetSuccess()) {
46957
      if (this.isSetSuccess()) {
46063
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46958
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46064
        {
46959
        {
46065
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46960
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46066
          for (Order _iter178 : this.success)
46961
          for (Order _iter186 : this.success)
46067
          {
46962
          {
46068
            _iter178.write(oprot);
46963
            _iter186.write(oprot);
46069
          }
46964
          }
46070
          oprot.writeListEnd();
46965
          oprot.writeListEnd();
46071
        }
46966
        }
46072
        oprot.writeFieldEnd();
46967
        oprot.writeFieldEnd();
46073
      }
46968
      }
Line 46561... Line 47456...
46561
        }
47456
        }
46562
        switch (field.id) {
47457
        switch (field.id) {
46563
          case 0: // SUCCESS
47458
          case 0: // SUCCESS
46564
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47459
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46565
              {
47460
              {
46566
                org.apache.thrift.protocol.TList _list179 = iprot.readListBegin();
47461
                org.apache.thrift.protocol.TList _list187 = iprot.readListBegin();
46567
                this.success = new ArrayList<Order>(_list179.size);
47462
                this.success = new ArrayList<Order>(_list187.size);
46568
                for (int _i180 = 0; _i180 < _list179.size; ++_i180)
47463
                for (int _i188 = 0; _i188 < _list187.size; ++_i188)
46569
                {
47464
                {
46570
                  Order _elem181; // required
47465
                  Order _elem189; // required
46571
                  _elem181 = new Order();
47466
                  _elem189 = new Order();
46572
                  _elem181.read(iprot);
47467
                  _elem189.read(iprot);
46573
                  this.success.add(_elem181);
47468
                  this.success.add(_elem189);
46574
                }
47469
                }
46575
                iprot.readListEnd();
47470
                iprot.readListEnd();
46576
              }
47471
              }
46577
            } else { 
47472
            } else { 
46578
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47473
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46592... Line 47487...
46592
 
47487
 
46593
      if (this.isSetSuccess()) {
47488
      if (this.isSetSuccess()) {
46594
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47489
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46595
        {
47490
        {
46596
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47491
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46597
          for (Order _iter182 : this.success)
47492
          for (Order _iter190 : this.success)
46598
          {
47493
          {
46599
            _iter182.write(oprot);
47494
            _iter190.write(oprot);
46600
          }
47495
          }
46601
          oprot.writeListEnd();
47496
          oprot.writeListEnd();
46602
        }
47497
        }
46603
        oprot.writeFieldEnd();
47498
        oprot.writeFieldEnd();
46604
      }
47499
      }
Line 52870... Line 53765...
52870
            }
53765
            }
52871
            break;
53766
            break;
52872
          case 2: // PICKUP_DETAILS
53767
          case 2: // PICKUP_DETAILS
52873
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
53768
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
52874
              {
53769
              {
52875
                org.apache.thrift.protocol.TMap _map183 = iprot.readMapBegin();
53770
                org.apache.thrift.protocol.TMap _map191 = iprot.readMapBegin();
52876
                this.pickupDetails = new HashMap<String,String>(2*_map183.size);
53771
                this.pickupDetails = new HashMap<String,String>(2*_map191.size);
52877
                for (int _i184 = 0; _i184 < _map183.size; ++_i184)
53772
                for (int _i192 = 0; _i192 < _map191.size; ++_i192)
52878
                {
53773
                {
52879
                  String _key185; // required
53774
                  String _key193; // required
52880
                  String _val186; // required
53775
                  String _val194; // required
52881
                  _key185 = iprot.readString();
53776
                  _key193 = iprot.readString();
52882
                  _val186 = iprot.readString();
53777
                  _val194 = iprot.readString();
52883
                  this.pickupDetails.put(_key185, _val186);
53778
                  this.pickupDetails.put(_key193, _val194);
52884
                }
53779
                }
52885
                iprot.readMapEnd();
53780
                iprot.readMapEnd();
52886
              }
53781
              }
52887
            } else { 
53782
            } else { 
52888
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53783
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52906... Line 53801...
52906
      oprot.writeFieldEnd();
53801
      oprot.writeFieldEnd();
52907
      if (this.pickupDetails != null) {
53802
      if (this.pickupDetails != null) {
52908
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
53803
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
52909
        {
53804
        {
52910
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
53805
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
52911
          for (Map.Entry<String, String> _iter187 : this.pickupDetails.entrySet())
53806
          for (Map.Entry<String, String> _iter195 : this.pickupDetails.entrySet())
52912
          {
53807
          {
52913
            oprot.writeString(_iter187.getKey());
53808
            oprot.writeString(_iter195.getKey());
52914
            oprot.writeString(_iter187.getValue());
53809
            oprot.writeString(_iter195.getValue());
52915
          }
53810
          }
52916
          oprot.writeMapEnd();
53811
          oprot.writeMapEnd();
52917
        }
53812
        }
52918
        oprot.writeFieldEnd();
53813
        oprot.writeFieldEnd();
52919
      }
53814
      }
Line 53702... Line 54597...
53702
        }
54597
        }
53703
        switch (field.id) {
54598
        switch (field.id) {
53704
          case 0: // SUCCESS
54599
          case 0: // SUCCESS
53705
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54600
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53706
              {
54601
              {
53707
                org.apache.thrift.protocol.TList _list188 = iprot.readListBegin();
54602
                org.apache.thrift.protocol.TList _list196 = iprot.readListBegin();
53708
                this.success = new ArrayList<Order>(_list188.size);
54603
                this.success = new ArrayList<Order>(_list196.size);
53709
                for (int _i189 = 0; _i189 < _list188.size; ++_i189)
54604
                for (int _i197 = 0; _i197 < _list196.size; ++_i197)
53710
                {
54605
                {
53711
                  Order _elem190; // required
54606
                  Order _elem198; // required
53712
                  _elem190 = new Order();
54607
                  _elem198 = new Order();
53713
                  _elem190.read(iprot);
54608
                  _elem198.read(iprot);
53714
                  this.success.add(_elem190);
54609
                  this.success.add(_elem198);
53715
                }
54610
                }
53716
                iprot.readListEnd();
54611
                iprot.readListEnd();
53717
              }
54612
              }
53718
            } else { 
54613
            } else { 
53719
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54614
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53733... Line 54628...
53733
 
54628
 
53734
      if (this.isSetSuccess()) {
54629
      if (this.isSetSuccess()) {
53735
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54630
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53736
        {
54631
        {
53737
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54632
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53738
          for (Order _iter191 : this.success)
54633
          for (Order _iter199 : this.success)
53739
          {
54634
          {
53740
            _iter191.write(oprot);
54635
            _iter199.write(oprot);
53741
          }
54636
          }
53742
          oprot.writeListEnd();
54637
          oprot.writeListEnd();
53743
        }
54638
        }
53744
        oprot.writeFieldEnd();
54639
        oprot.writeFieldEnd();
53745
      }
54640
      }
Line 54117... Line 55012...
54117
            }
55012
            }
54118
            break;
55013
            break;
54119
          case 2: // PICKUP_DETAILS
55014
          case 2: // PICKUP_DETAILS
54120
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
55015
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
54121
              {
55016
              {
54122
                org.apache.thrift.protocol.TMap _map192 = iprot.readMapBegin();
55017
                org.apache.thrift.protocol.TMap _map200 = iprot.readMapBegin();
54123
                this.pickupDetails = new HashMap<String,String>(2*_map192.size);
55018
                this.pickupDetails = new HashMap<String,String>(2*_map200.size);
54124
                for (int _i193 = 0; _i193 < _map192.size; ++_i193)
55019
                for (int _i201 = 0; _i201 < _map200.size; ++_i201)
54125
                {
55020
                {
54126
                  String _key194; // required
55021
                  String _key202; // required
54127
                  String _val195; // required
55022
                  String _val203; // required
54128
                  _key194 = iprot.readString();
55023
                  _key202 = iprot.readString();
54129
                  _val195 = iprot.readString();
55024
                  _val203 = iprot.readString();
54130
                  this.pickupDetails.put(_key194, _val195);
55025
                  this.pickupDetails.put(_key202, _val203);
54131
                }
55026
                }
54132
                iprot.readMapEnd();
55027
                iprot.readMapEnd();
54133
              }
55028
              }
54134
            } else { 
55029
            } else { 
54135
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55030
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54153... Line 55048...
54153
      oprot.writeFieldEnd();
55048
      oprot.writeFieldEnd();
54154
      if (this.pickupDetails != null) {
55049
      if (this.pickupDetails != null) {
54155
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
55050
        oprot.writeFieldBegin(PICKUP_DETAILS_FIELD_DESC);
54156
        {
55051
        {
54157
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
55052
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.pickupDetails.size()));
54158
          for (Map.Entry<String, String> _iter196 : this.pickupDetails.entrySet())
55053
          for (Map.Entry<String, String> _iter204 : this.pickupDetails.entrySet())
54159
          {
55054
          {
54160
            oprot.writeString(_iter196.getKey());
55055
            oprot.writeString(_iter204.getKey());
54161
            oprot.writeString(_iter196.getValue());
55056
            oprot.writeString(_iter204.getValue());
54162
          }
55057
          }
54163
          oprot.writeMapEnd();
55058
          oprot.writeMapEnd();
54164
        }
55059
        }
54165
        oprot.writeFieldEnd();
55060
        oprot.writeFieldEnd();
54166
      }
55061
      }
Line 54949... Line 55844...
54949
        }
55844
        }
54950
        switch (field.id) {
55845
        switch (field.id) {
54951
          case 0: // SUCCESS
55846
          case 0: // SUCCESS
54952
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55847
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54953
              {
55848
              {
54954
                org.apache.thrift.protocol.TList _list197 = iprot.readListBegin();
55849
                org.apache.thrift.protocol.TList _list205 = iprot.readListBegin();
54955
                this.success = new ArrayList<Order>(_list197.size);
55850
                this.success = new ArrayList<Order>(_list205.size);
54956
                for (int _i198 = 0; _i198 < _list197.size; ++_i198)
55851
                for (int _i206 = 0; _i206 < _list205.size; ++_i206)
54957
                {
55852
                {
54958
                  Order _elem199; // required
55853
                  Order _elem207; // required
54959
                  _elem199 = new Order();
55854
                  _elem207 = new Order();
54960
                  _elem199.read(iprot);
55855
                  _elem207.read(iprot);
54961
                  this.success.add(_elem199);
55856
                  this.success.add(_elem207);
54962
                }
55857
                }
54963
                iprot.readListEnd();
55858
                iprot.readListEnd();
54964
              }
55859
              }
54965
            } else { 
55860
            } else { 
54966
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55861
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54980... Line 55875...
54980
 
55875
 
54981
      if (this.isSetSuccess()) {
55876
      if (this.isSetSuccess()) {
54982
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55877
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54983
        {
55878
        {
54984
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55879
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54985
          for (Order _iter200 : this.success)
55880
          for (Order _iter208 : this.success)
54986
          {
55881
          {
54987
            _iter200.write(oprot);
55882
            _iter208.write(oprot);
54988
          }
55883
          }
54989
          oprot.writeListEnd();
55884
          oprot.writeListEnd();
54990
        }
55885
        }
54991
        oprot.writeFieldEnd();
55886
        oprot.writeFieldEnd();
54992
      }
55887
      }
Line 57582... Line 58477...
57582
      }
58477
      }
57583
    }
58478
    }
57584
 
58479
 
57585
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
58480
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
57586
      try {
58481
      try {
57587
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
57588
        __isset_bit_vector = new BitSet(1);
-
 
57589
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
58482
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
57590
      } catch (org.apache.thrift.TException te) {
58483
      } catch (org.apache.thrift.TException te) {
57591
        throw new java.io.IOException(te);
58484
        throw new java.io.IOException(te);
57592
      }
58485
      }
57593
    }
58486
    }
Line 59530... Line 60423...
59530
        }
60423
        }
59531
        switch (field.id) {
60424
        switch (field.id) {
59532
          case 0: // SUCCESS
60425
          case 0: // SUCCESS
59533
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60426
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59534
              {
60427
              {
59535
                org.apache.thrift.protocol.TList _list201 = iprot.readListBegin();
60428
                org.apache.thrift.protocol.TList _list209 = iprot.readListBegin();
59536
                this.success = new ArrayList<ReturnOrder>(_list201.size);
60429
                this.success = new ArrayList<ReturnOrder>(_list209.size);
59537
                for (int _i202 = 0; _i202 < _list201.size; ++_i202)
60430
                for (int _i210 = 0; _i210 < _list209.size; ++_i210)
59538
                {
60431
                {
59539
                  ReturnOrder _elem203; // required
60432
                  ReturnOrder _elem211; // required
59540
                  _elem203 = new ReturnOrder();
60433
                  _elem211 = new ReturnOrder();
59541
                  _elem203.read(iprot);
60434
                  _elem211.read(iprot);
59542
                  this.success.add(_elem203);
60435
                  this.success.add(_elem211);
59543
                }
60436
                }
59544
                iprot.readListEnd();
60437
                iprot.readListEnd();
59545
              }
60438
              }
59546
            } else { 
60439
            } else { 
59547
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60440
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59561... Line 60454...
59561
 
60454
 
59562
      if (this.isSetSuccess()) {
60455
      if (this.isSetSuccess()) {
59563
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60456
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59564
        {
60457
        {
59565
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60458
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59566
          for (ReturnOrder _iter204 : this.success)
60459
          for (ReturnOrder _iter212 : this.success)
59567
          {
60460
          {
59568
            _iter204.write(oprot);
60461
            _iter212.write(oprot);
59569
          }
60462
          }
59570
          oprot.writeListEnd();
60463
          oprot.writeListEnd();
59571
        }
60464
        }
59572
        oprot.writeFieldEnd();
60465
        oprot.writeFieldEnd();
59573
      }
60466
      }
Line 64548... Line 65441...
64548
        }
65441
        }
64549
        switch (field.id) {
65442
        switch (field.id) {
64550
          case 1: // COLLECTED_AMOUNT_MAP
65443
          case 1: // COLLECTED_AMOUNT_MAP
64551
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
65444
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
64552
              {
65445
              {
64553
                org.apache.thrift.protocol.TMap _map205 = iprot.readMapBegin();
65446
                org.apache.thrift.protocol.TMap _map213 = iprot.readMapBegin();
64554
                this.collectedAmountMap = new HashMap<String,Double>(2*_map205.size);
65447
                this.collectedAmountMap = new HashMap<String,Double>(2*_map213.size);
64555
                for (int _i206 = 0; _i206 < _map205.size; ++_i206)
65448
                for (int _i214 = 0; _i214 < _map213.size; ++_i214)
64556
                {
65449
                {
64557
                  String _key207; // required
65450
                  String _key215; // required
64558
                  double _val208; // required
65451
                  double _val216; // required
64559
                  _key207 = iprot.readString();
65452
                  _key215 = iprot.readString();
64560
                  _val208 = iprot.readDouble();
65453
                  _val216 = iprot.readDouble();
64561
                  this.collectedAmountMap.put(_key207, _val208);
65454
                  this.collectedAmountMap.put(_key215, _val216);
64562
                }
65455
                }
64563
                iprot.readMapEnd();
65456
                iprot.readMapEnd();
64564
              }
65457
              }
64565
            } else { 
65458
            } else { 
64566
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
65459
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 64603... Line 65496...
64603
      oprot.writeStructBegin(STRUCT_DESC);
65496
      oprot.writeStructBegin(STRUCT_DESC);
64604
      if (this.collectedAmountMap != null) {
65497
      if (this.collectedAmountMap != null) {
64605
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
65498
        oprot.writeFieldBegin(COLLECTED_AMOUNT_MAP_FIELD_DESC);
64606
        {
65499
        {
64607
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
65500
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.DOUBLE, this.collectedAmountMap.size()));
64608
          for (Map.Entry<String, Double> _iter209 : this.collectedAmountMap.entrySet())
65501
          for (Map.Entry<String, Double> _iter217 : this.collectedAmountMap.entrySet())
64609
          {
65502
          {
64610
            oprot.writeString(_iter209.getKey());
65503
            oprot.writeString(_iter217.getKey());
64611
            oprot.writeDouble(_iter209.getValue());
65504
            oprot.writeDouble(_iter217.getValue());
64612
          }
65505
          }
64613
          oprot.writeMapEnd();
65506
          oprot.writeMapEnd();
64614
        }
65507
        }
64615
        oprot.writeFieldEnd();
65508
        oprot.writeFieldEnd();
64616
      }
65509
      }
Line 65010... Line 65903...
65010
        }
65903
        }
65011
        switch (field.id) {
65904
        switch (field.id) {
65012
          case 0: // SUCCESS
65905
          case 0: // SUCCESS
65013
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
65906
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
65014
              {
65907
              {
65015
                org.apache.thrift.protocol.TMap _map210 = iprot.readMapBegin();
65908
                org.apache.thrift.protocol.TMap _map218 = iprot.readMapBegin();
65016
                this.success = new HashMap<String,String>(2*_map210.size);
65909
                this.success = new HashMap<String,String>(2*_map218.size);
65017
                for (int _i211 = 0; _i211 < _map210.size; ++_i211)
65910
                for (int _i219 = 0; _i219 < _map218.size; ++_i219)
65018
                {
65911
                {
65019
                  String _key212; // required
65912
                  String _key220; // required
65020
                  String _val213; // required
65913
                  String _val221; // required
65021
                  _key212 = iprot.readString();
65914
                  _key220 = iprot.readString();
65022
                  _val213 = iprot.readString();
65915
                  _val221 = iprot.readString();
65023
                  this.success.put(_key212, _val213);
65916
                  this.success.put(_key220, _val221);
65024
                }
65917
                }
65025
                iprot.readMapEnd();
65918
                iprot.readMapEnd();
65026
              }
65919
              }
65027
            } else { 
65920
            } else { 
65028
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
65921
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 65050... Line 65943...
65050
 
65943
 
65051
      if (this.isSetSuccess()) {
65944
      if (this.isSetSuccess()) {
65052
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65945
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65053
        {
65946
        {
65054
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
65947
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.success.size()));
65055
          for (Map.Entry<String, String> _iter214 : this.success.entrySet())
65948
          for (Map.Entry<String, String> _iter222 : this.success.entrySet())
65056
          {
65949
          {
65057
            oprot.writeString(_iter214.getKey());
65950
            oprot.writeString(_iter222.getKey());
65058
            oprot.writeString(_iter214.getValue());
65951
            oprot.writeString(_iter222.getValue());
65059
          }
65952
          }
65060
          oprot.writeMapEnd();
65953
          oprot.writeMapEnd();
65061
        }
65954
        }
65062
        oprot.writeFieldEnd();
65955
        oprot.writeFieldEnd();
65063
      } else if (this.isSetEx()) {
65956
      } else if (this.isSetEx()) {
Line 65669... Line 66562...
65669
        }
66562
        }
65670
        switch (field.id) {
66563
        switch (field.id) {
65671
          case 0: // SUCCESS
66564
          case 0: // SUCCESS
65672
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
66565
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
65673
              {
66566
              {
65674
                org.apache.thrift.protocol.TList _list215 = iprot.readListBegin();
66567
                org.apache.thrift.protocol.TList _list223 = iprot.readListBegin();
65675
                this.success = new ArrayList<Long>(_list215.size);
66568
                this.success = new ArrayList<Long>(_list223.size);
65676
                for (int _i216 = 0; _i216 < _list215.size; ++_i216)
66569
                for (int _i224 = 0; _i224 < _list223.size; ++_i224)
65677
                {
66570
                {
65678
                  long _elem217; // required
66571
                  long _elem225; // required
65679
                  _elem217 = iprot.readI64();
66572
                  _elem225 = iprot.readI64();
65680
                  this.success.add(_elem217);
66573
                  this.success.add(_elem225);
65681
                }
66574
                }
65682
                iprot.readListEnd();
66575
                iprot.readListEnd();
65683
              }
66576
              }
65684
            } else { 
66577
            } else { 
65685
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
66578
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 65699... Line 66592...
65699
 
66592
 
65700
      if (this.isSetSuccess()) {
66593
      if (this.isSetSuccess()) {
65701
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66594
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65702
        {
66595
        {
65703
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
66596
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
65704
          for (long _iter218 : this.success)
66597
          for (long _iter226 : this.success)
65705
          {
66598
          {
65706
            oprot.writeI64(_iter218);
66599
            oprot.writeI64(_iter226);
65707
          }
66600
          }
65708
          oprot.writeListEnd();
66601
          oprot.writeListEnd();
65709
        }
66602
        }
65710
        oprot.writeFieldEnd();
66603
        oprot.writeFieldEnd();
65711
      }
66604
      }
Line 66795... Line 67688...
66795
        }
67688
        }
66796
        switch (field.id) {
67689
        switch (field.id) {
66797
          case 0: // SUCCESS
67690
          case 0: // SUCCESS
66798
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
67691
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
66799
              {
67692
              {
66800
                org.apache.thrift.protocol.TMap _map219 = iprot.readMapBegin();
67693
                org.apache.thrift.protocol.TMap _map227 = iprot.readMapBegin();
66801
                this.success = new HashMap<Long,Long>(2*_map219.size);
67694
                this.success = new HashMap<Long,Long>(2*_map227.size);
66802
                for (int _i220 = 0; _i220 < _map219.size; ++_i220)
67695
                for (int _i228 = 0; _i228 < _map227.size; ++_i228)
66803
                {
67696
                {
66804
                  long _key221; // required
67697
                  long _key229; // required
66805
                  long _val222; // required
67698
                  long _val230; // required
66806
                  _key221 = iprot.readI64();
67699
                  _key229 = iprot.readI64();
66807
                  _val222 = iprot.readI64();
67700
                  _val230 = iprot.readI64();
66808
                  this.success.put(_key221, _val222);
67701
                  this.success.put(_key229, _val230);
66809
                }
67702
                }
66810
                iprot.readMapEnd();
67703
                iprot.readMapEnd();
66811
              }
67704
              }
66812
            } else { 
67705
            } else { 
66813
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67706
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 66827... Line 67720...
66827
 
67720
 
66828
      if (this.isSetSuccess()) {
67721
      if (this.isSetSuccess()) {
66829
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67722
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66830
        {
67723
        {
66831
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
67724
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
66832
          for (Map.Entry<Long, Long> _iter223 : this.success.entrySet())
67725
          for (Map.Entry<Long, Long> _iter231 : this.success.entrySet())
66833
          {
67726
          {
66834
            oprot.writeI64(_iter223.getKey());
67727
            oprot.writeI64(_iter231.getKey());
66835
            oprot.writeI64(_iter223.getValue());
67728
            oprot.writeI64(_iter231.getValue());
66836
          }
67729
          }
66837
          oprot.writeMapEnd();
67730
          oprot.writeMapEnd();
66838
        }
67731
        }
66839
        oprot.writeFieldEnd();
67732
        oprot.writeFieldEnd();
66840
      }
67733
      }
Line 67128... Line 68021...
67128
        }
68021
        }
67129
        switch (field.id) {
68022
        switch (field.id) {
67130
          case 1: // ITEM_IDS
68023
          case 1: // ITEM_IDS
67131
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68024
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
67132
              {
68025
              {
67133
                org.apache.thrift.protocol.TList _list224 = iprot.readListBegin();
68026
                org.apache.thrift.protocol.TList _list232 = iprot.readListBegin();
67134
                this.itemIds = new ArrayList<Long>(_list224.size);
68027
                this.itemIds = new ArrayList<Long>(_list232.size);
67135
                for (int _i225 = 0; _i225 < _list224.size; ++_i225)
68028
                for (int _i233 = 0; _i233 < _list232.size; ++_i233)
67136
                {
68029
                {
67137
                  long _elem226; // required
68030
                  long _elem234; // required
67138
                  _elem226 = iprot.readI64();
68031
                  _elem234 = iprot.readI64();
67139
                  this.itemIds.add(_elem226);
68032
                  this.itemIds.add(_elem234);
67140
                }
68033
                }
67141
                iprot.readListEnd();
68034
                iprot.readListEnd();
67142
              }
68035
              }
67143
            } else { 
68036
            } else { 
67144
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
68037
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67159... Line 68052...
67159
      oprot.writeStructBegin(STRUCT_DESC);
68052
      oprot.writeStructBegin(STRUCT_DESC);
67160
      if (this.itemIds != null) {
68053
      if (this.itemIds != null) {
67161
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
68054
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
67162
        {
68055
        {
67163
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
68056
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
67164
          for (long _iter227 : this.itemIds)
68057
          for (long _iter235 : this.itemIds)
67165
          {
68058
          {
67166
            oprot.writeI64(_iter227);
68059
            oprot.writeI64(_iter235);
67167
          }
68060
          }
67168
          oprot.writeListEnd();
68061
          oprot.writeListEnd();
67169
        }
68062
        }
67170
        oprot.writeFieldEnd();
68063
        oprot.writeFieldEnd();
67171
      }
68064
      }
Line 67459... Line 68352...
67459
        }
68352
        }
67460
        switch (field.id) {
68353
        switch (field.id) {
67461
          case 0: // SUCCESS
68354
          case 0: // SUCCESS
67462
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68355
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
67463
              {
68356
              {
67464
                org.apache.thrift.protocol.TList _list228 = iprot.readListBegin();
68357
                org.apache.thrift.protocol.TList _list236 = iprot.readListBegin();
67465
                this.success = new ArrayList<Order>(_list228.size);
68358
                this.success = new ArrayList<Order>(_list236.size);
67466
                for (int _i229 = 0; _i229 < _list228.size; ++_i229)
68359
                for (int _i237 = 0; _i237 < _list236.size; ++_i237)
67467
                {
68360
                {
67468
                  Order _elem230; // required
68361
                  Order _elem238; // required
67469
                  _elem230 = new Order();
68362
                  _elem238 = new Order();
67470
                  _elem230.read(iprot);
68363
                  _elem238.read(iprot);
67471
                  this.success.add(_elem230);
68364
                  this.success.add(_elem238);
67472
                }
68365
                }
67473
                iprot.readListEnd();
68366
                iprot.readListEnd();
67474
              }
68367
              }
67475
            } else { 
68368
            } else { 
67476
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
68369
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67490... Line 68383...
67490
 
68383
 
67491
      if (this.isSetSuccess()) {
68384
      if (this.isSetSuccess()) {
67492
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68385
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67493
        {
68386
        {
67494
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68387
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67495
          for (Order _iter231 : this.success)
68388
          for (Order _iter239 : this.success)
67496
          {
68389
          {
67497
            _iter231.write(oprot);
68390
            _iter239.write(oprot);
67498
          }
68391
          }
67499
          oprot.writeListEnd();
68392
          oprot.writeListEnd();
67500
        }
68393
        }
67501
        oprot.writeFieldEnd();
68394
        oprot.writeFieldEnd();
67502
      }
68395
      }
Line 75448... Line 76341...
75448
        }
76341
        }
75449
        switch (field.id) {
76342
        switch (field.id) {
75450
          case 0: // SUCCESS
76343
          case 0: // SUCCESS
75451
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
76344
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
75452
              {
76345
              {
75453
                org.apache.thrift.protocol.TMap _map232 = iprot.readMapBegin();
76346
                org.apache.thrift.protocol.TMap _map240 = iprot.readMapBegin();
75454
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map232.size);
76347
                this.success = new HashMap<Integer,TimeoutSummary>(2*_map240.size);
75455
                for (int _i233 = 0; _i233 < _map232.size; ++_i233)
76348
                for (int _i241 = 0; _i241 < _map240.size; ++_i241)
75456
                {
76349
                {
75457
                  int _key234; // required
76350
                  int _key242; // required
75458
                  TimeoutSummary _val235; // required
76351
                  TimeoutSummary _val243; // required
75459
                  _key234 = iprot.readI32();
76352
                  _key242 = iprot.readI32();
75460
                  _val235 = new TimeoutSummary();
76353
                  _val243 = new TimeoutSummary();
75461
                  _val235.read(iprot);
76354
                  _val243.read(iprot);
75462
                  this.success.put(_key234, _val235);
76355
                  this.success.put(_key242, _val243);
75463
                }
76356
                }
75464
                iprot.readMapEnd();
76357
                iprot.readMapEnd();
75465
              }
76358
              }
75466
            } else { 
76359
            } else { 
75467
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
76360
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 75489... Line 76382...
75489
 
76382
 
75490
      if (this.isSetSuccess()) {
76383
      if (this.isSetSuccess()) {
75491
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
76384
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
75492
        {
76385
        {
75493
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
76386
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
75494
          for (Map.Entry<Integer, TimeoutSummary> _iter236 : this.success.entrySet())
76387
          for (Map.Entry<Integer, TimeoutSummary> _iter244 : this.success.entrySet())
75495
          {
76388
          {
75496
            oprot.writeI32(_iter236.getKey());
76389
            oprot.writeI32(_iter244.getKey());
75497
            _iter236.getValue().write(oprot);
76390
            _iter244.getValue().write(oprot);
75498
          }
76391
          }
75499
          oprot.writeMapEnd();
76392
          oprot.writeMapEnd();
75500
        }
76393
        }
75501
        oprot.writeFieldEnd();
76394
        oprot.writeFieldEnd();
75502
      } else if (this.isSetEx()) {
76395
      } else if (this.isSetEx()) {
Line 77232... Line 78125...
77232
            }
78125
            }
77233
            break;
78126
            break;
77234
          case 2: // ORDER_STATUS_LIST
78127
          case 2: // ORDER_STATUS_LIST
77235
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78128
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77236
              {
78129
              {
77237
                org.apache.thrift.protocol.TList _list237 = iprot.readListBegin();
78130
                org.apache.thrift.protocol.TList _list245 = iprot.readListBegin();
77238
                this.order_status_list = new ArrayList<OrderStatus>(_list237.size);
78131
                this.order_status_list = new ArrayList<OrderStatus>(_list245.size);
77239
                for (int _i238 = 0; _i238 < _list237.size; ++_i238)
78132
                for (int _i246 = 0; _i246 < _list245.size; ++_i246)
77240
                {
78133
                {
77241
                  OrderStatus _elem239; // required
78134
                  OrderStatus _elem247; // required
77242
                  _elem239 = OrderStatus.findByValue(iprot.readI32());
78135
                  _elem247 = OrderStatus.findByValue(iprot.readI32());
77243
                  this.order_status_list.add(_elem239);
78136
                  this.order_status_list.add(_elem247);
77244
                }
78137
                }
77245
                iprot.readListEnd();
78138
                iprot.readListEnd();
77246
              }
78139
              }
77247
            } else { 
78140
            } else { 
77248
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
78141
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 77266... Line 78159...
77266
      oprot.writeFieldEnd();
78159
      oprot.writeFieldEnd();
77267
      if (this.order_status_list != null) {
78160
      if (this.order_status_list != null) {
77268
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
78161
        oprot.writeFieldBegin(ORDER_STATUS_LIST_FIELD_DESC);
77269
        {
78162
        {
77270
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
78163
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.order_status_list.size()));
77271
          for (OrderStatus _iter240 : this.order_status_list)
78164
          for (OrderStatus _iter248 : this.order_status_list)
77272
          {
78165
          {
77273
            oprot.writeI32(_iter240.getValue());
78166
            oprot.writeI32(_iter248.getValue());
77274
          }
78167
          }
77275
          oprot.writeListEnd();
78168
          oprot.writeListEnd();
77276
        }
78169
        }
77277
        oprot.writeFieldEnd();
78170
        oprot.writeFieldEnd();
77278
      }
78171
      }
Line 77640... Line 78533...
77640
        }
78533
        }
77641
        switch (field.id) {
78534
        switch (field.id) {
77642
          case 0: // SUCCESS
78535
          case 0: // SUCCESS
77643
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78536
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77644
              {
78537
              {
77645
                org.apache.thrift.protocol.TList _list241 = iprot.readListBegin();
78538
                org.apache.thrift.protocol.TList _list249 = iprot.readListBegin();
77646
                this.success = new ArrayList<Order>(_list241.size);
78539
                this.success = new ArrayList<Order>(_list249.size);
77647
                for (int _i242 = 0; _i242 < _list241.size; ++_i242)
78540
                for (int _i250 = 0; _i250 < _list249.size; ++_i250)
77648
                {
78541
                {
77649
                  Order _elem243; // required
78542
                  Order _elem251; // required
77650
                  _elem243 = new Order();
78543
                  _elem251 = new Order();
77651
                  _elem243.read(iprot);
78544
                  _elem251.read(iprot);
77652
                  this.success.add(_elem243);
78545
                  this.success.add(_elem251);
77653
                }
78546
                }
77654
                iprot.readListEnd();
78547
                iprot.readListEnd();
77655
              }
78548
              }
77656
            } else { 
78549
            } else { 
77657
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
78550
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 77679... Line 78572...
77679
 
78572
 
77680
      if (this.isSetSuccess()) {
78573
      if (this.isSetSuccess()) {
77681
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78574
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77682
        {
78575
        {
77683
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78576
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
77684
          for (Order _iter244 : this.success)
78577
          for (Order _iter252 : this.success)
77685
          {
78578
          {
77686
            _iter244.write(oprot);
78579
            _iter252.write(oprot);
77687
          }
78580
          }
77688
          oprot.writeListEnd();
78581
          oprot.writeListEnd();
77689
        }
78582
        }
77690
        oprot.writeFieldEnd();
78583
        oprot.writeFieldEnd();
77691
      } else if (this.isSetEx()) {
78584
      } else if (this.isSetEx()) {
Line 78519... Line 79412...
78519
        }
79412
        }
78520
        switch (field.id) {
79413
        switch (field.id) {
78521
          case 0: // SUCCESS
79414
          case 0: // SUCCESS
78522
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79415
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78523
              {
79416
              {
78524
                org.apache.thrift.protocol.TList _list245 = iprot.readListBegin();
79417
                org.apache.thrift.protocol.TList _list253 = iprot.readListBegin();
78525
                this.success = new ArrayList<Order>(_list245.size);
79418
                this.success = new ArrayList<Order>(_list253.size);
78526
                for (int _i246 = 0; _i246 < _list245.size; ++_i246)
79419
                for (int _i254 = 0; _i254 < _list253.size; ++_i254)
78527
                {
79420
                {
78528
                  Order _elem247; // required
79421
                  Order _elem255; // required
78529
                  _elem247 = new Order();
79422
                  _elem255 = new Order();
78530
                  _elem247.read(iprot);
79423
                  _elem255.read(iprot);
78531
                  this.success.add(_elem247);
79424
                  this.success.add(_elem255);
78532
                }
79425
                }
78533
                iprot.readListEnd();
79426
                iprot.readListEnd();
78534
              }
79427
              }
78535
            } else { 
79428
            } else { 
78536
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79429
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78558... Line 79451...
78558
 
79451
 
78559
      if (this.isSetSuccess()) {
79452
      if (this.isSetSuccess()) {
78560
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79453
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78561
        {
79454
        {
78562
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79455
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78563
          for (Order _iter248 : this.success)
79456
          for (Order _iter256 : this.success)
78564
          {
79457
          {
78565
            _iter248.write(oprot);
79458
            _iter256.write(oprot);
78566
          }
79459
          }
78567
          oprot.writeListEnd();
79460
          oprot.writeListEnd();
78568
        }
79461
        }
78569
        oprot.writeFieldEnd();
79462
        oprot.writeFieldEnd();
78570
      } else if (this.isSetEx()) {
79463
      } else if (this.isSetEx()) {
Line 79138... Line 80031...
79138
        }
80031
        }
79139
        switch (field.id) {
80032
        switch (field.id) {
79140
          case 0: // SUCCESS
80033
          case 0: // SUCCESS
79141
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80034
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79142
              {
80035
              {
79143
                org.apache.thrift.protocol.TList _list249 = iprot.readListBegin();
80036
                org.apache.thrift.protocol.TList _list257 = iprot.readListBegin();
79144
                this.success = new ArrayList<Order>(_list249.size);
80037
                this.success = new ArrayList<Order>(_list257.size);
79145
                for (int _i250 = 0; _i250 < _list249.size; ++_i250)
80038
                for (int _i258 = 0; _i258 < _list257.size; ++_i258)
79146
                {
80039
                {
79147
                  Order _elem251; // required
80040
                  Order _elem259; // required
79148
                  _elem251 = new Order();
80041
                  _elem259 = new Order();
79149
                  _elem251.read(iprot);
80042
                  _elem259.read(iprot);
79150
                  this.success.add(_elem251);
80043
                  this.success.add(_elem259);
79151
                }
80044
                }
79152
                iprot.readListEnd();
80045
                iprot.readListEnd();
79153
              }
80046
              }
79154
            } else { 
80047
            } else { 
79155
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80048
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79177... Line 80070...
79177
 
80070
 
79178
      if (this.isSetSuccess()) {
80071
      if (this.isSetSuccess()) {
79179
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80072
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79180
        {
80073
        {
79181
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80074
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79182
          for (Order _iter252 : this.success)
80075
          for (Order _iter260 : this.success)
79183
          {
80076
          {
79184
            _iter252.write(oprot);
80077
            _iter260.write(oprot);
79185
          }
80078
          }
79186
          oprot.writeListEnd();
80079
          oprot.writeListEnd();
79187
        }
80080
        }
79188
        oprot.writeFieldEnd();
80081
        oprot.writeFieldEnd();
79189
      } else if (this.isSetEx()) {
80082
      } else if (this.isSetEx()) {
Line 79934... Line 80827...
79934
        }
80827
        }
79935
        switch (field.id) {
80828
        switch (field.id) {
79936
          case 0: // SUCCESS
80829
          case 0: // SUCCESS
79937
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80830
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79938
              {
80831
              {
79939
                org.apache.thrift.protocol.TList _list253 = iprot.readListBegin();
80832
                org.apache.thrift.protocol.TList _list261 = iprot.readListBegin();
79940
                this.success = new ArrayList<Order>(_list253.size);
80833
                this.success = new ArrayList<Order>(_list261.size);
79941
                for (int _i254 = 0; _i254 < _list253.size; ++_i254)
80834
                for (int _i262 = 0; _i262 < _list261.size; ++_i262)
79942
                {
80835
                {
79943
                  Order _elem255; // required
80836
                  Order _elem263; // required
79944
                  _elem255 = new Order();
80837
                  _elem263 = new Order();
79945
                  _elem255.read(iprot);
80838
                  _elem263.read(iprot);
79946
                  this.success.add(_elem255);
80839
                  this.success.add(_elem263);
79947
                }
80840
                }
79948
                iprot.readListEnd();
80841
                iprot.readListEnd();
79949
              }
80842
              }
79950
            } else { 
80843
            } else { 
79951
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80844
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79973... Line 80866...
79973
 
80866
 
79974
      if (this.isSetSuccess()) {
80867
      if (this.isSetSuccess()) {
79975
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80868
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79976
        {
80869
        {
79977
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80870
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79978
          for (Order _iter256 : this.success)
80871
          for (Order _iter264 : this.success)
79979
          {
80872
          {
79980
            _iter256.write(oprot);
80873
            _iter264.write(oprot);
79981
          }
80874
          }
79982
          oprot.writeListEnd();
80875
          oprot.writeListEnd();
79983
        }
80876
        }
79984
        oprot.writeFieldEnd();
80877
        oprot.writeFieldEnd();
79985
      } else if (this.isSetEx()) {
80878
      } else if (this.isSetEx()) {
Line 80290... Line 81183...
80290
        }
81183
        }
80291
        switch (field.id) {
81184
        switch (field.id) {
80292
          case 1: // MAP_AWBAND_AMOUNT
81185
          case 1: // MAP_AWBAND_AMOUNT
80293
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
81186
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
80294
              {
81187
              {
80295
                org.apache.thrift.protocol.TMap _map257 = iprot.readMapBegin();
81188
                org.apache.thrift.protocol.TMap _map265 = iprot.readMapBegin();
80296
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map257.size);
81189
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map265.size);
80297
                for (int _i258 = 0; _i258 < _map257.size; ++_i258)
81190
                for (int _i266 = 0; _i266 < _map265.size; ++_i266)
80298
                {
81191
                {
80299
                  long _key259; // required
81192
                  long _key267; // required
80300
                  double _val260; // required
81193
                  double _val268; // required
80301
                  _key259 = iprot.readI64();
81194
                  _key267 = iprot.readI64();
80302
                  _val260 = iprot.readDouble();
81195
                  _val268 = iprot.readDouble();
80303
                  this.mapAWBAndAmount.put(_key259, _val260);
81196
                  this.mapAWBAndAmount.put(_key267, _val268);
80304
                }
81197
                }
80305
                iprot.readMapEnd();
81198
                iprot.readMapEnd();
80306
              }
81199
              }
80307
            } else { 
81200
            } else { 
80308
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81201
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80323... Line 81216...
80323
      oprot.writeStructBegin(STRUCT_DESC);
81216
      oprot.writeStructBegin(STRUCT_DESC);
80324
      if (this.mapAWBAndAmount != null) {
81217
      if (this.mapAWBAndAmount != null) {
80325
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
81218
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
80326
        {
81219
        {
80327
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
81220
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
80328
          for (Map.Entry<Long, Double> _iter261 : this.mapAWBAndAmount.entrySet())
81221
          for (Map.Entry<Long, Double> _iter269 : this.mapAWBAndAmount.entrySet())
80329
          {
81222
          {
80330
            oprot.writeI64(_iter261.getKey());
81223
            oprot.writeI64(_iter269.getKey());
80331
            oprot.writeDouble(_iter261.getValue());
81224
            oprot.writeDouble(_iter269.getValue());
80332
          }
81225
          }
80333
          oprot.writeMapEnd();
81226
          oprot.writeMapEnd();
80334
        }
81227
        }
80335
        oprot.writeFieldEnd();
81228
        oprot.writeFieldEnd();
80336
      }
81229
      }
Line 82591... Line 83484...
82591
      }
83484
      }
82592
    }
83485
    }
82593
 
83486
 
82594
  }
83487
  }
82595
 
83488
 
82596
  public static class getSettlementForReferenceId_args implements org.apache.thrift.TBase<getSettlementForReferenceId_args, getSettlementForReferenceId_args._Fields>, java.io.Serializable, Cloneable   {
83489
  public static class getSettlementForPrepaid_args implements org.apache.thrift.TBase<getSettlementForPrepaid_args, getSettlementForPrepaid_args._Fields>, java.io.Serializable, Cloneable   {
82597
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForReferenceId_args");
83490
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForPrepaid_args");
82598
 
83491
 
82599
    private static final org.apache.thrift.protocol.TField REFERENCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceId", org.apache.thrift.protocol.TType.I64, (short)1);
83492
    private static final org.apache.thrift.protocol.TField REFERENCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceId", org.apache.thrift.protocol.TType.I64, (short)1);
82600
    private static final org.apache.thrift.protocol.TField PAYMENT_GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("paymentGatewayId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
82601
    private static final org.apache.thrift.protocol.TField IS_REFUND_FIELD_DESC = new org.apache.thrift.protocol.TField("isRefund", org.apache.thrift.protocol.TType.BOOL, (short)3);
83493
    private static final org.apache.thrift.protocol.TField IS_REFUND_FIELD_DESC = new org.apache.thrift.protocol.TField("isRefund", org.apache.thrift.protocol.TType.BOOL, (short)2);
82602
 
83494
 
82603
    private long referenceId; // required
83495
    private long referenceId; // required
82604
    private long paymentGatewayId; // required
-
 
82605
    private boolean isRefund; // required
83496
    private boolean isRefund; // required
82606
 
83497
 
82607
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
83498
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
82608
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
83499
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
82609
      REFERENCE_ID((short)1, "referenceId"),
83500
      REFERENCE_ID((short)1, "referenceId"),
82610
      PAYMENT_GATEWAY_ID((short)2, "paymentGatewayId"),
-
 
82611
      IS_REFUND((short)3, "isRefund");
83501
      IS_REFUND((short)2, "isRefund");
82612
 
83502
 
82613
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
83503
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
82614
 
83504
 
82615
      static {
83505
      static {
82616
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
83506
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 82623... Line 83513...
82623
       */
83513
       */
82624
      public static _Fields findByThriftId(int fieldId) {
83514
      public static _Fields findByThriftId(int fieldId) {
82625
        switch(fieldId) {
83515
        switch(fieldId) {
82626
          case 1: // REFERENCE_ID
83516
          case 1: // REFERENCE_ID
82627
            return REFERENCE_ID;
83517
            return REFERENCE_ID;
82628
          case 2: // PAYMENT_GATEWAY_ID
-
 
82629
            return PAYMENT_GATEWAY_ID;
-
 
82630
          case 3: // IS_REFUND
83518
          case 2: // IS_REFUND
82631
            return IS_REFUND;
83519
            return IS_REFUND;
82632
          default:
83520
          default:
82633
            return null;
83521
            return null;
82634
        }
83522
        }
82635
      }
83523
      }
Line 82668... Line 83556...
82668
      }
83556
      }
82669
    }
83557
    }
82670
 
83558
 
82671
    // isset id assignments
83559
    // isset id assignments
82672
    private static final int __REFERENCEID_ISSET_ID = 0;
83560
    private static final int __REFERENCEID_ISSET_ID = 0;
82673
    private static final int __PAYMENTGATEWAYID_ISSET_ID = 1;
-
 
82674
    private static final int __ISREFUND_ISSET_ID = 2;
83561
    private static final int __ISREFUND_ISSET_ID = 1;
82675
    private BitSet __isset_bit_vector = new BitSet(3);
83562
    private BitSet __isset_bit_vector = new BitSet(2);
82676
 
83563
 
82677
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
83564
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
82678
    static {
83565
    static {
82679
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
83566
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
82680
      tmpMap.put(_Fields.REFERENCE_ID, new org.apache.thrift.meta_data.FieldMetaData("referenceId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
83567
      tmpMap.put(_Fields.REFERENCE_ID, new org.apache.thrift.meta_data.FieldMetaData("referenceId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
82681
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
83568
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
82682
      tmpMap.put(_Fields.PAYMENT_GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentGatewayId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
82683
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
82684
      tmpMap.put(_Fields.IS_REFUND, new org.apache.thrift.meta_data.FieldMetaData("isRefund", org.apache.thrift.TFieldRequirementType.DEFAULT, 
83569
      tmpMap.put(_Fields.IS_REFUND, new org.apache.thrift.meta_data.FieldMetaData("isRefund", org.apache.thrift.TFieldRequirementType.DEFAULT, 
82685
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
83570
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
82686
      metaDataMap = Collections.unmodifiableMap(tmpMap);
83571
      metaDataMap = Collections.unmodifiableMap(tmpMap);
82687
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForReferenceId_args.class, metaDataMap);
83572
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForPrepaid_args.class, metaDataMap);
82688
    }
83573
    }
82689
 
83574
 
82690
    public getSettlementForReferenceId_args() {
83575
    public getSettlementForPrepaid_args() {
82691
    }
83576
    }
82692
 
83577
 
82693
    public getSettlementForReferenceId_args(
83578
    public getSettlementForPrepaid_args(
82694
      long referenceId,
83579
      long referenceId,
82695
      long paymentGatewayId,
-
 
82696
      boolean isRefund)
83580
      boolean isRefund)
82697
    {
83581
    {
82698
      this();
83582
      this();
82699
      this.referenceId = referenceId;
83583
      this.referenceId = referenceId;
82700
      setReferenceIdIsSet(true);
83584
      setReferenceIdIsSet(true);
82701
      this.paymentGatewayId = paymentGatewayId;
-
 
82702
      setPaymentGatewayIdIsSet(true);
-
 
82703
      this.isRefund = isRefund;
83585
      this.isRefund = isRefund;
82704
      setIsRefundIsSet(true);
83586
      setIsRefundIsSet(true);
82705
    }
83587
    }
82706
 
83588
 
82707
    /**
83589
    /**
82708
     * Performs a deep copy on <i>other</i>.
83590
     * Performs a deep copy on <i>other</i>.
82709
     */
83591
     */
82710
    public getSettlementForReferenceId_args(getSettlementForReferenceId_args other) {
83592
    public getSettlementForPrepaid_args(getSettlementForPrepaid_args other) {
82711
      __isset_bit_vector.clear();
83593
      __isset_bit_vector.clear();
82712
      __isset_bit_vector.or(other.__isset_bit_vector);
83594
      __isset_bit_vector.or(other.__isset_bit_vector);
82713
      this.referenceId = other.referenceId;
83595
      this.referenceId = other.referenceId;
82714
      this.paymentGatewayId = other.paymentGatewayId;
-
 
82715
      this.isRefund = other.isRefund;
83596
      this.isRefund = other.isRefund;
82716
    }
83597
    }
82717
 
83598
 
82718
    public getSettlementForReferenceId_args deepCopy() {
83599
    public getSettlementForPrepaid_args deepCopy() {
82719
      return new getSettlementForReferenceId_args(this);
83600
      return new getSettlementForPrepaid_args(this);
82720
    }
83601
    }
82721
 
83602
 
82722
    @Override
83603
    @Override
82723
    public void clear() {
83604
    public void clear() {
82724
      setReferenceIdIsSet(false);
83605
      setReferenceIdIsSet(false);
82725
      this.referenceId = 0;
83606
      this.referenceId = 0;
82726
      setPaymentGatewayIdIsSet(false);
-
 
82727
      this.paymentGatewayId = 0;
-
 
82728
      setIsRefundIsSet(false);
83607
      setIsRefundIsSet(false);
82729
      this.isRefund = false;
83608
      this.isRefund = false;
82730
    }
83609
    }
82731
 
83610
 
82732
    public long getReferenceId() {
83611
    public long getReferenceId() {
Line 82749... Line 83628...
82749
 
83628
 
82750
    public void setReferenceIdIsSet(boolean value) {
83629
    public void setReferenceIdIsSet(boolean value) {
82751
      __isset_bit_vector.set(__REFERENCEID_ISSET_ID, value);
83630
      __isset_bit_vector.set(__REFERENCEID_ISSET_ID, value);
82752
    }
83631
    }
82753
 
83632
 
82754
    public long getPaymentGatewayId() {
-
 
82755
      return this.paymentGatewayId;
-
 
82756
    }
-
 
82757
 
-
 
82758
    public void setPaymentGatewayId(long paymentGatewayId) {
-
 
82759
      this.paymentGatewayId = paymentGatewayId;
-
 
82760
      setPaymentGatewayIdIsSet(true);
-
 
82761
    }
-
 
82762
 
-
 
82763
    public void unsetPaymentGatewayId() {
-
 
82764
      __isset_bit_vector.clear(__PAYMENTGATEWAYID_ISSET_ID);
-
 
82765
    }
-
 
82766
 
-
 
82767
    /** Returns true if field paymentGatewayId is set (has been assigned a value) and false otherwise */
-
 
82768
    public boolean isSetPaymentGatewayId() {
-
 
82769
      return __isset_bit_vector.get(__PAYMENTGATEWAYID_ISSET_ID);
-
 
82770
    }
-
 
82771
 
-
 
82772
    public void setPaymentGatewayIdIsSet(boolean value) {
-
 
82773
      __isset_bit_vector.set(__PAYMENTGATEWAYID_ISSET_ID, value);
-
 
82774
    }
-
 
82775
 
-
 
82776
    public boolean isIsRefund() {
83633
    public boolean isIsRefund() {
82777
      return this.isRefund;
83634
      return this.isRefund;
82778
    }
83635
    }
82779
 
83636
 
82780
    public void setIsRefund(boolean isRefund) {
83637
    public void setIsRefund(boolean isRefund) {
Line 82803... Line 83660...
82803
        } else {
83660
        } else {
82804
          setReferenceId((Long)value);
83661
          setReferenceId((Long)value);
82805
        }
83662
        }
82806
        break;
83663
        break;
82807
 
83664
 
82808
      case PAYMENT_GATEWAY_ID:
-
 
82809
        if (value == null) {
-
 
82810
          unsetPaymentGatewayId();
-
 
82811
        } else {
-
 
82812
          setPaymentGatewayId((Long)value);
-
 
82813
        }
-
 
82814
        break;
-
 
82815
 
-
 
82816
      case IS_REFUND:
83665
      case IS_REFUND:
82817
        if (value == null) {
83666
        if (value == null) {
82818
          unsetIsRefund();
83667
          unsetIsRefund();
82819
        } else {
83668
        } else {
82820
          setIsRefund((Boolean)value);
83669
          setIsRefund((Boolean)value);
Line 82827... Line 83676...
82827
    public Object getFieldValue(_Fields field) {
83676
    public Object getFieldValue(_Fields field) {
82828
      switch (field) {
83677
      switch (field) {
82829
      case REFERENCE_ID:
83678
      case REFERENCE_ID:
82830
        return Long.valueOf(getReferenceId());
83679
        return Long.valueOf(getReferenceId());
82831
 
83680
 
82832
      case PAYMENT_GATEWAY_ID:
-
 
82833
        return Long.valueOf(getPaymentGatewayId());
-
 
82834
 
-
 
82835
      case IS_REFUND:
83681
      case IS_REFUND:
82836
        return Boolean.valueOf(isIsRefund());
83682
        return Boolean.valueOf(isIsRefund());
82837
 
83683
 
82838
      }
83684
      }
82839
      throw new IllegalStateException();
83685
      throw new IllegalStateException();
Line 82846... Line 83692...
82846
      }
83692
      }
82847
 
83693
 
82848
      switch (field) {
83694
      switch (field) {
82849
      case REFERENCE_ID:
83695
      case REFERENCE_ID:
82850
        return isSetReferenceId();
83696
        return isSetReferenceId();
82851
      case PAYMENT_GATEWAY_ID:
-
 
82852
        return isSetPaymentGatewayId();
-
 
82853
      case IS_REFUND:
83697
      case IS_REFUND:
82854
        return isSetIsRefund();
83698
        return isSetIsRefund();
82855
      }
83699
      }
82856
      throw new IllegalStateException();
83700
      throw new IllegalStateException();
82857
    }
83701
    }
82858
 
83702
 
82859
    @Override
83703
    @Override
82860
    public boolean equals(Object that) {
83704
    public boolean equals(Object that) {
82861
      if (that == null)
83705
      if (that == null)
82862
        return false;
83706
        return false;
82863
      if (that instanceof getSettlementForReferenceId_args)
83707
      if (that instanceof getSettlementForPrepaid_args)
82864
        return this.equals((getSettlementForReferenceId_args)that);
83708
        return this.equals((getSettlementForPrepaid_args)that);
82865
      return false;
83709
      return false;
82866
    }
83710
    }
82867
 
83711
 
82868
    public boolean equals(getSettlementForReferenceId_args that) {
83712
    public boolean equals(getSettlementForPrepaid_args that) {
82869
      if (that == null)
83713
      if (that == null)
82870
        return false;
83714
        return false;
82871
 
83715
 
82872
      boolean this_present_referenceId = true;
83716
      boolean this_present_referenceId = true;
82873
      boolean that_present_referenceId = true;
83717
      boolean that_present_referenceId = true;
Line 82876... Line 83720...
82876
          return false;
83720
          return false;
82877
        if (this.referenceId != that.referenceId)
83721
        if (this.referenceId != that.referenceId)
82878
          return false;
83722
          return false;
82879
      }
83723
      }
82880
 
83724
 
82881
      boolean this_present_paymentGatewayId = true;
-
 
82882
      boolean that_present_paymentGatewayId = true;
-
 
82883
      if (this_present_paymentGatewayId || that_present_paymentGatewayId) {
-
 
82884
        if (!(this_present_paymentGatewayId && that_present_paymentGatewayId))
-
 
82885
          return false;
-
 
82886
        if (this.paymentGatewayId != that.paymentGatewayId)
-
 
82887
          return false;
-
 
82888
      }
-
 
82889
 
-
 
82890
      boolean this_present_isRefund = true;
83725
      boolean this_present_isRefund = true;
82891
      boolean that_present_isRefund = true;
83726
      boolean that_present_isRefund = true;
82892
      if (this_present_isRefund || that_present_isRefund) {
83727
      if (this_present_isRefund || that_present_isRefund) {
82893
        if (!(this_present_isRefund && that_present_isRefund))
83728
        if (!(this_present_isRefund && that_present_isRefund))
82894
          return false;
83729
          return false;
Line 82902... Line 83737...
82902
    @Override
83737
    @Override
82903
    public int hashCode() {
83738
    public int hashCode() {
82904
      return 0;
83739
      return 0;
82905
    }
83740
    }
82906
 
83741
 
82907
    public int compareTo(getSettlementForReferenceId_args other) {
83742
    public int compareTo(getSettlementForPrepaid_args other) {
82908
      if (!getClass().equals(other.getClass())) {
83743
      if (!getClass().equals(other.getClass())) {
82909
        return getClass().getName().compareTo(other.getClass().getName());
83744
        return getClass().getName().compareTo(other.getClass().getName());
82910
      }
83745
      }
82911
 
83746
 
82912
      int lastComparison = 0;
83747
      int lastComparison = 0;
82913
      getSettlementForReferenceId_args typedOther = (getSettlementForReferenceId_args)other;
83748
      getSettlementForPrepaid_args typedOther = (getSettlementForPrepaid_args)other;
82914
 
83749
 
82915
      lastComparison = Boolean.valueOf(isSetReferenceId()).compareTo(typedOther.isSetReferenceId());
83750
      lastComparison = Boolean.valueOf(isSetReferenceId()).compareTo(typedOther.isSetReferenceId());
82916
      if (lastComparison != 0) {
83751
      if (lastComparison != 0) {
82917
        return lastComparison;
83752
        return lastComparison;
82918
      }
83753
      }
Line 82920... Line 83755...
82920
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.referenceId, typedOther.referenceId);
83755
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.referenceId, typedOther.referenceId);
82921
        if (lastComparison != 0) {
83756
        if (lastComparison != 0) {
82922
          return lastComparison;
83757
          return lastComparison;
82923
        }
83758
        }
82924
      }
83759
      }
82925
      lastComparison = Boolean.valueOf(isSetPaymentGatewayId()).compareTo(typedOther.isSetPaymentGatewayId());
-
 
82926
      if (lastComparison != 0) {
-
 
82927
        return lastComparison;
-
 
82928
      }
-
 
82929
      if (isSetPaymentGatewayId()) {
-
 
82930
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentGatewayId, typedOther.paymentGatewayId);
-
 
82931
        if (lastComparison != 0) {
-
 
82932
          return lastComparison;
-
 
82933
        }
-
 
82934
      }
-
 
82935
      lastComparison = Boolean.valueOf(isSetIsRefund()).compareTo(typedOther.isSetIsRefund());
83760
      lastComparison = Boolean.valueOf(isSetIsRefund()).compareTo(typedOther.isSetIsRefund());
82936
      if (lastComparison != 0) {
83761
      if (lastComparison != 0) {
82937
        return lastComparison;
83762
        return lastComparison;
82938
      }
83763
      }
82939
      if (isSetIsRefund()) {
83764
      if (isSetIsRefund()) {
Line 82965... Line 83790...
82965
              setReferenceIdIsSet(true);
83790
              setReferenceIdIsSet(true);
82966
            } else { 
83791
            } else { 
82967
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83792
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82968
            }
83793
            }
82969
            break;
83794
            break;
82970
          case 2: // PAYMENT_GATEWAY_ID
-
 
82971
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
82972
              this.paymentGatewayId = iprot.readI64();
-
 
82973
              setPaymentGatewayIdIsSet(true);
-
 
82974
            } else { 
-
 
82975
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
82976
            }
-
 
82977
            break;
-
 
82978
          case 3: // IS_REFUND
83795
          case 2: // IS_REFUND
82979
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
83796
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
82980
              this.isRefund = iprot.readBool();
83797
              this.isRefund = iprot.readBool();
82981
              setIsRefundIsSet(true);
83798
              setIsRefundIsSet(true);
82982
            } else { 
83799
            } else { 
82983
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83800
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82997... Line 83814...
82997
 
83814
 
82998
      oprot.writeStructBegin(STRUCT_DESC);
83815
      oprot.writeStructBegin(STRUCT_DESC);
82999
      oprot.writeFieldBegin(REFERENCE_ID_FIELD_DESC);
83816
      oprot.writeFieldBegin(REFERENCE_ID_FIELD_DESC);
83000
      oprot.writeI64(this.referenceId);
83817
      oprot.writeI64(this.referenceId);
83001
      oprot.writeFieldEnd();
83818
      oprot.writeFieldEnd();
83002
      oprot.writeFieldBegin(PAYMENT_GATEWAY_ID_FIELD_DESC);
-
 
83003
      oprot.writeI64(this.paymentGatewayId);
-
 
83004
      oprot.writeFieldEnd();
-
 
83005
      oprot.writeFieldBegin(IS_REFUND_FIELD_DESC);
83819
      oprot.writeFieldBegin(IS_REFUND_FIELD_DESC);
83006
      oprot.writeBool(this.isRefund);
83820
      oprot.writeBool(this.isRefund);
83007
      oprot.writeFieldEnd();
83821
      oprot.writeFieldEnd();
83008
      oprot.writeFieldStop();
83822
      oprot.writeFieldStop();
83009
      oprot.writeStructEnd();
83823
      oprot.writeStructEnd();
83010
    }
83824
    }
83011
 
83825
 
83012
    @Override
83826
    @Override
83013
    public String toString() {
83827
    public String toString() {
83014
      StringBuilder sb = new StringBuilder("getSettlementForReferenceId_args(");
83828
      StringBuilder sb = new StringBuilder("getSettlementForPrepaid_args(");
83015
      boolean first = true;
83829
      boolean first = true;
83016
 
83830
 
83017
      sb.append("referenceId:");
83831
      sb.append("referenceId:");
83018
      sb.append(this.referenceId);
83832
      sb.append(this.referenceId);
83019
      first = false;
83833
      first = false;
83020
      if (!first) sb.append(", ");
83834
      if (!first) sb.append(", ");
-
 
83835
      sb.append("isRefund:");
-
 
83836
      sb.append(this.isRefund);
-
 
83837
      first = false;
-
 
83838
      sb.append(")");
-
 
83839
      return sb.toString();
-
 
83840
    }
-
 
83841
 
-
 
83842
    public void validate() throws org.apache.thrift.TException {
-
 
83843
      // check for required fields
-
 
83844
    }
-
 
83845
 
-
 
83846
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
83847
      try {
-
 
83848
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
83849
      } catch (org.apache.thrift.TException te) {
-
 
83850
        throw new java.io.IOException(te);
-
 
83851
      }
-
 
83852
    }
-
 
83853
 
-
 
83854
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
83855
      try {
-
 
83856
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
83857
        __isset_bit_vector = new BitSet(1);
-
 
83858
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
83859
      } catch (org.apache.thrift.TException te) {
-
 
83860
        throw new java.io.IOException(te);
-
 
83861
      }
-
 
83862
    }
-
 
83863
 
-
 
83864
  }
-
 
83865
 
-
 
83866
  public static class getSettlementForPrepaid_result implements org.apache.thrift.TBase<getSettlementForPrepaid_result, getSettlementForPrepaid_result._Fields>, java.io.Serializable, Cloneable   {
-
 
83867
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForPrepaid_result");
-
 
83868
 
-
 
83869
    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);
-
 
83870
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
83871
 
-
 
83872
    private PaymentSettlement success; // required
-
 
83873
    private TransactionServiceException ex; // required
-
 
83874
 
-
 
83875
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
83876
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
83877
      SUCCESS((short)0, "success"),
-
 
83878
      EX((short)1, "ex");
-
 
83879
 
-
 
83880
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
83881
 
-
 
83882
      static {
-
 
83883
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
83884
          byName.put(field.getFieldName(), field);
-
 
83885
        }
-
 
83886
      }
-
 
83887
 
-
 
83888
      /**
-
 
83889
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
83890
       */
-
 
83891
      public static _Fields findByThriftId(int fieldId) {
-
 
83892
        switch(fieldId) {
-
 
83893
          case 0: // SUCCESS
-
 
83894
            return SUCCESS;
-
 
83895
          case 1: // EX
-
 
83896
            return EX;
-
 
83897
          default:
-
 
83898
            return null;
-
 
83899
        }
-
 
83900
      }
-
 
83901
 
-
 
83902
      /**
-
 
83903
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
83904
       * if it is not found.
-
 
83905
       */
-
 
83906
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
83907
        _Fields fields = findByThriftId(fieldId);
-
 
83908
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
83909
        return fields;
-
 
83910
      }
-
 
83911
 
-
 
83912
      /**
-
 
83913
       * Find the _Fields constant that matches name, or null if its not found.
-
 
83914
       */
-
 
83915
      public static _Fields findByName(String name) {
-
 
83916
        return byName.get(name);
-
 
83917
      }
-
 
83918
 
-
 
83919
      private final short _thriftId;
-
 
83920
      private final String _fieldName;
-
 
83921
 
-
 
83922
      _Fields(short thriftId, String fieldName) {
-
 
83923
        _thriftId = thriftId;
-
 
83924
        _fieldName = fieldName;
-
 
83925
      }
-
 
83926
 
-
 
83927
      public short getThriftFieldId() {
-
 
83928
        return _thriftId;
-
 
83929
      }
-
 
83930
 
-
 
83931
      public String getFieldName() {
-
 
83932
        return _fieldName;
-
 
83933
      }
-
 
83934
    }
-
 
83935
 
-
 
83936
    // isset id assignments
-
 
83937
 
-
 
83938
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
83939
    static {
-
 
83940
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
83941
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
83942
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PaymentSettlement.class)));
-
 
83943
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
83944
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
83945
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
83946
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForPrepaid_result.class, metaDataMap);
-
 
83947
    }
-
 
83948
 
-
 
83949
    public getSettlementForPrepaid_result() {
-
 
83950
    }
-
 
83951
 
-
 
83952
    public getSettlementForPrepaid_result(
-
 
83953
      PaymentSettlement success,
-
 
83954
      TransactionServiceException ex)
-
 
83955
    {
-
 
83956
      this();
-
 
83957
      this.success = success;
-
 
83958
      this.ex = ex;
-
 
83959
    }
-
 
83960
 
-
 
83961
    /**
-
 
83962
     * Performs a deep copy on <i>other</i>.
-
 
83963
     */
-
 
83964
    public getSettlementForPrepaid_result(getSettlementForPrepaid_result other) {
-
 
83965
      if (other.isSetSuccess()) {
-
 
83966
        this.success = new PaymentSettlement(other.success);
-
 
83967
      }
-
 
83968
      if (other.isSetEx()) {
-
 
83969
        this.ex = new TransactionServiceException(other.ex);
-
 
83970
      }
-
 
83971
    }
-
 
83972
 
-
 
83973
    public getSettlementForPrepaid_result deepCopy() {
-
 
83974
      return new getSettlementForPrepaid_result(this);
-
 
83975
    }
-
 
83976
 
-
 
83977
    @Override
-
 
83978
    public void clear() {
-
 
83979
      this.success = null;
-
 
83980
      this.ex = null;
-
 
83981
    }
-
 
83982
 
-
 
83983
    public PaymentSettlement getSuccess() {
-
 
83984
      return this.success;
-
 
83985
    }
-
 
83986
 
-
 
83987
    public void setSuccess(PaymentSettlement success) {
-
 
83988
      this.success = success;
-
 
83989
    }
-
 
83990
 
-
 
83991
    public void unsetSuccess() {
-
 
83992
      this.success = null;
-
 
83993
    }
-
 
83994
 
-
 
83995
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
83996
    public boolean isSetSuccess() {
-
 
83997
      return this.success != null;
-
 
83998
    }
-
 
83999
 
-
 
84000
    public void setSuccessIsSet(boolean value) {
-
 
84001
      if (!value) {
-
 
84002
        this.success = null;
-
 
84003
      }
-
 
84004
    }
-
 
84005
 
-
 
84006
    public TransactionServiceException getEx() {
-
 
84007
      return this.ex;
-
 
84008
    }
-
 
84009
 
-
 
84010
    public void setEx(TransactionServiceException ex) {
-
 
84011
      this.ex = ex;
-
 
84012
    }
-
 
84013
 
-
 
84014
    public void unsetEx() {
-
 
84015
      this.ex = null;
-
 
84016
    }
-
 
84017
 
-
 
84018
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
84019
    public boolean isSetEx() {
-
 
84020
      return this.ex != null;
-
 
84021
    }
-
 
84022
 
-
 
84023
    public void setExIsSet(boolean value) {
-
 
84024
      if (!value) {
-
 
84025
        this.ex = null;
-
 
84026
      }
-
 
84027
    }
-
 
84028
 
-
 
84029
    public void setFieldValue(_Fields field, Object value) {
-
 
84030
      switch (field) {
-
 
84031
      case SUCCESS:
-
 
84032
        if (value == null) {
-
 
84033
          unsetSuccess();
-
 
84034
        } else {
-
 
84035
          setSuccess((PaymentSettlement)value);
-
 
84036
        }
-
 
84037
        break;
-
 
84038
 
-
 
84039
      case EX:
-
 
84040
        if (value == null) {
-
 
84041
          unsetEx();
-
 
84042
        } else {
-
 
84043
          setEx((TransactionServiceException)value);
-
 
84044
        }
-
 
84045
        break;
-
 
84046
 
-
 
84047
      }
-
 
84048
    }
-
 
84049
 
-
 
84050
    public Object getFieldValue(_Fields field) {
-
 
84051
      switch (field) {
-
 
84052
      case SUCCESS:
-
 
84053
        return getSuccess();
-
 
84054
 
-
 
84055
      case EX:
-
 
84056
        return getEx();
-
 
84057
 
-
 
84058
      }
-
 
84059
      throw new IllegalStateException();
-
 
84060
    }
-
 
84061
 
-
 
84062
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
84063
    public boolean isSet(_Fields field) {
-
 
84064
      if (field == null) {
-
 
84065
        throw new IllegalArgumentException();
-
 
84066
      }
-
 
84067
 
-
 
84068
      switch (field) {
-
 
84069
      case SUCCESS:
-
 
84070
        return isSetSuccess();
-
 
84071
      case EX:
-
 
84072
        return isSetEx();
-
 
84073
      }
-
 
84074
      throw new IllegalStateException();
-
 
84075
    }
-
 
84076
 
-
 
84077
    @Override
-
 
84078
    public boolean equals(Object that) {
-
 
84079
      if (that == null)
-
 
84080
        return false;
-
 
84081
      if (that instanceof getSettlementForPrepaid_result)
-
 
84082
        return this.equals((getSettlementForPrepaid_result)that);
-
 
84083
      return false;
-
 
84084
    }
-
 
84085
 
-
 
84086
    public boolean equals(getSettlementForPrepaid_result that) {
-
 
84087
      if (that == null)
-
 
84088
        return false;
-
 
84089
 
-
 
84090
      boolean this_present_success = true && this.isSetSuccess();
-
 
84091
      boolean that_present_success = true && that.isSetSuccess();
-
 
84092
      if (this_present_success || that_present_success) {
-
 
84093
        if (!(this_present_success && that_present_success))
-
 
84094
          return false;
-
 
84095
        if (!this.success.equals(that.success))
-
 
84096
          return false;
-
 
84097
      }
-
 
84098
 
-
 
84099
      boolean this_present_ex = true && this.isSetEx();
-
 
84100
      boolean that_present_ex = true && that.isSetEx();
-
 
84101
      if (this_present_ex || that_present_ex) {
-
 
84102
        if (!(this_present_ex && that_present_ex))
-
 
84103
          return false;
-
 
84104
        if (!this.ex.equals(that.ex))
-
 
84105
          return false;
-
 
84106
      }
-
 
84107
 
-
 
84108
      return true;
-
 
84109
    }
-
 
84110
 
-
 
84111
    @Override
-
 
84112
    public int hashCode() {
-
 
84113
      return 0;
-
 
84114
    }
-
 
84115
 
-
 
84116
    public int compareTo(getSettlementForPrepaid_result other) {
-
 
84117
      if (!getClass().equals(other.getClass())) {
-
 
84118
        return getClass().getName().compareTo(other.getClass().getName());
-
 
84119
      }
-
 
84120
 
-
 
84121
      int lastComparison = 0;
-
 
84122
      getSettlementForPrepaid_result typedOther = (getSettlementForPrepaid_result)other;
-
 
84123
 
-
 
84124
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
84125
      if (lastComparison != 0) {
-
 
84126
        return lastComparison;
-
 
84127
      }
-
 
84128
      if (isSetSuccess()) {
-
 
84129
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
84130
        if (lastComparison != 0) {
-
 
84131
          return lastComparison;
-
 
84132
        }
-
 
84133
      }
-
 
84134
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
84135
      if (lastComparison != 0) {
-
 
84136
        return lastComparison;
-
 
84137
      }
-
 
84138
      if (isSetEx()) {
-
 
84139
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
84140
        if (lastComparison != 0) {
-
 
84141
          return lastComparison;
-
 
84142
        }
-
 
84143
      }
-
 
84144
      return 0;
-
 
84145
    }
-
 
84146
 
-
 
84147
    public _Fields fieldForId(int fieldId) {
-
 
84148
      return _Fields.findByThriftId(fieldId);
-
 
84149
    }
-
 
84150
 
-
 
84151
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
84152
      org.apache.thrift.protocol.TField field;
-
 
84153
      iprot.readStructBegin();
-
 
84154
      while (true)
-
 
84155
      {
-
 
84156
        field = iprot.readFieldBegin();
-
 
84157
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
84158
          break;
-
 
84159
        }
-
 
84160
        switch (field.id) {
-
 
84161
          case 0: // SUCCESS
-
 
84162
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
84163
              this.success = new PaymentSettlement();
-
 
84164
              this.success.read(iprot);
-
 
84165
            } else { 
-
 
84166
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
84167
            }
-
 
84168
            break;
-
 
84169
          case 1: // EX
-
 
84170
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
84171
              this.ex = new TransactionServiceException();
-
 
84172
              this.ex.read(iprot);
-
 
84173
            } else { 
-
 
84174
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
84175
            }
-
 
84176
            break;
-
 
84177
          default:
-
 
84178
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
84179
        }
-
 
84180
        iprot.readFieldEnd();
-
 
84181
      }
-
 
84182
      iprot.readStructEnd();
-
 
84183
      validate();
-
 
84184
    }
-
 
84185
 
-
 
84186
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
84187
      oprot.writeStructBegin(STRUCT_DESC);
-
 
84188
 
-
 
84189
      if (this.isSetSuccess()) {
-
 
84190
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
84191
        this.success.write(oprot);
-
 
84192
        oprot.writeFieldEnd();
-
 
84193
      } else if (this.isSetEx()) {
-
 
84194
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
84195
        this.ex.write(oprot);
-
 
84196
        oprot.writeFieldEnd();
-
 
84197
      }
-
 
84198
      oprot.writeFieldStop();
-
 
84199
      oprot.writeStructEnd();
-
 
84200
    }
-
 
84201
 
-
 
84202
    @Override
-
 
84203
    public String toString() {
-
 
84204
      StringBuilder sb = new StringBuilder("getSettlementForPrepaid_result(");
-
 
84205
      boolean first = true;
-
 
84206
 
-
 
84207
      sb.append("success:");
-
 
84208
      if (this.success == null) {
-
 
84209
        sb.append("null");
-
 
84210
      } else {
-
 
84211
        sb.append(this.success);
-
 
84212
      }
-
 
84213
      first = false;
-
 
84214
      if (!first) sb.append(", ");
-
 
84215
      sb.append("ex:");
-
 
84216
      if (this.ex == null) {
-
 
84217
        sb.append("null");
-
 
84218
      } else {
-
 
84219
        sb.append(this.ex);
-
 
84220
      }
-
 
84221
      first = false;
-
 
84222
      sb.append(")");
-
 
84223
      return sb.toString();
-
 
84224
    }
-
 
84225
 
-
 
84226
    public void validate() throws org.apache.thrift.TException {
-
 
84227
      // check for required fields
-
 
84228
    }
-
 
84229
 
-
 
84230
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
84231
      try {
-
 
84232
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
84233
      } catch (org.apache.thrift.TException te) {
-
 
84234
        throw new java.io.IOException(te);
-
 
84235
      }
-
 
84236
    }
-
 
84237
 
-
 
84238
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
84239
      try {
-
 
84240
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
84241
      } catch (org.apache.thrift.TException te) {
-
 
84242
        throw new java.io.IOException(te);
-
 
84243
      }
-
 
84244
    }
-
 
84245
 
-
 
84246
  }
-
 
84247
 
-
 
84248
  public static class getSettlementForCod_args implements org.apache.thrift.TBase<getSettlementForCod_args, getSettlementForCod_args._Fields>, java.io.Serializable, Cloneable   {
-
 
84249
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForCod_args");
-
 
84250
 
-
 
84251
    private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
84252
    private static final org.apache.thrift.protocol.TField IS_REFUND_FIELD_DESC = new org.apache.thrift.protocol.TField("isRefund", org.apache.thrift.protocol.TType.BOOL, (short)2);
-
 
84253
 
-
 
84254
    private long orderId; // required
-
 
84255
    private boolean isRefund; // required
-
 
84256
 
-
 
84257
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
84258
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
84259
      ORDER_ID((short)1, "orderId"),
-
 
84260
      IS_REFUND((short)2, "isRefund");
-
 
84261
 
-
 
84262
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
84263
 
-
 
84264
      static {
-
 
84265
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
84266
          byName.put(field.getFieldName(), field);
-
 
84267
        }
-
 
84268
      }
-
 
84269
 
-
 
84270
      /**
-
 
84271
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
84272
       */
-
 
84273
      public static _Fields findByThriftId(int fieldId) {
-
 
84274
        switch(fieldId) {
-
 
84275
          case 1: // ORDER_ID
-
 
84276
            return ORDER_ID;
-
 
84277
          case 2: // IS_REFUND
-
 
84278
            return IS_REFUND;
-
 
84279
          default:
-
 
84280
            return null;
-
 
84281
        }
-
 
84282
      }
-
 
84283
 
-
 
84284
      /**
-
 
84285
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
84286
       * if it is not found.
-
 
84287
       */
-
 
84288
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
84289
        _Fields fields = findByThriftId(fieldId);
-
 
84290
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
84291
        return fields;
-
 
84292
      }
-
 
84293
 
-
 
84294
      /**
-
 
84295
       * Find the _Fields constant that matches name, or null if its not found.
-
 
84296
       */
-
 
84297
      public static _Fields findByName(String name) {
-
 
84298
        return byName.get(name);
-
 
84299
      }
-
 
84300
 
-
 
84301
      private final short _thriftId;
-
 
84302
      private final String _fieldName;
-
 
84303
 
-
 
84304
      _Fields(short thriftId, String fieldName) {
-
 
84305
        _thriftId = thriftId;
-
 
84306
        _fieldName = fieldName;
-
 
84307
      }
-
 
84308
 
-
 
84309
      public short getThriftFieldId() {
-
 
84310
        return _thriftId;
-
 
84311
      }
-
 
84312
 
-
 
84313
      public String getFieldName() {
-
 
84314
        return _fieldName;
-
 
84315
      }
-
 
84316
    }
-
 
84317
 
-
 
84318
    // isset id assignments
-
 
84319
    private static final int __ORDERID_ISSET_ID = 0;
-
 
84320
    private static final int __ISREFUND_ISSET_ID = 1;
-
 
84321
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
84322
 
-
 
84323
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
84324
    static {
-
 
84325
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
84326
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
84327
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
84328
      tmpMap.put(_Fields.IS_REFUND, new org.apache.thrift.meta_data.FieldMetaData("isRefund", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
84329
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
84330
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
84331
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForCod_args.class, metaDataMap);
-
 
84332
    }
-
 
84333
 
-
 
84334
    public getSettlementForCod_args() {
-
 
84335
    }
-
 
84336
 
-
 
84337
    public getSettlementForCod_args(
-
 
84338
      long orderId,
-
 
84339
      boolean isRefund)
-
 
84340
    {
-
 
84341
      this();
-
 
84342
      this.orderId = orderId;
-
 
84343
      setOrderIdIsSet(true);
-
 
84344
      this.isRefund = isRefund;
-
 
84345
      setIsRefundIsSet(true);
-
 
84346
    }
-
 
84347
 
-
 
84348
    /**
-
 
84349
     * Performs a deep copy on <i>other</i>.
-
 
84350
     */
-
 
84351
    public getSettlementForCod_args(getSettlementForCod_args other) {
-
 
84352
      __isset_bit_vector.clear();
-
 
84353
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
84354
      this.orderId = other.orderId;
-
 
84355
      this.isRefund = other.isRefund;
-
 
84356
    }
-
 
84357
 
-
 
84358
    public getSettlementForCod_args deepCopy() {
-
 
84359
      return new getSettlementForCod_args(this);
-
 
84360
    }
-
 
84361
 
-
 
84362
    @Override
-
 
84363
    public void clear() {
-
 
84364
      setOrderIdIsSet(false);
-
 
84365
      this.orderId = 0;
-
 
84366
      setIsRefundIsSet(false);
-
 
84367
      this.isRefund = false;
-
 
84368
    }
-
 
84369
 
-
 
84370
    public long getOrderId() {
-
 
84371
      return this.orderId;
-
 
84372
    }
-
 
84373
 
-
 
84374
    public void setOrderId(long orderId) {
-
 
84375
      this.orderId = orderId;
-
 
84376
      setOrderIdIsSet(true);
-
 
84377
    }
-
 
84378
 
-
 
84379
    public void unsetOrderId() {
-
 
84380
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
84381
    }
-
 
84382
 
-
 
84383
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
84384
    public boolean isSetOrderId() {
-
 
84385
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
84386
    }
-
 
84387
 
-
 
84388
    public void setOrderIdIsSet(boolean value) {
-
 
84389
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
84390
    }
-
 
84391
 
-
 
84392
    public boolean isIsRefund() {
-
 
84393
      return this.isRefund;
-
 
84394
    }
-
 
84395
 
-
 
84396
    public void setIsRefund(boolean isRefund) {
-
 
84397
      this.isRefund = isRefund;
-
 
84398
      setIsRefundIsSet(true);
-
 
84399
    }
-
 
84400
 
-
 
84401
    public void unsetIsRefund() {
-
 
84402
      __isset_bit_vector.clear(__ISREFUND_ISSET_ID);
-
 
84403
    }
-
 
84404
 
-
 
84405
    /** Returns true if field isRefund is set (has been assigned a value) and false otherwise */
-
 
84406
    public boolean isSetIsRefund() {
-
 
84407
      return __isset_bit_vector.get(__ISREFUND_ISSET_ID);
-
 
84408
    }
-
 
84409
 
-
 
84410
    public void setIsRefundIsSet(boolean value) {
-
 
84411
      __isset_bit_vector.set(__ISREFUND_ISSET_ID, value);
-
 
84412
    }
-
 
84413
 
-
 
84414
    public void setFieldValue(_Fields field, Object value) {
-
 
84415
      switch (field) {
-
 
84416
      case ORDER_ID:
-
 
84417
        if (value == null) {
-
 
84418
          unsetOrderId();
-
 
84419
        } else {
-
 
84420
          setOrderId((Long)value);
-
 
84421
        }
-
 
84422
        break;
-
 
84423
 
-
 
84424
      case IS_REFUND:
-
 
84425
        if (value == null) {
-
 
84426
          unsetIsRefund();
-
 
84427
        } else {
-
 
84428
          setIsRefund((Boolean)value);
-
 
84429
        }
-
 
84430
        break;
-
 
84431
 
-
 
84432
      }
-
 
84433
    }
-
 
84434
 
-
 
84435
    public Object getFieldValue(_Fields field) {
-
 
84436
      switch (field) {
-
 
84437
      case ORDER_ID:
-
 
84438
        return Long.valueOf(getOrderId());
-
 
84439
 
-
 
84440
      case IS_REFUND:
-
 
84441
        return Boolean.valueOf(isIsRefund());
-
 
84442
 
-
 
84443
      }
-
 
84444
      throw new IllegalStateException();
-
 
84445
    }
-
 
84446
 
-
 
84447
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
84448
    public boolean isSet(_Fields field) {
-
 
84449
      if (field == null) {
-
 
84450
        throw new IllegalArgumentException();
-
 
84451
      }
-
 
84452
 
-
 
84453
      switch (field) {
-
 
84454
      case ORDER_ID:
-
 
84455
        return isSetOrderId();
-
 
84456
      case IS_REFUND:
-
 
84457
        return isSetIsRefund();
-
 
84458
      }
-
 
84459
      throw new IllegalStateException();
-
 
84460
    }
-
 
84461
 
-
 
84462
    @Override
-
 
84463
    public boolean equals(Object that) {
-
 
84464
      if (that == null)
-
 
84465
        return false;
-
 
84466
      if (that instanceof getSettlementForCod_args)
-
 
84467
        return this.equals((getSettlementForCod_args)that);
-
 
84468
      return false;
-
 
84469
    }
-
 
84470
 
-
 
84471
    public boolean equals(getSettlementForCod_args that) {
-
 
84472
      if (that == null)
-
 
84473
        return false;
-
 
84474
 
-
 
84475
      boolean this_present_orderId = true;
-
 
84476
      boolean that_present_orderId = true;
-
 
84477
      if (this_present_orderId || that_present_orderId) {
-
 
84478
        if (!(this_present_orderId && that_present_orderId))
-
 
84479
          return false;
-
 
84480
        if (this.orderId != that.orderId)
-
 
84481
          return false;
-
 
84482
      }
-
 
84483
 
-
 
84484
      boolean this_present_isRefund = true;
-
 
84485
      boolean that_present_isRefund = true;
-
 
84486
      if (this_present_isRefund || that_present_isRefund) {
-
 
84487
        if (!(this_present_isRefund && that_present_isRefund))
-
 
84488
          return false;
-
 
84489
        if (this.isRefund != that.isRefund)
-
 
84490
          return false;
-
 
84491
      }
-
 
84492
 
-
 
84493
      return true;
-
 
84494
    }
-
 
84495
 
-
 
84496
    @Override
-
 
84497
    public int hashCode() {
-
 
84498
      return 0;
-
 
84499
    }
-
 
84500
 
-
 
84501
    public int compareTo(getSettlementForCod_args other) {
-
 
84502
      if (!getClass().equals(other.getClass())) {
-
 
84503
        return getClass().getName().compareTo(other.getClass().getName());
-
 
84504
      }
-
 
84505
 
-
 
84506
      int lastComparison = 0;
-
 
84507
      getSettlementForCod_args typedOther = (getSettlementForCod_args)other;
-
 
84508
 
-
 
84509
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
84510
      if (lastComparison != 0) {
-
 
84511
        return lastComparison;
-
 
84512
      }
-
 
84513
      if (isSetOrderId()) {
-
 
84514
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
84515
        if (lastComparison != 0) {
-
 
84516
          return lastComparison;
-
 
84517
        }
-
 
84518
      }
-
 
84519
      lastComparison = Boolean.valueOf(isSetIsRefund()).compareTo(typedOther.isSetIsRefund());
-
 
84520
      if (lastComparison != 0) {
-
 
84521
        return lastComparison;
-
 
84522
      }
-
 
84523
      if (isSetIsRefund()) {
-
 
84524
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isRefund, typedOther.isRefund);
-
 
84525
        if (lastComparison != 0) {
-
 
84526
          return lastComparison;
-
 
84527
        }
-
 
84528
      }
-
 
84529
      return 0;
-
 
84530
    }
-
 
84531
 
-
 
84532
    public _Fields fieldForId(int fieldId) {
-
 
84533
      return _Fields.findByThriftId(fieldId);
-
 
84534
    }
-
 
84535
 
-
 
84536
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
84537
      org.apache.thrift.protocol.TField field;
-
 
84538
      iprot.readStructBegin();
-
 
84539
      while (true)
-
 
84540
      {
-
 
84541
        field = iprot.readFieldBegin();
-
 
84542
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
84543
          break;
-
 
84544
        }
-
 
84545
        switch (field.id) {
-
 
84546
          case 1: // ORDER_ID
-
 
84547
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
84548
              this.orderId = iprot.readI64();
-
 
84549
              setOrderIdIsSet(true);
-
 
84550
            } else { 
-
 
84551
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
84552
            }
-
 
84553
            break;
-
 
84554
          case 2: // IS_REFUND
-
 
84555
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
84556
              this.isRefund = iprot.readBool();
-
 
84557
              setIsRefundIsSet(true);
-
 
84558
            } else { 
-
 
84559
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
84560
            }
-
 
84561
            break;
-
 
84562
          default:
-
 
84563
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
84564
        }
-
 
84565
        iprot.readFieldEnd();
-
 
84566
      }
-
 
84567
      iprot.readStructEnd();
-
 
84568
      validate();
-
 
84569
    }
-
 
84570
 
-
 
84571
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
84572
      validate();
-
 
84573
 
-
 
84574
      oprot.writeStructBegin(STRUCT_DESC);
-
 
84575
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
84576
      oprot.writeI64(this.orderId);
-
 
84577
      oprot.writeFieldEnd();
-
 
84578
      oprot.writeFieldBegin(IS_REFUND_FIELD_DESC);
-
 
84579
      oprot.writeBool(this.isRefund);
-
 
84580
      oprot.writeFieldEnd();
-
 
84581
      oprot.writeFieldStop();
-
 
84582
      oprot.writeStructEnd();
-
 
84583
    }
-
 
84584
 
-
 
84585
    @Override
-
 
84586
    public String toString() {
-
 
84587
      StringBuilder sb = new StringBuilder("getSettlementForCod_args(");
-
 
84588
      boolean first = true;
-
 
84589
 
83021
      sb.append("paymentGatewayId:");
84590
      sb.append("orderId:");
83022
      sb.append(this.paymentGatewayId);
84591
      sb.append(this.orderId);
83023
      first = false;
84592
      first = false;
83024
      if (!first) sb.append(", ");
84593
      if (!first) sb.append(", ");
83025
      sb.append("isRefund:");
84594
      sb.append("isRefund:");
83026
      sb.append(this.isRefund);
84595
      sb.append(this.isRefund);
83027
      first = false;
84596
      first = false;
Line 83051... Line 84620...
83051
      }
84620
      }
83052
    }
84621
    }
83053
 
84622
 
83054
  }
84623
  }
83055
 
84624
 
83056
  public static class getSettlementForReferenceId_result implements org.apache.thrift.TBase<getSettlementForReferenceId_result, getSettlementForReferenceId_result._Fields>, java.io.Serializable, Cloneable   {
84625
  public static class getSettlementForCod_result implements org.apache.thrift.TBase<getSettlementForCod_result, getSettlementForCod_result._Fields>, java.io.Serializable, Cloneable   {
83057
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForReferenceId_result");
84626
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForCod_result");
83058
 
84627
 
83059
    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);
84628
    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);
83060
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
84629
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
83061
 
84630
 
83062
    private PaymentSettlement success; // required
84631
    private PaymentSettlement success; // required
Line 83131... Line 84700...
83131
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
84700
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
83132
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PaymentSettlement.class)));
84701
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PaymentSettlement.class)));
83133
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
84702
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
83134
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
84703
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
83135
      metaDataMap = Collections.unmodifiableMap(tmpMap);
84704
      metaDataMap = Collections.unmodifiableMap(tmpMap);
83136
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForReferenceId_result.class, metaDataMap);
84705
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForCod_result.class, metaDataMap);
83137
    }
84706
    }
83138
 
84707
 
83139
    public getSettlementForReferenceId_result() {
84708
    public getSettlementForCod_result() {
83140
    }
84709
    }
83141
 
84710
 
83142
    public getSettlementForReferenceId_result(
84711
    public getSettlementForCod_result(
83143
      PaymentSettlement success,
84712
      PaymentSettlement success,
83144
      TransactionServiceException ex)
84713
      TransactionServiceException ex)
83145
    {
84714
    {
83146
      this();
84715
      this();
83147
      this.success = success;
84716
      this.success = success;
Line 83149... Line 84718...
83149
    }
84718
    }
83150
 
84719
 
83151
    /**
84720
    /**
83152
     * Performs a deep copy on <i>other</i>.
84721
     * Performs a deep copy on <i>other</i>.
83153
     */
84722
     */
83154
    public getSettlementForReferenceId_result(getSettlementForReferenceId_result other) {
84723
    public getSettlementForCod_result(getSettlementForCod_result other) {
83155
      if (other.isSetSuccess()) {
84724
      if (other.isSetSuccess()) {
83156
        this.success = new PaymentSettlement(other.success);
84725
        this.success = new PaymentSettlement(other.success);
83157
      }
84726
      }
83158
      if (other.isSetEx()) {
84727
      if (other.isSetEx()) {
83159
        this.ex = new TransactionServiceException(other.ex);
84728
        this.ex = new TransactionServiceException(other.ex);
83160
      }
84729
      }
83161
    }
84730
    }
83162
 
84731
 
83163
    public getSettlementForReferenceId_result deepCopy() {
84732
    public getSettlementForCod_result deepCopy() {
83164
      return new getSettlementForReferenceId_result(this);
84733
      return new getSettlementForCod_result(this);
83165
    }
84734
    }
83166
 
84735
 
83167
    @Override
84736
    @Override
83168
    public void clear() {
84737
    public void clear() {
83169
      this.success = null;
84738
      this.success = null;
Line 83266... Line 84835...
83266
 
84835
 
83267
    @Override
84836
    @Override
83268
    public boolean equals(Object that) {
84837
    public boolean equals(Object that) {
83269
      if (that == null)
84838
      if (that == null)
83270
        return false;
84839
        return false;
83271
      if (that instanceof getSettlementForReferenceId_result)
84840
      if (that instanceof getSettlementForCod_result)
83272
        return this.equals((getSettlementForReferenceId_result)that);
84841
        return this.equals((getSettlementForCod_result)that);
83273
      return false;
84842
      return false;
83274
    }
84843
    }
83275
 
84844
 
83276
    public boolean equals(getSettlementForReferenceId_result that) {
84845
    public boolean equals(getSettlementForCod_result that) {
83277
      if (that == null)
84846
      if (that == null)
83278
        return false;
84847
        return false;
83279
 
84848
 
83280
      boolean this_present_success = true && this.isSetSuccess();
84849
      boolean this_present_success = true && this.isSetSuccess();
83281
      boolean that_present_success = true && that.isSetSuccess();
84850
      boolean that_present_success = true && that.isSetSuccess();
Line 83301... Line 84870...
83301
    @Override
84870
    @Override
83302
    public int hashCode() {
84871
    public int hashCode() {
83303
      return 0;
84872
      return 0;
83304
    }
84873
    }
83305
 
84874
 
83306
    public int compareTo(getSettlementForReferenceId_result other) {
84875
    public int compareTo(getSettlementForCod_result other) {
83307
      if (!getClass().equals(other.getClass())) {
84876
      if (!getClass().equals(other.getClass())) {
83308
        return getClass().getName().compareTo(other.getClass().getName());
84877
        return getClass().getName().compareTo(other.getClass().getName());
83309
      }
84878
      }
83310
 
84879
 
83311
      int lastComparison = 0;
84880
      int lastComparison = 0;
83312
      getSettlementForReferenceId_result typedOther = (getSettlementForReferenceId_result)other;
84881
      getSettlementForCod_result typedOther = (getSettlementForCod_result)other;
83313
 
84882
 
83314
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
84883
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
83315
      if (lastComparison != 0) {
84884
      if (lastComparison != 0) {
83316
        return lastComparison;
84885
        return lastComparison;
83317
      }
84886
      }
Line 83389... Line 84958...
83389
      oprot.writeStructEnd();
84958
      oprot.writeStructEnd();
83390
    }
84959
    }
83391
 
84960
 
83392
    @Override
84961
    @Override
83393
    public String toString() {
84962
    public String toString() {
83394
      StringBuilder sb = new StringBuilder("getSettlementForReferenceId_result(");
84963
      StringBuilder sb = new StringBuilder("getSettlementForCod_result(");
83395
      boolean first = true;
84964
      boolean first = true;
83396
 
84965
 
83397
      sb.append("success:");
84966
      sb.append("success:");
83398
      if (this.success == null) {
84967
      if (this.success == null) {
83399
        sb.append("null");
84968
        sb.append("null");
Line 83956... Line 85525...
83956
        }
85525
        }
83957
        switch (field.id) {
85526
        switch (field.id) {
83958
          case 0: // SUCCESS
85527
          case 0: // SUCCESS
83959
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
85528
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
83960
              {
85529
              {
83961
                org.apache.thrift.protocol.TMap _map262 = iprot.readMapBegin();
85530
                org.apache.thrift.protocol.TMap _map270 = iprot.readMapBegin();
83962
                this.success = new HashMap<Long,String>(2*_map262.size);
85531
                this.success = new HashMap<Long,String>(2*_map270.size);
83963
                for (int _i263 = 0; _i263 < _map262.size; ++_i263)
85532
                for (int _i271 = 0; _i271 < _map270.size; ++_i271)
83964
                {
85533
                {
83965
                  long _key264; // required
85534
                  long _key272; // required
83966
                  String _val265; // required
85535
                  String _val273; // required
83967
                  _key264 = iprot.readI64();
85536
                  _key272 = iprot.readI64();
83968
                  _val265 = iprot.readString();
85537
                  _val273 = iprot.readString();
83969
                  this.success.put(_key264, _val265);
85538
                  this.success.put(_key272, _val273);
83970
                }
85539
                }
83971
                iprot.readMapEnd();
85540
                iprot.readMapEnd();
83972
              }
85541
              }
83973
            } else { 
85542
            } else { 
83974
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85543
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83996... Line 85565...
83996
 
85565
 
83997
      if (this.isSetSuccess()) {
85566
      if (this.isSetSuccess()) {
83998
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85567
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83999
        {
85568
        {
84000
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
85569
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
84001
          for (Map.Entry<Long, String> _iter266 : this.success.entrySet())
85570
          for (Map.Entry<Long, String> _iter274 : this.success.entrySet())
84002
          {
85571
          {
84003
            oprot.writeI64(_iter266.getKey());
85572
            oprot.writeI64(_iter274.getKey());
84004
            oprot.writeString(_iter266.getValue());
85573
            oprot.writeString(_iter274.getValue());
84005
          }
85574
          }
84006
          oprot.writeMapEnd();
85575
          oprot.writeMapEnd();
84007
        }
85576
        }
84008
        oprot.writeFieldEnd();
85577
        oprot.writeFieldEnd();
84009
      } else if (this.isSetEx()) {
85578
      } else if (this.isSetEx()) {
Line 86100... Line 87669...
86100
        }
87669
        }
86101
        switch (field.id) {
87670
        switch (field.id) {
86102
          case 0: // SUCCESS
87671
          case 0: // SUCCESS
86103
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87672
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86104
              {
87673
              {
86105
                org.apache.thrift.protocol.TList _list267 = iprot.readListBegin();
87674
                org.apache.thrift.protocol.TList _list275 = iprot.readListBegin();
86106
                this.success = new ArrayList<PaymentSettlement>(_list267.size);
87675
                this.success = new ArrayList<PaymentSettlement>(_list275.size);
86107
                for (int _i268 = 0; _i268 < _list267.size; ++_i268)
87676
                for (int _i276 = 0; _i276 < _list275.size; ++_i276)
86108
                {
87677
                {
86109
                  PaymentSettlement _elem269; // required
87678
                  PaymentSettlement _elem277; // required
86110
                  _elem269 = new PaymentSettlement();
87679
                  _elem277 = new PaymentSettlement();
86111
                  _elem269.read(iprot);
87680
                  _elem277.read(iprot);
86112
                  this.success.add(_elem269);
87681
                  this.success.add(_elem277);
86113
                }
87682
                }
86114
                iprot.readListEnd();
87683
                iprot.readListEnd();
86115
              }
87684
              }
86116
            } else { 
87685
            } else { 
86117
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
87686
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 86139... Line 87708...
86139
 
87708
 
86140
      if (this.isSetSuccess()) {
87709
      if (this.isSetSuccess()) {
86141
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87710
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
86142
        {
87711
        {
86143
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
87712
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
86144
          for (PaymentSettlement _iter270 : this.success)
87713
          for (PaymentSettlement _iter278 : this.success)
86145
          {
87714
          {
86146
            _iter270.write(oprot);
87715
            _iter278.write(oprot);
86147
          }
87716
          }
86148
          oprot.writeListEnd();
87717
          oprot.writeListEnd();
86149
        }
87718
        }
86150
        oprot.writeFieldEnd();
87719
        oprot.writeFieldEnd();
86151
      } else if (this.isSetEx()) {
87720
      } else if (this.isSetEx()) {
Line 86451... Line 88020...
86451
        }
88020
        }
86452
        switch (field.id) {
88021
        switch (field.id) {
86453
          case 1: // ORDER_IDS
88022
          case 1: // ORDER_IDS
86454
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88023
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86455
              {
88024
              {
86456
                org.apache.thrift.protocol.TList _list271 = iprot.readListBegin();
88025
                org.apache.thrift.protocol.TList _list279 = iprot.readListBegin();
86457
                this.orderIds = new ArrayList<Long>(_list271.size);
88026
                this.orderIds = new ArrayList<Long>(_list279.size);
86458
                for (int _i272 = 0; _i272 < _list271.size; ++_i272)
88027
                for (int _i280 = 0; _i280 < _list279.size; ++_i280)
86459
                {
88028
                {
86460
                  long _elem273; // required
88029
                  long _elem281; // required
86461
                  _elem273 = iprot.readI64();
88030
                  _elem281 = iprot.readI64();
86462
                  this.orderIds.add(_elem273);
88031
                  this.orderIds.add(_elem281);
86463
                }
88032
                }
86464
                iprot.readListEnd();
88033
                iprot.readListEnd();
86465
              }
88034
              }
86466
            } else { 
88035
            } else { 
86467
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
88036
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 86482... Line 88051...
86482
      oprot.writeStructBegin(STRUCT_DESC);
88051
      oprot.writeStructBegin(STRUCT_DESC);
86483
      if (this.orderIds != null) {
88052
      if (this.orderIds != null) {
86484
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
88053
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
86485
        {
88054
        {
86486
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
88055
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
86487
          for (long _iter274 : this.orderIds)
88056
          for (long _iter282 : this.orderIds)
86488
          {
88057
          {
86489
            oprot.writeI64(_iter274);
88058
            oprot.writeI64(_iter282);
86490
          }
88059
          }
86491
          oprot.writeListEnd();
88060
          oprot.writeListEnd();
86492
        }
88061
        }
86493
        oprot.writeFieldEnd();
88062
        oprot.writeFieldEnd();
86494
      }
88063
      }
Line 86850... Line 88419...
86850
        }
88419
        }
86851
        switch (field.id) {
88420
        switch (field.id) {
86852
          case 0: // SUCCESS
88421
          case 0: // SUCCESS
86853
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88422
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86854
              {
88423
              {
86855
                org.apache.thrift.protocol.TList _list275 = iprot.readListBegin();
88424
                org.apache.thrift.protocol.TList _list283 = iprot.readListBegin();
86856
                this.success = new ArrayList<Long>(_list275.size);
88425
                this.success = new ArrayList<Long>(_list283.size);
86857
                for (int _i276 = 0; _i276 < _list275.size; ++_i276)
88426
                for (int _i284 = 0; _i284 < _list283.size; ++_i284)
86858
                {
88427
                {
86859
                  long _elem277; // required
88428
                  long _elem285; // required
86860
                  _elem277 = iprot.readI64();
88429
                  _elem285 = iprot.readI64();
86861
                  this.success.add(_elem277);
88430
                  this.success.add(_elem285);
86862
                }
88431
                }
86863
                iprot.readListEnd();
88432
                iprot.readListEnd();
86864
              }
88433
              }
86865
            } else { 
88434
            } else { 
86866
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
88435
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 86888... Line 88457...
86888
 
88457
 
86889
      if (this.isSetSuccess()) {
88458
      if (this.isSetSuccess()) {
86890
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88459
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
86891
        {
88460
        {
86892
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
88461
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
86893
          for (long _iter278 : this.success)
88462
          for (long _iter286 : this.success)
86894
          {
88463
          {
86895
            oprot.writeI64(_iter278);
88464
            oprot.writeI64(_iter286);
86896
          }
88465
          }
86897
          oprot.writeListEnd();
88466
          oprot.writeListEnd();
86898
        }
88467
        }
86899
        oprot.writeFieldEnd();
88468
        oprot.writeFieldEnd();
86900
      } else if (this.isSetEx()) {
88469
      } else if (this.isSetEx()) {
Line 86950... Line 88519...
86950
      }
88519
      }
86951
    }
88520
    }
86952
 
88521
 
86953
  }
88522
  }
86954
 
88523
 
86955
  public static class updateOrdersAsPORaised_args implements org.apache.thrift.TBase<updateOrdersAsPORaised_args, updateOrdersAsPORaised_args._Fields>, java.io.Serializable, Cloneable   {
-
 
86956
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateOrdersAsPORaised_args");
-
 
86957
 
-
 
86958
    private static final org.apache.thrift.protocol.TField ITEM_ID_QUANTITY_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("itemIdQuantityMap", org.apache.thrift.protocol.TType.MAP, (short)1);
-
 
86959
    private static final org.apache.thrift.protocol.TField PURCHASE_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseOrderId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
86960
    private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
86961
 
-
 
86962
    private Map<Long,Long> itemIdQuantityMap; // required
-
 
86963
    private long purchaseOrderId; // required
-
 
86964
    private long warehouseId; // required
-
 
86965
 
-
 
86966
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
86967
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
86968
      ITEM_ID_QUANTITY_MAP((short)1, "itemIdQuantityMap"),
-
 
86969
      PURCHASE_ORDER_ID((short)2, "purchaseOrderId"),
-
 
86970
      WAREHOUSE_ID((short)3, "warehouseId");
-
 
86971
 
-
 
86972
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
86973
 
-
 
86974
      static {
-
 
86975
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
86976
          byName.put(field.getFieldName(), field);
-
 
86977
        }
-
 
86978
      }
-
 
86979
 
-
 
86980
      /**
-
 
86981
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
86982
       */
-
 
86983
      public static _Fields findByThriftId(int fieldId) {
-
 
86984
        switch(fieldId) {
-
 
86985
          case 1: // ITEM_ID_QUANTITY_MAP
-
 
86986
            return ITEM_ID_QUANTITY_MAP;
-
 
86987
          case 2: // PURCHASE_ORDER_ID
-
 
86988
            return PURCHASE_ORDER_ID;
-
 
86989
          case 3: // WAREHOUSE_ID
-
 
86990
            return WAREHOUSE_ID;
-
 
86991
          default:
-
 
86992
            return null;
-
 
86993
        }
-
 
86994
      }
-
 
86995
 
-
 
86996
      /**
-
 
86997
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
86998
       * if it is not found.
-
 
86999
       */
-
 
87000
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
87001
        _Fields fields = findByThriftId(fieldId);
-
 
87002
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
87003
        return fields;
-
 
87004
      }
-
 
87005
 
-
 
87006
      /**
-
 
87007
       * Find the _Fields constant that matches name, or null if its not found.
-
 
87008
       */
-
 
87009
      public static _Fields findByName(String name) {
-
 
87010
        return byName.get(name);
-
 
87011
      }
-
 
87012
 
-
 
87013
      private final short _thriftId;
-
 
87014
      private final String _fieldName;
-
 
87015
 
-
 
87016
      _Fields(short thriftId, String fieldName) {
-
 
87017
        _thriftId = thriftId;
-
 
87018
        _fieldName = fieldName;
-
 
87019
      }
-
 
87020
 
-
 
87021
      public short getThriftFieldId() {
-
 
87022
        return _thriftId;
-
 
87023
      }
-
 
87024
 
-
 
87025
      public String getFieldName() {
-
 
87026
        return _fieldName;
-
 
87027
      }
-
 
87028
    }
-
 
87029
 
-
 
87030
    // isset id assignments
-
 
87031
    private static final int __PURCHASEORDERID_ISSET_ID = 0;
-
 
87032
    private static final int __WAREHOUSEID_ISSET_ID = 1;
-
 
87033
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
87034
 
-
 
87035
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
87036
    static {
-
 
87037
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
87038
      tmpMap.put(_Fields.ITEM_ID_QUANTITY_MAP, new org.apache.thrift.meta_data.FieldMetaData("itemIdQuantityMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
87039
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
87040
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
87041
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
87042
      tmpMap.put(_Fields.PURCHASE_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("purchaseOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
87043
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
87044
      tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
87045
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
87046
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
87047
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateOrdersAsPORaised_args.class, metaDataMap);
-
 
87048
    }
-
 
87049
 
-
 
87050
    public updateOrdersAsPORaised_args() {
-
 
87051
    }
-
 
87052
 
-
 
87053
    public updateOrdersAsPORaised_args(
-
 
87054
      Map<Long,Long> itemIdQuantityMap,
-
 
87055
      long purchaseOrderId,
-
 
87056
      long warehouseId)
-
 
87057
    {
-
 
87058
      this();
-
 
87059
      this.itemIdQuantityMap = itemIdQuantityMap;
-
 
87060
      this.purchaseOrderId = purchaseOrderId;
-
 
87061
      setPurchaseOrderIdIsSet(true);
-
 
87062
      this.warehouseId = warehouseId;
-
 
87063
      setWarehouseIdIsSet(true);
-
 
87064
    }
-
 
87065
 
-
 
87066
    /**
-
 
87067
     * Performs a deep copy on <i>other</i>.
-
 
87068
     */
-
 
87069
    public updateOrdersAsPORaised_args(updateOrdersAsPORaised_args other) {
-
 
87070
      __isset_bit_vector.clear();
-
 
87071
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
87072
      if (other.isSetItemIdQuantityMap()) {
-
 
87073
        Map<Long,Long> __this__itemIdQuantityMap = new HashMap<Long,Long>();
-
 
87074
        for (Map.Entry<Long, Long> other_element : other.itemIdQuantityMap.entrySet()) {
-
 
87075
 
-
 
87076
          Long other_element_key = other_element.getKey();
-
 
87077
          Long other_element_value = other_element.getValue();
-
 
87078
 
-
 
87079
          Long __this__itemIdQuantityMap_copy_key = other_element_key;
-
 
87080
 
-
 
87081
          Long __this__itemIdQuantityMap_copy_value = other_element_value;
-
 
87082
 
-
 
87083
          __this__itemIdQuantityMap.put(__this__itemIdQuantityMap_copy_key, __this__itemIdQuantityMap_copy_value);
-
 
87084
        }
-
 
87085
        this.itemIdQuantityMap = __this__itemIdQuantityMap;
-
 
87086
      }
-
 
87087
      this.purchaseOrderId = other.purchaseOrderId;
-
 
87088
      this.warehouseId = other.warehouseId;
-
 
87089
    }
-
 
87090
 
-
 
87091
    public updateOrdersAsPORaised_args deepCopy() {
-
 
87092
      return new updateOrdersAsPORaised_args(this);
-
 
87093
    }
-
 
87094
 
-
 
87095
    @Override
-
 
87096
    public void clear() {
-
 
87097
      this.itemIdQuantityMap = null;
-
 
87098
      setPurchaseOrderIdIsSet(false);
-
 
87099
      this.purchaseOrderId = 0;
-
 
87100
      setWarehouseIdIsSet(false);
-
 
87101
      this.warehouseId = 0;
-
 
87102
    }
-
 
87103
 
-
 
87104
    public int getItemIdQuantityMapSize() {
-
 
87105
      return (this.itemIdQuantityMap == null) ? 0 : this.itemIdQuantityMap.size();
-
 
87106
    }
-
 
87107
 
-
 
87108
    public void putToItemIdQuantityMap(long key, long val) {
-
 
87109
      if (this.itemIdQuantityMap == null) {
-
 
87110
        this.itemIdQuantityMap = new HashMap<Long,Long>();
-
 
87111
      }
-
 
87112
      this.itemIdQuantityMap.put(key, val);
-
 
87113
    }
-
 
87114
 
-
 
87115
    public Map<Long,Long> getItemIdQuantityMap() {
-
 
87116
      return this.itemIdQuantityMap;
-
 
87117
    }
-
 
87118
 
-
 
87119
    public void setItemIdQuantityMap(Map<Long,Long> itemIdQuantityMap) {
-
 
87120
      this.itemIdQuantityMap = itemIdQuantityMap;
-
 
87121
    }
-
 
87122
 
-
 
87123
    public void unsetItemIdQuantityMap() {
-
 
87124
      this.itemIdQuantityMap = null;
-
 
87125
    }
-
 
87126
 
-
 
87127
    /** Returns true if field itemIdQuantityMap is set (has been assigned a value) and false otherwise */
-
 
87128
    public boolean isSetItemIdQuantityMap() {
-
 
87129
      return this.itemIdQuantityMap != null;
-
 
87130
    }
-
 
87131
 
-
 
87132
    public void setItemIdQuantityMapIsSet(boolean value) {
-
 
87133
      if (!value) {
-
 
87134
        this.itemIdQuantityMap = null;
-
 
87135
      }
-
 
87136
    }
-
 
87137
 
-
 
87138
    public long getPurchaseOrderId() {
-
 
87139
      return this.purchaseOrderId;
-
 
87140
    }
-
 
87141
 
-
 
87142
    public void setPurchaseOrderId(long purchaseOrderId) {
-
 
87143
      this.purchaseOrderId = purchaseOrderId;
-
 
87144
      setPurchaseOrderIdIsSet(true);
-
 
87145
    }
-
 
87146
 
-
 
87147
    public void unsetPurchaseOrderId() {
-
 
87148
      __isset_bit_vector.clear(__PURCHASEORDERID_ISSET_ID);
-
 
87149
    }
-
 
87150
 
-
 
87151
    /** Returns true if field purchaseOrderId is set (has been assigned a value) and false otherwise */
-
 
87152
    public boolean isSetPurchaseOrderId() {
-
 
87153
      return __isset_bit_vector.get(__PURCHASEORDERID_ISSET_ID);
-
 
87154
    }
-
 
87155
 
-
 
87156
    public void setPurchaseOrderIdIsSet(boolean value) {
-
 
87157
      __isset_bit_vector.set(__PURCHASEORDERID_ISSET_ID, value);
-
 
87158
    }
-
 
87159
 
-
 
87160
    public long getWarehouseId() {
-
 
87161
      return this.warehouseId;
-
 
87162
    }
-
 
87163
 
-
 
87164
    public void setWarehouseId(long warehouseId) {
-
 
87165
      this.warehouseId = warehouseId;
-
 
87166
      setWarehouseIdIsSet(true);
-
 
87167
    }
-
 
87168
 
-
 
87169
    public void unsetWarehouseId() {
-
 
87170
      __isset_bit_vector.clear(__WAREHOUSEID_ISSET_ID);
-
 
87171
    }
-
 
87172
 
-
 
87173
    /** Returns true if field warehouseId is set (has been assigned a value) and false otherwise */
-
 
87174
    public boolean isSetWarehouseId() {
-
 
87175
      return __isset_bit_vector.get(__WAREHOUSEID_ISSET_ID);
-
 
87176
    }
-
 
87177
 
-
 
87178
    public void setWarehouseIdIsSet(boolean value) {
-
 
87179
      __isset_bit_vector.set(__WAREHOUSEID_ISSET_ID, value);
-
 
87180
    }
-
 
87181
 
-
 
87182
    public void setFieldValue(_Fields field, Object value) {
-
 
87183
      switch (field) {
-
 
87184
      case ITEM_ID_QUANTITY_MAP:
-
 
87185
        if (value == null) {
-
 
87186
          unsetItemIdQuantityMap();
-
 
87187
        } else {
-
 
87188
          setItemIdQuantityMap((Map<Long,Long>)value);
-
 
87189
        }
-
 
87190
        break;
-
 
87191
 
-
 
87192
      case PURCHASE_ORDER_ID:
-
 
87193
        if (value == null) {
-
 
87194
          unsetPurchaseOrderId();
-
 
87195
        } else {
-
 
87196
          setPurchaseOrderId((Long)value);
-
 
87197
        }
-
 
87198
        break;
-
 
87199
 
-
 
87200
      case WAREHOUSE_ID:
-
 
87201
        if (value == null) {
-
 
87202
          unsetWarehouseId();
-
 
87203
        } else {
-
 
87204
          setWarehouseId((Long)value);
-
 
87205
        }
-
 
87206
        break;
-
 
87207
 
-
 
87208
      }
-
 
87209
    }
-
 
87210
 
-
 
87211
    public Object getFieldValue(_Fields field) {
-
 
87212
      switch (field) {
-
 
87213
      case ITEM_ID_QUANTITY_MAP:
-
 
87214
        return getItemIdQuantityMap();
-
 
87215
 
-
 
87216
      case PURCHASE_ORDER_ID:
-
 
87217
        return Long.valueOf(getPurchaseOrderId());
-
 
87218
 
-
 
87219
      case WAREHOUSE_ID:
-
 
87220
        return Long.valueOf(getWarehouseId());
-
 
87221
 
-
 
87222
      }
-
 
87223
      throw new IllegalStateException();
-
 
87224
    }
-
 
87225
 
-
 
87226
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
87227
    public boolean isSet(_Fields field) {
-
 
87228
      if (field == null) {
-
 
87229
        throw new IllegalArgumentException();
-
 
87230
      }
-
 
87231
 
-
 
87232
      switch (field) {
-
 
87233
      case ITEM_ID_QUANTITY_MAP:
-
 
87234
        return isSetItemIdQuantityMap();
-
 
87235
      case PURCHASE_ORDER_ID:
-
 
87236
        return isSetPurchaseOrderId();
-
 
87237
      case WAREHOUSE_ID:
-
 
87238
        return isSetWarehouseId();
-
 
87239
      }
-
 
87240
      throw new IllegalStateException();
-
 
87241
    }
-
 
87242
 
-
 
87243
    @Override
-
 
87244
    public boolean equals(Object that) {
-
 
87245
      if (that == null)
-
 
87246
        return false;
-
 
87247
      if (that instanceof updateOrdersAsPORaised_args)
-
 
87248
        return this.equals((updateOrdersAsPORaised_args)that);
-
 
87249
      return false;
-
 
87250
    }
-
 
87251
 
-
 
87252
    public boolean equals(updateOrdersAsPORaised_args that) {
-
 
87253
      if (that == null)
-
 
87254
        return false;
-
 
87255
 
-
 
87256
      boolean this_present_itemIdQuantityMap = true && this.isSetItemIdQuantityMap();
-
 
87257
      boolean that_present_itemIdQuantityMap = true && that.isSetItemIdQuantityMap();
-
 
87258
      if (this_present_itemIdQuantityMap || that_present_itemIdQuantityMap) {
-
 
87259
        if (!(this_present_itemIdQuantityMap && that_present_itemIdQuantityMap))
-
 
87260
          return false;
-
 
87261
        if (!this.itemIdQuantityMap.equals(that.itemIdQuantityMap))
-
 
87262
          return false;
-
 
87263
      }
-
 
87264
 
-
 
87265
      boolean this_present_purchaseOrderId = true;
-
 
87266
      boolean that_present_purchaseOrderId = true;
-
 
87267
      if (this_present_purchaseOrderId || that_present_purchaseOrderId) {
-
 
87268
        if (!(this_present_purchaseOrderId && that_present_purchaseOrderId))
-
 
87269
          return false;
-
 
87270
        if (this.purchaseOrderId != that.purchaseOrderId)
-
 
87271
          return false;
-
 
87272
      }
-
 
87273
 
-
 
87274
      boolean this_present_warehouseId = true;
-
 
87275
      boolean that_present_warehouseId = true;
-
 
87276
      if (this_present_warehouseId || that_present_warehouseId) {
-
 
87277
        if (!(this_present_warehouseId && that_present_warehouseId))
-
 
87278
          return false;
-
 
87279
        if (this.warehouseId != that.warehouseId)
-
 
87280
          return false;
-
 
87281
      }
-
 
87282
 
-
 
87283
      return true;
-
 
87284
    }
-
 
87285
 
-
 
87286
    @Override
-
 
87287
    public int hashCode() {
-
 
87288
      return 0;
-
 
87289
    }
-
 
87290
 
-
 
87291
    public int compareTo(updateOrdersAsPORaised_args other) {
-
 
87292
      if (!getClass().equals(other.getClass())) {
-
 
87293
        return getClass().getName().compareTo(other.getClass().getName());
-
 
87294
      }
-
 
87295
 
-
 
87296
      int lastComparison = 0;
-
 
87297
      updateOrdersAsPORaised_args typedOther = (updateOrdersAsPORaised_args)other;
-
 
87298
 
-
 
87299
      lastComparison = Boolean.valueOf(isSetItemIdQuantityMap()).compareTo(typedOther.isSetItemIdQuantityMap());
-
 
87300
      if (lastComparison != 0) {
-
 
87301
        return lastComparison;
-
 
87302
      }
-
 
87303
      if (isSetItemIdQuantityMap()) {
-
 
87304
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemIdQuantityMap, typedOther.itemIdQuantityMap);
-
 
87305
        if (lastComparison != 0) {
-
 
87306
          return lastComparison;
-
 
87307
        }
-
 
87308
      }
-
 
87309
      lastComparison = Boolean.valueOf(isSetPurchaseOrderId()).compareTo(typedOther.isSetPurchaseOrderId());
-
 
87310
      if (lastComparison != 0) {
-
 
87311
        return lastComparison;
-
 
87312
      }
-
 
87313
      if (isSetPurchaseOrderId()) {
-
 
87314
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.purchaseOrderId, typedOther.purchaseOrderId);
-
 
87315
        if (lastComparison != 0) {
-
 
87316
          return lastComparison;
-
 
87317
        }
-
 
87318
      }
-
 
87319
      lastComparison = Boolean.valueOf(isSetWarehouseId()).compareTo(typedOther.isSetWarehouseId());
-
 
87320
      if (lastComparison != 0) {
-
 
87321
        return lastComparison;
-
 
87322
      }
-
 
87323
      if (isSetWarehouseId()) {
-
 
87324
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouseId, typedOther.warehouseId);
-
 
87325
        if (lastComparison != 0) {
-
 
87326
          return lastComparison;
-
 
87327
        }
-
 
87328
      }
-
 
87329
      return 0;
-
 
87330
    }
-
 
87331
 
-
 
87332
    public _Fields fieldForId(int fieldId) {
-
 
87333
      return _Fields.findByThriftId(fieldId);
-
 
87334
    }
-
 
87335
 
-
 
87336
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
87337
      org.apache.thrift.protocol.TField field;
-
 
87338
      iprot.readStructBegin();
-
 
87339
      while (true)
-
 
87340
      {
-
 
87341
        field = iprot.readFieldBegin();
-
 
87342
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
87343
          break;
-
 
87344
        }
-
 
87345
        switch (field.id) {
-
 
87346
          case 1: // ITEM_ID_QUANTITY_MAP
-
 
87347
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
87348
              {
-
 
87349
                org.apache.thrift.protocol.TMap _map279 = iprot.readMapBegin();
-
 
87350
                this.itemIdQuantityMap = new HashMap<Long,Long>(2*_map279.size);
-
 
87351
                for (int _i280 = 0; _i280 < _map279.size; ++_i280)
-
 
87352
                {
-
 
87353
                  long _key281; // required
-
 
87354
                  long _val282; // required
-
 
87355
                  _key281 = iprot.readI64();
-
 
87356
                  _val282 = iprot.readI64();
-
 
87357
                  this.itemIdQuantityMap.put(_key281, _val282);
-
 
87358
                }
-
 
87359
                iprot.readMapEnd();
-
 
87360
              }
-
 
87361
            } else { 
-
 
87362
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
87363
            }
-
 
87364
            break;
-
 
87365
          case 2: // PURCHASE_ORDER_ID
-
 
87366
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
87367
              this.purchaseOrderId = iprot.readI64();
-
 
87368
              setPurchaseOrderIdIsSet(true);
-
 
87369
            } else { 
-
 
87370
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
87371
            }
-
 
87372
            break;
-
 
87373
          case 3: // WAREHOUSE_ID
-
 
87374
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
87375
              this.warehouseId = iprot.readI64();
-
 
87376
              setWarehouseIdIsSet(true);
-
 
87377
            } else { 
-
 
87378
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
87379
            }
-
 
87380
            break;
-
 
87381
          default:
-
 
87382
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
87383
        }
-
 
87384
        iprot.readFieldEnd();
-
 
87385
      }
-
 
87386
      iprot.readStructEnd();
-
 
87387
      validate();
-
 
87388
    }
-
 
87389
 
-
 
87390
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
87391
      validate();
-
 
87392
 
-
 
87393
      oprot.writeStructBegin(STRUCT_DESC);
-
 
87394
      if (this.itemIdQuantityMap != null) {
-
 
87395
        oprot.writeFieldBegin(ITEM_ID_QUANTITY_MAP_FIELD_DESC);
-
 
87396
        {
-
 
87397
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itemIdQuantityMap.size()));
-
 
87398
          for (Map.Entry<Long, Long> _iter283 : this.itemIdQuantityMap.entrySet())
-
 
87399
          {
-
 
87400
            oprot.writeI64(_iter283.getKey());
-
 
87401
            oprot.writeI64(_iter283.getValue());
-
 
87402
          }
-
 
87403
          oprot.writeMapEnd();
-
 
87404
        }
-
 
87405
        oprot.writeFieldEnd();
-
 
87406
      }
-
 
87407
      oprot.writeFieldBegin(PURCHASE_ORDER_ID_FIELD_DESC);
-
 
87408
      oprot.writeI64(this.purchaseOrderId);
-
 
87409
      oprot.writeFieldEnd();
-
 
87410
      oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
-
 
87411
      oprot.writeI64(this.warehouseId);
-
 
87412
      oprot.writeFieldEnd();
-
 
87413
      oprot.writeFieldStop();
-
 
87414
      oprot.writeStructEnd();
-
 
87415
    }
-
 
87416
 
-
 
87417
    @Override
-
 
87418
    public String toString() {
-
 
87419
      StringBuilder sb = new StringBuilder("updateOrdersAsPORaised_args(");
-
 
87420
      boolean first = true;
-
 
87421
 
-
 
87422
      sb.append("itemIdQuantityMap:");
-
 
87423
      if (this.itemIdQuantityMap == null) {
-
 
87424
        sb.append("null");
-
 
87425
      } else {
-
 
87426
        sb.append(this.itemIdQuantityMap);
-
 
87427
      }
-
 
87428
      first = false;
-
 
87429
      if (!first) sb.append(", ");
-
 
87430
      sb.append("purchaseOrderId:");
-
 
87431
      sb.append(this.purchaseOrderId);
-
 
87432
      first = false;
-
 
87433
      if (!first) sb.append(", ");
-
 
87434
      sb.append("warehouseId:");
-
 
87435
      sb.append(this.warehouseId);
-
 
87436
      first = false;
-
 
87437
      sb.append(")");
-
 
87438
      return sb.toString();
-
 
87439
    }
-
 
87440
 
-
 
87441
    public void validate() throws org.apache.thrift.TException {
-
 
87442
      // check for required fields
-
 
87443
    }
-
 
87444
 
-
 
87445
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
87446
      try {
-
 
87447
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
87448
      } catch (org.apache.thrift.TException te) {
-
 
87449
        throw new java.io.IOException(te);
-
 
87450
      }
-
 
87451
    }
-
 
87452
 
-
 
87453
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
87454
      try {
-
 
87455
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
87456
        __isset_bit_vector = new BitSet(1);
-
 
87457
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
87458
      } catch (org.apache.thrift.TException te) {
-
 
87459
        throw new java.io.IOException(te);
-
 
87460
      }
-
 
87461
    }
-
 
87462
 
-
 
87463
  }
-
 
87464
 
-
 
87465
  public static class updateOrdersAsPORaised_result implements org.apache.thrift.TBase<updateOrdersAsPORaised_result, updateOrdersAsPORaised_result._Fields>, java.io.Serializable, Cloneable   {
-
 
87466
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateOrdersAsPORaised_result");
-
 
87467
 
-
 
87468
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
87469
 
-
 
87470
    private TransactionServiceException ex; // required
-
 
87471
 
-
 
87472
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
87473
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
87474
      EX((short)1, "ex");
-
 
87475
 
-
 
87476
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
87477
 
-
 
87478
      static {
-
 
87479
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
87480
          byName.put(field.getFieldName(), field);
-
 
87481
        }
-
 
87482
      }
-
 
87483
 
-
 
87484
      /**
-
 
87485
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
87486
       */
-
 
87487
      public static _Fields findByThriftId(int fieldId) {
-
 
87488
        switch(fieldId) {
-
 
87489
          case 1: // EX
-
 
87490
            return EX;
-
 
87491
          default:
-
 
87492
            return null;
-
 
87493
        }
-
 
87494
      }
-
 
87495
 
-
 
87496
      /**
-
 
87497
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
87498
       * if it is not found.
-
 
87499
       */
-
 
87500
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
87501
        _Fields fields = findByThriftId(fieldId);
-
 
87502
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
87503
        return fields;
-
 
87504
      }
-
 
87505
 
-
 
87506
      /**
-
 
87507
       * Find the _Fields constant that matches name, or null if its not found.
-
 
87508
       */
-
 
87509
      public static _Fields findByName(String name) {
-
 
87510
        return byName.get(name);
-
 
87511
      }
-
 
87512
 
-
 
87513
      private final short _thriftId;
-
 
87514
      private final String _fieldName;
-
 
87515
 
-
 
87516
      _Fields(short thriftId, String fieldName) {
-
 
87517
        _thriftId = thriftId;
-
 
87518
        _fieldName = fieldName;
-
 
87519
      }
-
 
87520
 
-
 
87521
      public short getThriftFieldId() {
-
 
87522
        return _thriftId;
-
 
87523
      }
-
 
87524
 
-
 
87525
      public String getFieldName() {
-
 
87526
        return _fieldName;
-
 
87527
      }
-
 
87528
    }
-
 
87529
 
-
 
87530
    // isset id assignments
-
 
87531
 
-
 
87532
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
87533
    static {
-
 
87534
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
87535
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
87536
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
87537
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
87538
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateOrdersAsPORaised_result.class, metaDataMap);
-
 
87539
    }
-
 
87540
 
-
 
87541
    public updateOrdersAsPORaised_result() {
-
 
87542
    }
-
 
87543
 
-
 
87544
    public updateOrdersAsPORaised_result(
-
 
87545
      TransactionServiceException ex)
-
 
87546
    {
-
 
87547
      this();
-
 
87548
      this.ex = ex;
-
 
87549
    }
-
 
87550
 
-
 
87551
    /**
-
 
87552
     * Performs a deep copy on <i>other</i>.
-
 
87553
     */
-
 
87554
    public updateOrdersAsPORaised_result(updateOrdersAsPORaised_result other) {
-
 
87555
      if (other.isSetEx()) {
-
 
87556
        this.ex = new TransactionServiceException(other.ex);
-
 
87557
      }
-
 
87558
    }
-
 
87559
 
-
 
87560
    public updateOrdersAsPORaised_result deepCopy() {
-
 
87561
      return new updateOrdersAsPORaised_result(this);
-
 
87562
    }
-
 
87563
 
-
 
87564
    @Override
-
 
87565
    public void clear() {
-
 
87566
      this.ex = null;
-
 
87567
    }
-
 
87568
 
-
 
87569
    public TransactionServiceException getEx() {
-
 
87570
      return this.ex;
-
 
87571
    }
-
 
87572
 
-
 
87573
    public void setEx(TransactionServiceException ex) {
-
 
87574
      this.ex = ex;
-
 
87575
    }
-
 
87576
 
-
 
87577
    public void unsetEx() {
-
 
87578
      this.ex = null;
-
 
87579
    }
-
 
87580
 
-
 
87581
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
87582
    public boolean isSetEx() {
-
 
87583
      return this.ex != null;
-
 
87584
    }
-
 
87585
 
-
 
87586
    public void setExIsSet(boolean value) {
-
 
87587
      if (!value) {
-
 
87588
        this.ex = null;
-
 
87589
      }
-
 
87590
    }
-
 
87591
 
-
 
87592
    public void setFieldValue(_Fields field, Object value) {
-
 
87593
      switch (field) {
-
 
87594
      case EX:
-
 
87595
        if (value == null) {
-
 
87596
          unsetEx();
-
 
87597
        } else {
-
 
87598
          setEx((TransactionServiceException)value);
-
 
87599
        }
-
 
87600
        break;
-
 
87601
 
-
 
87602
      }
-
 
87603
    }
-
 
87604
 
-
 
87605
    public Object getFieldValue(_Fields field) {
-
 
87606
      switch (field) {
-
 
87607
      case EX:
-
 
87608
        return getEx();
-
 
87609
 
-
 
87610
      }
-
 
87611
      throw new IllegalStateException();
-
 
87612
    }
-
 
87613
 
-
 
87614
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
87615
    public boolean isSet(_Fields field) {
-
 
87616
      if (field == null) {
-
 
87617
        throw new IllegalArgumentException();
-
 
87618
      }
-
 
87619
 
-
 
87620
      switch (field) {
-
 
87621
      case EX:
-
 
87622
        return isSetEx();
-
 
87623
      }
-
 
87624
      throw new IllegalStateException();
-
 
87625
    }
-
 
87626
 
-
 
87627
    @Override
-
 
87628
    public boolean equals(Object that) {
-
 
87629
      if (that == null)
-
 
87630
        return false;
-
 
87631
      if (that instanceof updateOrdersAsPORaised_result)
-
 
87632
        return this.equals((updateOrdersAsPORaised_result)that);
-
 
87633
      return false;
-
 
87634
    }
-
 
87635
 
-
 
87636
    public boolean equals(updateOrdersAsPORaised_result that) {
-
 
87637
      if (that == null)
-
 
87638
        return false;
-
 
87639
 
-
 
87640
      boolean this_present_ex = true && this.isSetEx();
-
 
87641
      boolean that_present_ex = true && that.isSetEx();
-
 
87642
      if (this_present_ex || that_present_ex) {
-
 
87643
        if (!(this_present_ex && that_present_ex))
-
 
87644
          return false;
-
 
87645
        if (!this.ex.equals(that.ex))
-
 
87646
          return false;
-
 
87647
      }
-
 
87648
 
-
 
87649
      return true;
-
 
87650
    }
-
 
87651
 
-
 
87652
    @Override
-
 
87653
    public int hashCode() {
-
 
87654
      return 0;
-
 
87655
    }
-
 
87656
 
-
 
87657
    public int compareTo(updateOrdersAsPORaised_result other) {
-
 
87658
      if (!getClass().equals(other.getClass())) {
-
 
87659
        return getClass().getName().compareTo(other.getClass().getName());
-
 
87660
      }
-
 
87661
 
-
 
87662
      int lastComparison = 0;
-
 
87663
      updateOrdersAsPORaised_result typedOther = (updateOrdersAsPORaised_result)other;
-
 
87664
 
-
 
87665
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
87666
      if (lastComparison != 0) {
-
 
87667
        return lastComparison;
-
 
87668
      }
-
 
87669
      if (isSetEx()) {
-
 
87670
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
87671
        if (lastComparison != 0) {
-
 
87672
          return lastComparison;
-
 
87673
        }
-
 
87674
      }
-
 
87675
      return 0;
-
 
87676
    }
-
 
87677
 
-
 
87678
    public _Fields fieldForId(int fieldId) {
-
 
87679
      return _Fields.findByThriftId(fieldId);
-
 
87680
    }
-
 
87681
 
-
 
87682
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
87683
      org.apache.thrift.protocol.TField field;
-
 
87684
      iprot.readStructBegin();
-
 
87685
      while (true)
-
 
87686
      {
-
 
87687
        field = iprot.readFieldBegin();
-
 
87688
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
87689
          break;
-
 
87690
        }
-
 
87691
        switch (field.id) {
-
 
87692
          case 1: // EX
-
 
87693
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
87694
              this.ex = new TransactionServiceException();
-
 
87695
              this.ex.read(iprot);
-
 
87696
            } else { 
-
 
87697
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
87698
            }
-
 
87699
            break;
-
 
87700
          default:
-
 
87701
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
87702
        }
-
 
87703
        iprot.readFieldEnd();
-
 
87704
      }
-
 
87705
      iprot.readStructEnd();
-
 
87706
      validate();
-
 
87707
    }
-
 
87708
 
-
 
87709
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
87710
      oprot.writeStructBegin(STRUCT_DESC);
-
 
87711
 
-
 
87712
      if (this.isSetEx()) {
-
 
87713
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
87714
        this.ex.write(oprot);
-
 
87715
        oprot.writeFieldEnd();
-
 
87716
      }
-
 
87717
      oprot.writeFieldStop();
-
 
87718
      oprot.writeStructEnd();
-
 
87719
    }
-
 
87720
 
-
 
87721
    @Override
-
 
87722
    public String toString() {
-
 
87723
      StringBuilder sb = new StringBuilder("updateOrdersAsPORaised_result(");
-
 
87724
      boolean first = true;
-
 
87725
 
-
 
87726
      sb.append("ex:");
-
 
87727
      if (this.ex == null) {
-
 
87728
        sb.append("null");
-
 
87729
      } else {
-
 
87730
        sb.append(this.ex);
-
 
87731
      }
-
 
87732
      first = false;
-
 
87733
      sb.append(")");
-
 
87734
      return sb.toString();
-
 
87735
    }
-
 
87736
 
-
 
87737
    public void validate() throws org.apache.thrift.TException {
-
 
87738
      // check for required fields
-
 
87739
    }
-
 
87740
 
-
 
87741
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
87742
      try {
-
 
87743
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
87744
      } catch (org.apache.thrift.TException te) {
-
 
87745
        throw new java.io.IOException(te);
-
 
87746
      }
-
 
87747
    }
-
 
87748
 
-
 
87749
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
87750
      try {
-
 
87751
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
87752
      } catch (org.apache.thrift.TException te) {
-
 
87753
        throw new java.io.IOException(te);
-
 
87754
      }
-
 
87755
    }
-
 
87756
 
-
 
87757
  }
-
 
87758
 
-
 
87759
  public static class getOrdersWhereVendorNotPaid_args implements org.apache.thrift.TBase<getOrdersWhereVendorNotPaid_args, getOrdersWhereVendorNotPaid_args._Fields>, java.io.Serializable, Cloneable   {
88524
  public static class getOrdersWhereVendorNotPaid_args implements org.apache.thrift.TBase<getOrdersWhereVendorNotPaid_args, getOrdersWhereVendorNotPaid_args._Fields>, java.io.Serializable, Cloneable   {
87760
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersWhereVendorNotPaid_args");
88525
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersWhereVendorNotPaid_args");
87761
 
88526
 
87762
    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)1);
88527
    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)1);
87763
 
88528
 
Line 88366... Line 89131...
88366
        }
89131
        }
88367
        switch (field.id) {
89132
        switch (field.id) {
88368
          case 0: // SUCCESS
89133
          case 0: // SUCCESS
88369
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
89134
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88370
              {
89135
              {
88371
                org.apache.thrift.protocol.TList _list284 = iprot.readListBegin();
89136
                org.apache.thrift.protocol.TList _list287 = iprot.readListBegin();
88372
                this.success = new ArrayList<Order>(_list284.size);
89137
                this.success = new ArrayList<Order>(_list287.size);
88373
                for (int _i285 = 0; _i285 < _list284.size; ++_i285)
89138
                for (int _i288 = 0; _i288 < _list287.size; ++_i288)
88374
                {
89139
                {
88375
                  Order _elem286; // required
89140
                  Order _elem289; // required
88376
                  _elem286 = new Order();
89141
                  _elem289 = new Order();
88377
                  _elem286.read(iprot);
89142
                  _elem289.read(iprot);
88378
                  this.success.add(_elem286);
89143
                  this.success.add(_elem289);
88379
                }
89144
                }
88380
                iprot.readListEnd();
89145
                iprot.readListEnd();
88381
              }
89146
              }
88382
            } else { 
89147
            } else { 
88383
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
89148
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 88405... Line 89170...
88405
 
89170
 
88406
      if (this.isSetSuccess()) {
89171
      if (this.isSetSuccess()) {
88407
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89172
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88408
        {
89173
        {
88409
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
89174
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
88410
          for (Order _iter287 : this.success)
89175
          for (Order _iter290 : this.success)
88411
          {
89176
          {
88412
            _iter287.write(oprot);
89177
            _iter290.write(oprot);
88413
          }
89178
          }
88414
          oprot.writeListEnd();
89179
          oprot.writeListEnd();
88415
        }
89180
        }
88416
        oprot.writeFieldEnd();
89181
        oprot.writeFieldEnd();
88417
      } else if (this.isSetEx()) {
89182
      } else if (this.isSetEx()) {
Line 89167... Line 89932...
89167
        }
89932
        }
89168
        switch (field.id) {
89933
        switch (field.id) {
89169
          case 0: // SUCCESS
89934
          case 0: // SUCCESS
89170
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
89935
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
89171
              {
89936
              {
89172
                org.apache.thrift.protocol.TMap _map288 = iprot.readMapBegin();
89937
                org.apache.thrift.protocol.TMap _map291 = iprot.readMapBegin();
89173
                this.success = new HashMap<Long,Long>(2*_map288.size);
89938
                this.success = new HashMap<Long,Long>(2*_map291.size);
89174
                for (int _i289 = 0; _i289 < _map288.size; ++_i289)
89939
                for (int _i292 = 0; _i292 < _map291.size; ++_i292)
89175
                {
89940
                {
89176
                  long _key290; // required
89941
                  long _key293; // required
89177
                  long _val291; // required
89942
                  long _val294; // required
89178
                  _key290 = iprot.readI64();
89943
                  _key293 = iprot.readI64();
89179
                  _val291 = iprot.readI64();
89944
                  _val294 = iprot.readI64();
89180
                  this.success.put(_key290, _val291);
89945
                  this.success.put(_key293, _val294);
89181
                }
89946
                }
89182
                iprot.readMapEnd();
89947
                iprot.readMapEnd();
89183
              }
89948
              }
89184
            } else { 
89949
            } else { 
89185
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
89950
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 89207... Line 89972...
89207
 
89972
 
89208
      if (this.isSetSuccess()) {
89973
      if (this.isSetSuccess()) {
89209
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89974
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89210
        {
89975
        {
89211
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
89976
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
89212
          for (Map.Entry<Long, Long> _iter292 : this.success.entrySet())
89977
          for (Map.Entry<Long, Long> _iter295 : this.success.entrySet())
89213
          {
89978
          {
89214
            oprot.writeI64(_iter292.getKey());
89979
            oprot.writeI64(_iter295.getKey());
89215
            oprot.writeI64(_iter292.getValue());
89980
            oprot.writeI64(_iter295.getValue());
89216
          }
89981
          }
89217
          oprot.writeMapEnd();
89982
          oprot.writeMapEnd();
89218
        }
89983
        }
89219
        oprot.writeFieldEnd();
89984
        oprot.writeFieldEnd();
89220
      } else if (this.isSetEx()) {
89985
      } else if (this.isSetEx()) {
Line 90048... Line 90813...
90048
        }
90813
        }
90049
        switch (field.id) {
90814
        switch (field.id) {
90050
          case 0: // SUCCESS
90815
          case 0: // SUCCESS
90051
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
90816
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
90052
              {
90817
              {
90053
                org.apache.thrift.protocol.TList _list293 = iprot.readListBegin();
90818
                org.apache.thrift.protocol.TList _list296 = iprot.readListBegin();
90054
                this.success = new ArrayList<Long>(_list293.size);
90819
                this.success = new ArrayList<Long>(_list296.size);
90055
                for (int _i294 = 0; _i294 < _list293.size; ++_i294)
90820
                for (int _i297 = 0; _i297 < _list296.size; ++_i297)
90056
                {
90821
                {
90057
                  long _elem295; // required
90822
                  long _elem298; // required
90058
                  _elem295 = iprot.readI64();
90823
                  _elem298 = iprot.readI64();
90059
                  this.success.add(_elem295);
90824
                  this.success.add(_elem298);
90060
                }
90825
                }
90061
                iprot.readListEnd();
90826
                iprot.readListEnd();
90062
              }
90827
              }
90063
            } else { 
90828
            } else { 
90064
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
90829
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 90086... Line 90851...
90086
 
90851
 
90087
      if (this.isSetSuccess()) {
90852
      if (this.isSetSuccess()) {
90088
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90853
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90089
        {
90854
        {
90090
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
90855
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
90091
          for (long _iter296 : this.success)
90856
          for (long _iter299 : this.success)
90092
          {
90857
          {
90093
            oprot.writeI64(_iter296);
90858
            oprot.writeI64(_iter299);
90094
          }
90859
          }
90095
          oprot.writeListEnd();
90860
          oprot.writeListEnd();
90096
        }
90861
        }
90097
        oprot.writeFieldEnd();
90862
        oprot.writeFieldEnd();
90098
      } else if (this.isSetEx()) {
90863
      } else if (this.isSetEx()) {
Line 91412... Line 92177...
91412
      }
92177
      }
91413
    }
92178
    }
91414
 
92179
 
91415
  }
92180
  }
91416
 
92181
 
-
 
92182
  public static class updateOrderOnlyAsPaidToVendor_args implements org.apache.thrift.TBase<updateOrderOnlyAsPaidToVendor_args, updateOrderOnlyAsPaidToVendor_args._Fields>, java.io.Serializable, Cloneable   {
-
 
92183
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateOrderOnlyAsPaidToVendor_args");
-
 
92184
 
-
 
92185
    private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
92186
 
-
 
92187
    private long orderId; // required
-
 
92188
 
-
 
92189
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
92190
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
92191
      ORDER_ID((short)1, "orderId");
-
 
92192
 
-
 
92193
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
92194
 
-
 
92195
      static {
-
 
92196
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
92197
          byName.put(field.getFieldName(), field);
-
 
92198
        }
-
 
92199
      }
-
 
92200
 
-
 
92201
      /**
-
 
92202
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
92203
       */
-
 
92204
      public static _Fields findByThriftId(int fieldId) {
-
 
92205
        switch(fieldId) {
-
 
92206
          case 1: // ORDER_ID
-
 
92207
            return ORDER_ID;
-
 
92208
          default:
-
 
92209
            return null;
-
 
92210
        }
-
 
92211
      }
-
 
92212
 
-
 
92213
      /**
-
 
92214
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
92215
       * if it is not found.
-
 
92216
       */
-
 
92217
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
92218
        _Fields fields = findByThriftId(fieldId);
-
 
92219
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
92220
        return fields;
-
 
92221
      }
-
 
92222
 
-
 
92223
      /**
-
 
92224
       * Find the _Fields constant that matches name, or null if its not found.
-
 
92225
       */
-
 
92226
      public static _Fields findByName(String name) {
-
 
92227
        return byName.get(name);
-
 
92228
      }
-
 
92229
 
-
 
92230
      private final short _thriftId;
-
 
92231
      private final String _fieldName;
-
 
92232
 
-
 
92233
      _Fields(short thriftId, String fieldName) {
-
 
92234
        _thriftId = thriftId;
-
 
92235
        _fieldName = fieldName;
-
 
92236
      }
-
 
92237
 
-
 
92238
      public short getThriftFieldId() {
-
 
92239
        return _thriftId;
-
 
92240
      }
-
 
92241
 
-
 
92242
      public String getFieldName() {
-
 
92243
        return _fieldName;
-
 
92244
      }
-
 
92245
    }
-
 
92246
 
-
 
92247
    // isset id assignments
-
 
92248
    private static final int __ORDERID_ISSET_ID = 0;
-
 
92249
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
92250
 
-
 
92251
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
92252
    static {
-
 
92253
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
92254
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
92255
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
92256
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
92257
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateOrderOnlyAsPaidToVendor_args.class, metaDataMap);
-
 
92258
    }
-
 
92259
 
-
 
92260
    public updateOrderOnlyAsPaidToVendor_args() {
-
 
92261
    }
-
 
92262
 
-
 
92263
    public updateOrderOnlyAsPaidToVendor_args(
-
 
92264
      long orderId)
-
 
92265
    {
-
 
92266
      this();
-
 
92267
      this.orderId = orderId;
-
 
92268
      setOrderIdIsSet(true);
-
 
92269
    }
-
 
92270
 
-
 
92271
    /**
-
 
92272
     * Performs a deep copy on <i>other</i>.
-
 
92273
     */
-
 
92274
    public updateOrderOnlyAsPaidToVendor_args(updateOrderOnlyAsPaidToVendor_args other) {
-
 
92275
      __isset_bit_vector.clear();
-
 
92276
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
92277
      this.orderId = other.orderId;
-
 
92278
    }
-
 
92279
 
-
 
92280
    public updateOrderOnlyAsPaidToVendor_args deepCopy() {
-
 
92281
      return new updateOrderOnlyAsPaidToVendor_args(this);
-
 
92282
    }
-
 
92283
 
-
 
92284
    @Override
-
 
92285
    public void clear() {
-
 
92286
      setOrderIdIsSet(false);
-
 
92287
      this.orderId = 0;
-
 
92288
    }
-
 
92289
 
-
 
92290
    public long getOrderId() {
-
 
92291
      return this.orderId;
-
 
92292
    }
-
 
92293
 
-
 
92294
    public void setOrderId(long orderId) {
-
 
92295
      this.orderId = orderId;
-
 
92296
      setOrderIdIsSet(true);
-
 
92297
    }
-
 
92298
 
-
 
92299
    public void unsetOrderId() {
-
 
92300
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
92301
    }
-
 
92302
 
-
 
92303
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
92304
    public boolean isSetOrderId() {
-
 
92305
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
92306
    }
-
 
92307
 
-
 
92308
    public void setOrderIdIsSet(boolean value) {
-
 
92309
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
92310
    }
-
 
92311
 
-
 
92312
    public void setFieldValue(_Fields field, Object value) {
-
 
92313
      switch (field) {
-
 
92314
      case ORDER_ID:
-
 
92315
        if (value == null) {
-
 
92316
          unsetOrderId();
-
 
92317
        } else {
-
 
92318
          setOrderId((Long)value);
-
 
92319
        }
-
 
92320
        break;
-
 
92321
 
-
 
92322
      }
-
 
92323
    }
-
 
92324
 
-
 
92325
    public Object getFieldValue(_Fields field) {
-
 
92326
      switch (field) {
-
 
92327
      case ORDER_ID:
-
 
92328
        return Long.valueOf(getOrderId());
-
 
92329
 
-
 
92330
      }
-
 
92331
      throw new IllegalStateException();
-
 
92332
    }
-
 
92333
 
-
 
92334
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
92335
    public boolean isSet(_Fields field) {
-
 
92336
      if (field == null) {
-
 
92337
        throw new IllegalArgumentException();
-
 
92338
      }
-
 
92339
 
-
 
92340
      switch (field) {
-
 
92341
      case ORDER_ID:
-
 
92342
        return isSetOrderId();
-
 
92343
      }
-
 
92344
      throw new IllegalStateException();
-
 
92345
    }
-
 
92346
 
-
 
92347
    @Override
-
 
92348
    public boolean equals(Object that) {
-
 
92349
      if (that == null)
-
 
92350
        return false;
-
 
92351
      if (that instanceof updateOrderOnlyAsPaidToVendor_args)
-
 
92352
        return this.equals((updateOrderOnlyAsPaidToVendor_args)that);
-
 
92353
      return false;
-
 
92354
    }
-
 
92355
 
-
 
92356
    public boolean equals(updateOrderOnlyAsPaidToVendor_args that) {
-
 
92357
      if (that == null)
-
 
92358
        return false;
-
 
92359
 
-
 
92360
      boolean this_present_orderId = true;
-
 
92361
      boolean that_present_orderId = true;
-
 
92362
      if (this_present_orderId || that_present_orderId) {
-
 
92363
        if (!(this_present_orderId && that_present_orderId))
-
 
92364
          return false;
-
 
92365
        if (this.orderId != that.orderId)
-
 
92366
          return false;
-
 
92367
      }
-
 
92368
 
-
 
92369
      return true;
-
 
92370
    }
-
 
92371
 
-
 
92372
    @Override
-
 
92373
    public int hashCode() {
-
 
92374
      return 0;
-
 
92375
    }
-
 
92376
 
-
 
92377
    public int compareTo(updateOrderOnlyAsPaidToVendor_args other) {
-
 
92378
      if (!getClass().equals(other.getClass())) {
-
 
92379
        return getClass().getName().compareTo(other.getClass().getName());
-
 
92380
      }
-
 
92381
 
-
 
92382
      int lastComparison = 0;
-
 
92383
      updateOrderOnlyAsPaidToVendor_args typedOther = (updateOrderOnlyAsPaidToVendor_args)other;
-
 
92384
 
-
 
92385
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
92386
      if (lastComparison != 0) {
-
 
92387
        return lastComparison;
-
 
92388
      }
-
 
92389
      if (isSetOrderId()) {
-
 
92390
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
92391
        if (lastComparison != 0) {
-
 
92392
          return lastComparison;
-
 
92393
        }
-
 
92394
      }
-
 
92395
      return 0;
-
 
92396
    }
-
 
92397
 
-
 
92398
    public _Fields fieldForId(int fieldId) {
-
 
92399
      return _Fields.findByThriftId(fieldId);
-
 
92400
    }
-
 
92401
 
-
 
92402
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
92403
      org.apache.thrift.protocol.TField field;
-
 
92404
      iprot.readStructBegin();
-
 
92405
      while (true)
-
 
92406
      {
-
 
92407
        field = iprot.readFieldBegin();
-
 
92408
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
92409
          break;
-
 
92410
        }
-
 
92411
        switch (field.id) {
-
 
92412
          case 1: // ORDER_ID
-
 
92413
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
92414
              this.orderId = iprot.readI64();
-
 
92415
              setOrderIdIsSet(true);
-
 
92416
            } else { 
-
 
92417
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
92418
            }
-
 
92419
            break;
-
 
92420
          default:
-
 
92421
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
92422
        }
-
 
92423
        iprot.readFieldEnd();
-
 
92424
      }
-
 
92425
      iprot.readStructEnd();
-
 
92426
      validate();
-
 
92427
    }
-
 
92428
 
-
 
92429
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
92430
      validate();
-
 
92431
 
-
 
92432
      oprot.writeStructBegin(STRUCT_DESC);
-
 
92433
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
92434
      oprot.writeI64(this.orderId);
-
 
92435
      oprot.writeFieldEnd();
-
 
92436
      oprot.writeFieldStop();
-
 
92437
      oprot.writeStructEnd();
-
 
92438
    }
-
 
92439
 
-
 
92440
    @Override
-
 
92441
    public String toString() {
-
 
92442
      StringBuilder sb = new StringBuilder("updateOrderOnlyAsPaidToVendor_args(");
-
 
92443
      boolean first = true;
-
 
92444
 
-
 
92445
      sb.append("orderId:");
-
 
92446
      sb.append(this.orderId);
-
 
92447
      first = false;
-
 
92448
      sb.append(")");
-
 
92449
      return sb.toString();
-
 
92450
    }
-
 
92451
 
-
 
92452
    public void validate() throws org.apache.thrift.TException {
-
 
92453
      // check for required fields
-
 
92454
    }
-
 
92455
 
-
 
92456
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
92457
      try {
-
 
92458
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
92459
      } catch (org.apache.thrift.TException te) {
-
 
92460
        throw new java.io.IOException(te);
-
 
92461
      }
-
 
92462
    }
-
 
92463
 
-
 
92464
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
92465
      try {
-
 
92466
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
92467
        __isset_bit_vector = new BitSet(1);
-
 
92468
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
92469
      } catch (org.apache.thrift.TException te) {
-
 
92470
        throw new java.io.IOException(te);
-
 
92471
      }
-
 
92472
    }
-
 
92473
 
-
 
92474
  }
-
 
92475
 
-
 
92476
  public static class updateOrderOnlyAsPaidToVendor_result implements org.apache.thrift.TBase<updateOrderOnlyAsPaidToVendor_result, updateOrderOnlyAsPaidToVendor_result._Fields>, java.io.Serializable, Cloneable   {
-
 
92477
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateOrderOnlyAsPaidToVendor_result");
-
 
92478
 
-
 
92479
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
92480
 
-
 
92481
    private TransactionServiceException ex; // required
-
 
92482
 
-
 
92483
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
92484
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
92485
      EX((short)1, "ex");
-
 
92486
 
-
 
92487
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
92488
 
-
 
92489
      static {
-
 
92490
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
92491
          byName.put(field.getFieldName(), field);
-
 
92492
        }
-
 
92493
      }
-
 
92494
 
-
 
92495
      /**
-
 
92496
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
92497
       */
-
 
92498
      public static _Fields findByThriftId(int fieldId) {
-
 
92499
        switch(fieldId) {
-
 
92500
          case 1: // EX
-
 
92501
            return EX;
-
 
92502
          default:
-
 
92503
            return null;
-
 
92504
        }
-
 
92505
      }
-
 
92506
 
-
 
92507
      /**
-
 
92508
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
92509
       * if it is not found.
-
 
92510
       */
-
 
92511
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
92512
        _Fields fields = findByThriftId(fieldId);
-
 
92513
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
92514
        return fields;
-
 
92515
      }
-
 
92516
 
-
 
92517
      /**
-
 
92518
       * Find the _Fields constant that matches name, or null if its not found.
-
 
92519
       */
-
 
92520
      public static _Fields findByName(String name) {
-
 
92521
        return byName.get(name);
-
 
92522
      }
-
 
92523
 
-
 
92524
      private final short _thriftId;
-
 
92525
      private final String _fieldName;
-
 
92526
 
-
 
92527
      _Fields(short thriftId, String fieldName) {
-
 
92528
        _thriftId = thriftId;
-
 
92529
        _fieldName = fieldName;
-
 
92530
      }
-
 
92531
 
-
 
92532
      public short getThriftFieldId() {
-
 
92533
        return _thriftId;
-
 
92534
      }
-
 
92535
 
-
 
92536
      public String getFieldName() {
-
 
92537
        return _fieldName;
-
 
92538
      }
-
 
92539
    }
-
 
92540
 
-
 
92541
    // isset id assignments
-
 
92542
 
-
 
92543
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
92544
    static {
-
 
92545
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
92546
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
92547
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
92548
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
92549
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateOrderOnlyAsPaidToVendor_result.class, metaDataMap);
-
 
92550
    }
-
 
92551
 
-
 
92552
    public updateOrderOnlyAsPaidToVendor_result() {
-
 
92553
    }
-
 
92554
 
-
 
92555
    public updateOrderOnlyAsPaidToVendor_result(
-
 
92556
      TransactionServiceException ex)
-
 
92557
    {
-
 
92558
      this();
-
 
92559
      this.ex = ex;
-
 
92560
    }
-
 
92561
 
-
 
92562
    /**
-
 
92563
     * Performs a deep copy on <i>other</i>.
-
 
92564
     */
-
 
92565
    public updateOrderOnlyAsPaidToVendor_result(updateOrderOnlyAsPaidToVendor_result other) {
-
 
92566
      if (other.isSetEx()) {
-
 
92567
        this.ex = new TransactionServiceException(other.ex);
-
 
92568
      }
-
 
92569
    }
-
 
92570
 
-
 
92571
    public updateOrderOnlyAsPaidToVendor_result deepCopy() {
-
 
92572
      return new updateOrderOnlyAsPaidToVendor_result(this);
-
 
92573
    }
-
 
92574
 
-
 
92575
    @Override
-
 
92576
    public void clear() {
-
 
92577
      this.ex = null;
-
 
92578
    }
-
 
92579
 
-
 
92580
    public TransactionServiceException getEx() {
-
 
92581
      return this.ex;
-
 
92582
    }
-
 
92583
 
-
 
92584
    public void setEx(TransactionServiceException ex) {
-
 
92585
      this.ex = ex;
-
 
92586
    }
-
 
92587
 
-
 
92588
    public void unsetEx() {
-
 
92589
      this.ex = null;
-
 
92590
    }
-
 
92591
 
-
 
92592
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
92593
    public boolean isSetEx() {
-
 
92594
      return this.ex != null;
-
 
92595
    }
-
 
92596
 
-
 
92597
    public void setExIsSet(boolean value) {
-
 
92598
      if (!value) {
-
 
92599
        this.ex = null;
-
 
92600
      }
-
 
92601
    }
-
 
92602
 
-
 
92603
    public void setFieldValue(_Fields field, Object value) {
-
 
92604
      switch (field) {
-
 
92605
      case EX:
-
 
92606
        if (value == null) {
-
 
92607
          unsetEx();
-
 
92608
        } else {
-
 
92609
          setEx((TransactionServiceException)value);
-
 
92610
        }
-
 
92611
        break;
-
 
92612
 
-
 
92613
      }
-
 
92614
    }
-
 
92615
 
-
 
92616
    public Object getFieldValue(_Fields field) {
-
 
92617
      switch (field) {
-
 
92618
      case EX:
-
 
92619
        return getEx();
-
 
92620
 
-
 
92621
      }
-
 
92622
      throw new IllegalStateException();
-
 
92623
    }
-
 
92624
 
-
 
92625
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
92626
    public boolean isSet(_Fields field) {
-
 
92627
      if (field == null) {
-
 
92628
        throw new IllegalArgumentException();
-
 
92629
      }
-
 
92630
 
-
 
92631
      switch (field) {
-
 
92632
      case EX:
-
 
92633
        return isSetEx();
-
 
92634
      }
-
 
92635
      throw new IllegalStateException();
-
 
92636
    }
-
 
92637
 
-
 
92638
    @Override
-
 
92639
    public boolean equals(Object that) {
-
 
92640
      if (that == null)
-
 
92641
        return false;
-
 
92642
      if (that instanceof updateOrderOnlyAsPaidToVendor_result)
-
 
92643
        return this.equals((updateOrderOnlyAsPaidToVendor_result)that);
-
 
92644
      return false;
-
 
92645
    }
-
 
92646
 
-
 
92647
    public boolean equals(updateOrderOnlyAsPaidToVendor_result that) {
-
 
92648
      if (that == null)
-
 
92649
        return false;
-
 
92650
 
-
 
92651
      boolean this_present_ex = true && this.isSetEx();
-
 
92652
      boolean that_present_ex = true && that.isSetEx();
-
 
92653
      if (this_present_ex || that_present_ex) {
-
 
92654
        if (!(this_present_ex && that_present_ex))
-
 
92655
          return false;
-
 
92656
        if (!this.ex.equals(that.ex))
-
 
92657
          return false;
-
 
92658
      }
-
 
92659
 
-
 
92660
      return true;
-
 
92661
    }
-
 
92662
 
-
 
92663
    @Override
-
 
92664
    public int hashCode() {
-
 
92665
      return 0;
-
 
92666
    }
-
 
92667
 
-
 
92668
    public int compareTo(updateOrderOnlyAsPaidToVendor_result other) {
-
 
92669
      if (!getClass().equals(other.getClass())) {
-
 
92670
        return getClass().getName().compareTo(other.getClass().getName());
-
 
92671
      }
-
 
92672
 
-
 
92673
      int lastComparison = 0;
-
 
92674
      updateOrderOnlyAsPaidToVendor_result typedOther = (updateOrderOnlyAsPaidToVendor_result)other;
-
 
92675
 
-
 
92676
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
92677
      if (lastComparison != 0) {
-
 
92678
        return lastComparison;
-
 
92679
      }
-
 
92680
      if (isSetEx()) {
-
 
92681
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
92682
        if (lastComparison != 0) {
-
 
92683
          return lastComparison;
-
 
92684
        }
-
 
92685
      }
-
 
92686
      return 0;
-
 
92687
    }
-
 
92688
 
-
 
92689
    public _Fields fieldForId(int fieldId) {
-
 
92690
      return _Fields.findByThriftId(fieldId);
-
 
92691
    }
-
 
92692
 
-
 
92693
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
92694
      org.apache.thrift.protocol.TField field;
-
 
92695
      iprot.readStructBegin();
-
 
92696
      while (true)
-
 
92697
      {
-
 
92698
        field = iprot.readFieldBegin();
-
 
92699
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
92700
          break;
-
 
92701
        }
-
 
92702
        switch (field.id) {
-
 
92703
          case 1: // EX
-
 
92704
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
92705
              this.ex = new TransactionServiceException();
-
 
92706
              this.ex.read(iprot);
-
 
92707
            } else { 
-
 
92708
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
92709
            }
-
 
92710
            break;
-
 
92711
          default:
-
 
92712
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
92713
        }
-
 
92714
        iprot.readFieldEnd();
-
 
92715
      }
-
 
92716
      iprot.readStructEnd();
-
 
92717
      validate();
-
 
92718
    }
-
 
92719
 
-
 
92720
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
92721
      oprot.writeStructBegin(STRUCT_DESC);
-
 
92722
 
-
 
92723
      if (this.isSetEx()) {
-
 
92724
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
92725
        this.ex.write(oprot);
-
 
92726
        oprot.writeFieldEnd();
-
 
92727
      }
-
 
92728
      oprot.writeFieldStop();
-
 
92729
      oprot.writeStructEnd();
-
 
92730
    }
-
 
92731
 
-
 
92732
    @Override
-
 
92733
    public String toString() {
-
 
92734
      StringBuilder sb = new StringBuilder("updateOrderOnlyAsPaidToVendor_result(");
-
 
92735
      boolean first = true;
-
 
92736
 
-
 
92737
      sb.append("ex:");
-
 
92738
      if (this.ex == null) {
-
 
92739
        sb.append("null");
-
 
92740
      } else {
-
 
92741
        sb.append(this.ex);
-
 
92742
      }
-
 
92743
      first = false;
-
 
92744
      sb.append(")");
-
 
92745
      return sb.toString();
-
 
92746
    }
-
 
92747
 
-
 
92748
    public void validate() throws org.apache.thrift.TException {
-
 
92749
      // check for required fields
-
 
92750
    }
-
 
92751
 
-
 
92752
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
92753
      try {
-
 
92754
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
92755
      } catch (org.apache.thrift.TException te) {
-
 
92756
        throw new java.io.IOException(te);
-
 
92757
      }
-
 
92758
    }
-
 
92759
 
-
 
92760
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
92761
      try {
-
 
92762
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
92763
      } catch (org.apache.thrift.TException te) {
-
 
92764
        throw new java.io.IOException(te);
-
 
92765
      }
-
 
92766
    }
-
 
92767
 
-
 
92768
  }
-
 
92769
 
91417
  public static class getRefundedOrdersMarkedPaid_args implements org.apache.thrift.TBase<getRefundedOrdersMarkedPaid_args, getRefundedOrdersMarkedPaid_args._Fields>, java.io.Serializable, Cloneable   {
92770
  public static class getRefundedOrdersMarkedPaid_args implements org.apache.thrift.TBase<getRefundedOrdersMarkedPaid_args, getRefundedOrdersMarkedPaid_args._Fields>, java.io.Serializable, Cloneable   {
91418
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRefundedOrdersMarkedPaid_args");
92771
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRefundedOrdersMarkedPaid_args");
91419
 
92772
 
91420
 
92773
 
91421
 
92774
 
Line 91930... Line 93283...
91930
        }
93283
        }
91931
        switch (field.id) {
93284
        switch (field.id) {
91932
          case 0: // SUCCESS
93285
          case 0: // SUCCESS
91933
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93286
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91934
              {
93287
              {
91935
                org.apache.thrift.protocol.TList _list297 = iprot.readListBegin();
93288
                org.apache.thrift.protocol.TList _list300 = iprot.readListBegin();
91936
                this.success = new ArrayList<Order>(_list297.size);
93289
                this.success = new ArrayList<Order>(_list300.size);
91937
                for (int _i298 = 0; _i298 < _list297.size; ++_i298)
93290
                for (int _i301 = 0; _i301 < _list300.size; ++_i301)
91938
                {
93291
                {
91939
                  Order _elem299; // required
93292
                  Order _elem302; // required
91940
                  _elem299 = new Order();
93293
                  _elem302 = new Order();
91941
                  _elem299.read(iprot);
93294
                  _elem302.read(iprot);
91942
                  this.success.add(_elem299);
93295
                  this.success.add(_elem302);
91943
                }
93296
                }
91944
                iprot.readListEnd();
93297
                iprot.readListEnd();
91945
              }
93298
              }
91946
            } else { 
93299
            } else { 
91947
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
93300
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91969... Line 93322...
91969
 
93322
 
91970
      if (this.isSetSuccess()) {
93323
      if (this.isSetSuccess()) {
91971
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93324
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91972
        {
93325
        {
91973
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93326
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91974
          for (Order _iter300 : this.success)
93327
          for (Order _iter303 : this.success)
91975
          {
93328
          {
91976
            _iter300.write(oprot);
93329
            _iter303.write(oprot);
91977
          }
93330
          }
91978
          oprot.writeListEnd();
93331
          oprot.writeListEnd();
91979
        }
93332
        }
91980
        oprot.writeFieldEnd();
93333
        oprot.writeFieldEnd();
91981
      } else if (this.isSetEx()) {
93334
      } else if (this.isSetEx()) {