| Line 216... |
Line 216... |
| 216 |
* @param serialNumber
|
216 |
* @param serialNumber
|
| 217 |
* @param itemNumber
|
217 |
* @param itemNumber
|
| 218 |
* @param billed_by
|
218 |
* @param billed_by
|
| 219 |
* @param jacketNumber
|
219 |
* @param jacketNumber
|
| 220 |
* @param billingType
|
220 |
* @param billingType
|
| 221 |
* @param vendorId
|
221 |
* @param fulfilmentWarehouseId
|
| 222 |
* @param authorize
|
222 |
* @param authorize
|
| 223 |
*/
|
223 |
*/
|
| 224 |
public boolean addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long vendorId, boolean authorize) throws TransactionServiceException, org.apache.thrift.TException;
|
224 |
public boolean addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long fulfilmentWarehouseId, boolean authorize) throws TransactionServiceException, org.apache.thrift.TException;
|
| 225 |
|
225 |
|
| 226 |
/**
|
226 |
/**
|
| 227 |
* Add the invoice number to the order.
|
227 |
* Add the invoice number to the order.
|
| 228 |
*
|
228 |
*
|
| 229 |
* @param orderId
|
229 |
* @param orderId
|
| Line 845... |
Line 845... |
| 845 |
|
845 |
|
| 846 |
public void verifyOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.verifyOrder_call> resultHandler) throws org.apache.thrift.TException;
|
846 |
public void verifyOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.verifyOrder_call> resultHandler) throws org.apache.thrift.TException;
|
| 847 |
|
847 |
|
| 848 |
public void acceptOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrder_call> resultHandler) throws org.apache.thrift.TException;
|
848 |
public void acceptOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrder_call> resultHandler) throws org.apache.thrift.TException;
|
| 849 |
|
849 |
|
| 850 |
public void addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long vendorId, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBillingDetails_call> resultHandler) throws org.apache.thrift.TException;
|
850 |
public void addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long fulfilmentWarehouseId, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBillingDetails_call> resultHandler) throws org.apache.thrift.TException;
|
| 851 |
|
851 |
|
| 852 |
public void addInvoiceNumber(long orderId, String invoiceNumber, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException;
|
852 |
public void addInvoiceNumber(long orderId, String invoiceNumber, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException;
|
| 853 |
|
853 |
|
| 854 |
public void markOrdersAsShippedFromWarehouse(long warehouseId, long providerId, boolean cod, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsShippedFromWarehouse_call> resultHandler) throws org.apache.thrift.TException;
|
854 |
public void markOrdersAsShippedFromWarehouse(long warehouseId, long providerId, boolean cod, List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsShippedFromWarehouse_call> resultHandler) throws org.apache.thrift.TException;
|
| 855 |
|
855 |
|
| Line 1877... |
Line 1877... |
| 1877 |
throw result.ex;
|
1877 |
throw result.ex;
|
| 1878 |
}
|
1878 |
}
|
| 1879 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "acceptOrder failed: unknown result");
|
1879 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "acceptOrder failed: unknown result");
|
| 1880 |
}
|
1880 |
}
|
| 1881 |
|
1881 |
|
| 1882 |
public boolean addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long vendorId, boolean authorize) throws TransactionServiceException, org.apache.thrift.TException
|
1882 |
public boolean addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long fulfilmentWarehouseId, boolean authorize) throws TransactionServiceException, org.apache.thrift.TException
|
| 1883 |
{
|
1883 |
{
|
| 1884 |
send_addBillingDetails(orderId, invoice_number, serialNumber, itemNumber, billed_by, jacketNumber, billingType, vendorId, authorize);
|
1884 |
send_addBillingDetails(orderId, invoice_number, serialNumber, itemNumber, billed_by, jacketNumber, billingType, fulfilmentWarehouseId, authorize);
|
| 1885 |
return recv_addBillingDetails();
|
1885 |
return recv_addBillingDetails();
|
| 1886 |
}
|
1886 |
}
|
| 1887 |
|
1887 |
|
| 1888 |
public void send_addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long vendorId, boolean authorize) throws org.apache.thrift.TException
|
1888 |
public void send_addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long fulfilmentWarehouseId, boolean authorize) throws org.apache.thrift.TException
|
| 1889 |
{
|
1889 |
{
|
| 1890 |
addBillingDetails_args args = new addBillingDetails_args();
|
1890 |
addBillingDetails_args args = new addBillingDetails_args();
|
| 1891 |
args.setOrderId(orderId);
|
1891 |
args.setOrderId(orderId);
|
| 1892 |
args.setInvoice_number(invoice_number);
|
1892 |
args.setInvoice_number(invoice_number);
|
| 1893 |
args.setSerialNumber(serialNumber);
|
1893 |
args.setSerialNumber(serialNumber);
|
| 1894 |
args.setItemNumber(itemNumber);
|
1894 |
args.setItemNumber(itemNumber);
|
| 1895 |
args.setBilled_by(billed_by);
|
1895 |
args.setBilled_by(billed_by);
|
| 1896 |
args.setJacketNumber(jacketNumber);
|
1896 |
args.setJacketNumber(jacketNumber);
|
| 1897 |
args.setBillingType(billingType);
|
1897 |
args.setBillingType(billingType);
|
| 1898 |
args.setVendorId(vendorId);
|
1898 |
args.setFulfilmentWarehouseId(fulfilmentWarehouseId);
|
| 1899 |
args.setAuthorize(authorize);
|
1899 |
args.setAuthorize(authorize);
|
| 1900 |
sendBase("addBillingDetails", args);
|
1900 |
sendBase("addBillingDetails", args);
|
| 1901 |
}
|
1901 |
}
|
| 1902 |
|
1902 |
|
| 1903 |
public boolean recv_addBillingDetails() throws TransactionServiceException, org.apache.thrift.TException
|
1903 |
public boolean recv_addBillingDetails() throws TransactionServiceException, org.apache.thrift.TException
|
| Line 4967... |
Line 4967... |
| 4967 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4967 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4968 |
return (new Client(prot)).recv_acceptOrder();
|
4968 |
return (new Client(prot)).recv_acceptOrder();
|
| 4969 |
}
|
4969 |
}
|
| 4970 |
}
|
4970 |
}
|
| 4971 |
|
4971 |
|
| 4972 |
public void addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long vendorId, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<addBillingDetails_call> resultHandler) throws org.apache.thrift.TException {
|
4972 |
public void addBillingDetails(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long fulfilmentWarehouseId, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<addBillingDetails_call> resultHandler) throws org.apache.thrift.TException {
|
| 4973 |
checkReady();
|
4973 |
checkReady();
|
| 4974 |
addBillingDetails_call method_call = new addBillingDetails_call(orderId, invoice_number, serialNumber, itemNumber, billed_by, jacketNumber, billingType, vendorId, authorize, resultHandler, this, ___protocolFactory, ___transport);
|
4974 |
addBillingDetails_call method_call = new addBillingDetails_call(orderId, invoice_number, serialNumber, itemNumber, billed_by, jacketNumber, billingType, fulfilmentWarehouseId, authorize, resultHandler, this, ___protocolFactory, ___transport);
|
| 4975 |
this.___currentMethod = method_call;
|
4975 |
this.___currentMethod = method_call;
|
| 4976 |
___manager.call(method_call);
|
4976 |
___manager.call(method_call);
|
| 4977 |
}
|
4977 |
}
|
| 4978 |
|
4978 |
|
| 4979 |
public static class addBillingDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4979 |
public static class addBillingDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| Line 4982... |
Line 4982... |
| 4982 |
private String serialNumber;
|
4982 |
private String serialNumber;
|
| 4983 |
private String itemNumber;
|
4983 |
private String itemNumber;
|
| 4984 |
private String billed_by;
|
4984 |
private String billed_by;
|
| 4985 |
private long jacketNumber;
|
4985 |
private long jacketNumber;
|
| 4986 |
private long billingType;
|
4986 |
private long billingType;
|
| 4987 |
private long vendorId;
|
4987 |
private long fulfilmentWarehouseId;
|
| 4988 |
private boolean authorize;
|
4988 |
private boolean authorize;
|
| 4989 |
public addBillingDetails_call(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long vendorId, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<addBillingDetails_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 {
|
4989 |
public addBillingDetails_call(long orderId, String invoice_number, String serialNumber, String itemNumber, String billed_by, long jacketNumber, long billingType, long fulfilmentWarehouseId, boolean authorize, org.apache.thrift.async.AsyncMethodCallback<addBillingDetails_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 {
|
| 4990 |
super(client, protocolFactory, transport, resultHandler, false);
|
4990 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4991 |
this.orderId = orderId;
|
4991 |
this.orderId = orderId;
|
| 4992 |
this.invoice_number = invoice_number;
|
4992 |
this.invoice_number = invoice_number;
|
| 4993 |
this.serialNumber = serialNumber;
|
4993 |
this.serialNumber = serialNumber;
|
| 4994 |
this.itemNumber = itemNumber;
|
4994 |
this.itemNumber = itemNumber;
|
| 4995 |
this.billed_by = billed_by;
|
4995 |
this.billed_by = billed_by;
|
| 4996 |
this.jacketNumber = jacketNumber;
|
4996 |
this.jacketNumber = jacketNumber;
|
| 4997 |
this.billingType = billingType;
|
4997 |
this.billingType = billingType;
|
| 4998 |
this.vendorId = vendorId;
|
4998 |
this.fulfilmentWarehouseId = fulfilmentWarehouseId;
|
| 4999 |
this.authorize = authorize;
|
4999 |
this.authorize = authorize;
|
| 5000 |
}
|
5000 |
}
|
| 5001 |
|
5001 |
|
| 5002 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
5002 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 5003 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBillingDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
5003 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBillingDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| Line 5007... |
Line 5007... |
| 5007 |
args.setSerialNumber(serialNumber);
|
5007 |
args.setSerialNumber(serialNumber);
|
| 5008 |
args.setItemNumber(itemNumber);
|
5008 |
args.setItemNumber(itemNumber);
|
| 5009 |
args.setBilled_by(billed_by);
|
5009 |
args.setBilled_by(billed_by);
|
| 5010 |
args.setJacketNumber(jacketNumber);
|
5010 |
args.setJacketNumber(jacketNumber);
|
| 5011 |
args.setBillingType(billingType);
|
5011 |
args.setBillingType(billingType);
|
| 5012 |
args.setVendorId(vendorId);
|
5012 |
args.setFulfilmentWarehouseId(fulfilmentWarehouseId);
|
| 5013 |
args.setAuthorize(authorize);
|
5013 |
args.setAuthorize(authorize);
|
| 5014 |
args.write(prot);
|
5014 |
args.write(prot);
|
| 5015 |
prot.writeMessageEnd();
|
5015 |
prot.writeMessageEnd();
|
| 5016 |
}
|
5016 |
}
|
| 5017 |
|
5017 |
|
| Line 8412... |
Line 8412... |
| 8412 |
}
|
8412 |
}
|
| 8413 |
|
8413 |
|
| 8414 |
protected addBillingDetails_result getResult(I iface, addBillingDetails_args args) throws org.apache.thrift.TException {
|
8414 |
protected addBillingDetails_result getResult(I iface, addBillingDetails_args args) throws org.apache.thrift.TException {
|
| 8415 |
addBillingDetails_result result = new addBillingDetails_result();
|
8415 |
addBillingDetails_result result = new addBillingDetails_result();
|
| 8416 |
try {
|
8416 |
try {
|
| 8417 |
result.success = iface.addBillingDetails(args.orderId, args.invoice_number, args.serialNumber, args.itemNumber, args.billed_by, args.jacketNumber, args.billingType, args.vendorId, args.authorize);
|
8417 |
result.success = iface.addBillingDetails(args.orderId, args.invoice_number, args.serialNumber, args.itemNumber, args.billed_by, args.jacketNumber, args.billingType, args.fulfilmentWarehouseId, args.authorize);
|
| 8418 |
result.setSuccessIsSet(true);
|
8418 |
result.setSuccessIsSet(true);
|
| 8419 |
} catch (TransactionServiceException ex) {
|
8419 |
} catch (TransactionServiceException ex) {
|
| 8420 |
result.ex = ex;
|
8420 |
result.ex = ex;
|
| 8421 |
}
|
8421 |
}
|
| 8422 |
return result;
|
8422 |
return result;
|
| Line 34618... |
Line 34618... |
| 34618 |
private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serialNumber", org.apache.thrift.protocol.TType.STRING, (short)3);
|
34618 |
private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serialNumber", org.apache.thrift.protocol.TType.STRING, (short)3);
|
| 34619 |
private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("itemNumber", org.apache.thrift.protocol.TType.STRING, (short)4);
|
34619 |
private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("itemNumber", org.apache.thrift.protocol.TType.STRING, (short)4);
|
| 34620 |
private static final org.apache.thrift.protocol.TField BILLED_BY_FIELD_DESC = new org.apache.thrift.protocol.TField("billed_by", org.apache.thrift.protocol.TType.STRING, (short)5);
|
34620 |
private static final org.apache.thrift.protocol.TField BILLED_BY_FIELD_DESC = new org.apache.thrift.protocol.TField("billed_by", org.apache.thrift.protocol.TType.STRING, (short)5);
|
| 34621 |
private static final org.apache.thrift.protocol.TField JACKET_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("jacketNumber", org.apache.thrift.protocol.TType.I64, (short)6);
|
34621 |
private static final org.apache.thrift.protocol.TField JACKET_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("jacketNumber", org.apache.thrift.protocol.TType.I64, (short)6);
|
| 34622 |
private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I64, (short)7);
|
34622 |
private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I64, (short)7);
|
| 34623 |
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)8);
|
34623 |
private static final org.apache.thrift.protocol.TField FULFILMENT_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fulfilmentWarehouseId", org.apache.thrift.protocol.TType.I64, (short)8);
|
| 34624 |
private static final org.apache.thrift.protocol.TField AUTHORIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("authorize", org.apache.thrift.protocol.TType.BOOL, (short)9);
|
34624 |
private static final org.apache.thrift.protocol.TField AUTHORIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("authorize", org.apache.thrift.protocol.TType.BOOL, (short)9);
|
| 34625 |
|
34625 |
|
| 34626 |
private long orderId; // required
|
34626 |
private long orderId; // required
|
| 34627 |
private String invoice_number; // required
|
34627 |
private String invoice_number; // required
|
| 34628 |
private String serialNumber; // required
|
34628 |
private String serialNumber; // required
|
| 34629 |
private String itemNumber; // required
|
34629 |
private String itemNumber; // required
|
| 34630 |
private String billed_by; // required
|
34630 |
private String billed_by; // required
|
| 34631 |
private long jacketNumber; // required
|
34631 |
private long jacketNumber; // required
|
| 34632 |
private long billingType; // required
|
34632 |
private long billingType; // required
|
| 34633 |
private long vendorId; // required
|
34633 |
private long fulfilmentWarehouseId; // required
|
| 34634 |
private boolean authorize; // required
|
34634 |
private boolean authorize; // required
|
| 34635 |
|
34635 |
|
| 34636 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
34636 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 34637 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
34637 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 34638 |
ORDER_ID((short)1, "orderId"),
|
34638 |
ORDER_ID((short)1, "orderId"),
|
| Line 34640... |
Line 34640... |
| 34640 |
SERIAL_NUMBER((short)3, "serialNumber"),
|
34640 |
SERIAL_NUMBER((short)3, "serialNumber"),
|
| 34641 |
ITEM_NUMBER((short)4, "itemNumber"),
|
34641 |
ITEM_NUMBER((short)4, "itemNumber"),
|
| 34642 |
BILLED_BY((short)5, "billed_by"),
|
34642 |
BILLED_BY((short)5, "billed_by"),
|
| 34643 |
JACKET_NUMBER((short)6, "jacketNumber"),
|
34643 |
JACKET_NUMBER((short)6, "jacketNumber"),
|
| 34644 |
BILLING_TYPE((short)7, "billingType"),
|
34644 |
BILLING_TYPE((short)7, "billingType"),
|
| 34645 |
VENDOR_ID((short)8, "vendorId"),
|
34645 |
FULFILMENT_WAREHOUSE_ID((short)8, "fulfilmentWarehouseId"),
|
| 34646 |
AUTHORIZE((short)9, "authorize");
|
34646 |
AUTHORIZE((short)9, "authorize");
|
| 34647 |
|
34647 |
|
| 34648 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
34648 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 34649 |
|
34649 |
|
| 34650 |
static {
|
34650 |
static {
|
| Line 34670... |
Line 34670... |
| 34670 |
return BILLED_BY;
|
34670 |
return BILLED_BY;
|
| 34671 |
case 6: // JACKET_NUMBER
|
34671 |
case 6: // JACKET_NUMBER
|
| 34672 |
return JACKET_NUMBER;
|
34672 |
return JACKET_NUMBER;
|
| 34673 |
case 7: // BILLING_TYPE
|
34673 |
case 7: // BILLING_TYPE
|
| 34674 |
return BILLING_TYPE;
|
34674 |
return BILLING_TYPE;
|
| 34675 |
case 8: // VENDOR_ID
|
34675 |
case 8: // FULFILMENT_WAREHOUSE_ID
|
| 34676 |
return VENDOR_ID;
|
34676 |
return FULFILMENT_WAREHOUSE_ID;
|
| 34677 |
case 9: // AUTHORIZE
|
34677 |
case 9: // AUTHORIZE
|
| 34678 |
return AUTHORIZE;
|
34678 |
return AUTHORIZE;
|
| 34679 |
default:
|
34679 |
default:
|
| 34680 |
return null;
|
34680 |
return null;
|
| 34681 |
}
|
34681 |
}
|
| Line 34717... |
Line 34717... |
| 34717 |
|
34717 |
|
| 34718 |
// isset id assignments
|
34718 |
// isset id assignments
|
| 34719 |
private static final int __ORDERID_ISSET_ID = 0;
|
34719 |
private static final int __ORDERID_ISSET_ID = 0;
|
| 34720 |
private static final int __JACKETNUMBER_ISSET_ID = 1;
|
34720 |
private static final int __JACKETNUMBER_ISSET_ID = 1;
|
| 34721 |
private static final int __BILLINGTYPE_ISSET_ID = 2;
|
34721 |
private static final int __BILLINGTYPE_ISSET_ID = 2;
|
| 34722 |
private static final int __VENDORID_ISSET_ID = 3;
|
34722 |
private static final int __FULFILMENTWAREHOUSEID_ISSET_ID = 3;
|
| 34723 |
private static final int __AUTHORIZE_ISSET_ID = 4;
|
34723 |
private static final int __AUTHORIZE_ISSET_ID = 4;
|
| 34724 |
private BitSet __isset_bit_vector = new BitSet(5);
|
34724 |
private BitSet __isset_bit_vector = new BitSet(5);
|
| 34725 |
|
34725 |
|
| 34726 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
34726 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 34727 |
static {
|
34727 |
static {
|
| Line 34738... |
Line 34738... |
| 34738 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
34738 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 34739 |
tmpMap.put(_Fields.JACKET_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("jacketNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
34739 |
tmpMap.put(_Fields.JACKET_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("jacketNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 34740 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
34740 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 34741 |
tmpMap.put(_Fields.BILLING_TYPE, new org.apache.thrift.meta_data.FieldMetaData("billingType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
34741 |
tmpMap.put(_Fields.BILLING_TYPE, new org.apache.thrift.meta_data.FieldMetaData("billingType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 34742 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
34742 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 34743 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
34743 |
tmpMap.put(_Fields.FULFILMENT_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("fulfilmentWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 34744 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
34744 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 34745 |
tmpMap.put(_Fields.AUTHORIZE, new org.apache.thrift.meta_data.FieldMetaData("authorize", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
34745 |
tmpMap.put(_Fields.AUTHORIZE, new org.apache.thrift.meta_data.FieldMetaData("authorize", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 34746 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
34746 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 34747 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
34747 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 34748 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBillingDetails_args.class, metaDataMap);
|
34748 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBillingDetails_args.class, metaDataMap);
|
| Line 34757... |
Line 34757... |
| 34757 |
String serialNumber,
|
34757 |
String serialNumber,
|
| 34758 |
String itemNumber,
|
34758 |
String itemNumber,
|
| 34759 |
String billed_by,
|
34759 |
String billed_by,
|
| 34760 |
long jacketNumber,
|
34760 |
long jacketNumber,
|
| 34761 |
long billingType,
|
34761 |
long billingType,
|
| 34762 |
long vendorId,
|
34762 |
long fulfilmentWarehouseId,
|
| 34763 |
boolean authorize)
|
34763 |
boolean authorize)
|
| 34764 |
{
|
34764 |
{
|
| 34765 |
this();
|
34765 |
this();
|
| 34766 |
this.orderId = orderId;
|
34766 |
this.orderId = orderId;
|
| 34767 |
setOrderIdIsSet(true);
|
34767 |
setOrderIdIsSet(true);
|
| Line 34771... |
Line 34771... |
| 34771 |
this.billed_by = billed_by;
|
34771 |
this.billed_by = billed_by;
|
| 34772 |
this.jacketNumber = jacketNumber;
|
34772 |
this.jacketNumber = jacketNumber;
|
| 34773 |
setJacketNumberIsSet(true);
|
34773 |
setJacketNumberIsSet(true);
|
| 34774 |
this.billingType = billingType;
|
34774 |
this.billingType = billingType;
|
| 34775 |
setBillingTypeIsSet(true);
|
34775 |
setBillingTypeIsSet(true);
|
| 34776 |
this.vendorId = vendorId;
|
34776 |
this.fulfilmentWarehouseId = fulfilmentWarehouseId;
|
| 34777 |
setVendorIdIsSet(true);
|
34777 |
setFulfilmentWarehouseIdIsSet(true);
|
| 34778 |
this.authorize = authorize;
|
34778 |
this.authorize = authorize;
|
| 34779 |
setAuthorizeIsSet(true);
|
34779 |
setAuthorizeIsSet(true);
|
| 34780 |
}
|
34780 |
}
|
| 34781 |
|
34781 |
|
| 34782 |
/**
|
34782 |
/**
|
| Line 34798... |
Line 34798... |
| 34798 |
if (other.isSetBilled_by()) {
|
34798 |
if (other.isSetBilled_by()) {
|
| 34799 |
this.billed_by = other.billed_by;
|
34799 |
this.billed_by = other.billed_by;
|
| 34800 |
}
|
34800 |
}
|
| 34801 |
this.jacketNumber = other.jacketNumber;
|
34801 |
this.jacketNumber = other.jacketNumber;
|
| 34802 |
this.billingType = other.billingType;
|
34802 |
this.billingType = other.billingType;
|
| 34803 |
this.vendorId = other.vendorId;
|
34803 |
this.fulfilmentWarehouseId = other.fulfilmentWarehouseId;
|
| 34804 |
this.authorize = other.authorize;
|
34804 |
this.authorize = other.authorize;
|
| 34805 |
}
|
34805 |
}
|
| 34806 |
|
34806 |
|
| 34807 |
public addBillingDetails_args deepCopy() {
|
34807 |
public addBillingDetails_args deepCopy() {
|
| 34808 |
return new addBillingDetails_args(this);
|
34808 |
return new addBillingDetails_args(this);
|
| Line 34818... |
Line 34818... |
| 34818 |
this.billed_by = null;
|
34818 |
this.billed_by = null;
|
| 34819 |
setJacketNumberIsSet(false);
|
34819 |
setJacketNumberIsSet(false);
|
| 34820 |
this.jacketNumber = 0;
|
34820 |
this.jacketNumber = 0;
|
| 34821 |
setBillingTypeIsSet(false);
|
34821 |
setBillingTypeIsSet(false);
|
| 34822 |
this.billingType = 0;
|
34822 |
this.billingType = 0;
|
| 34823 |
setVendorIdIsSet(false);
|
34823 |
setFulfilmentWarehouseIdIsSet(false);
|
| 34824 |
this.vendorId = 0;
|
34824 |
this.fulfilmentWarehouseId = 0;
|
| 34825 |
setAuthorizeIsSet(false);
|
34825 |
setAuthorizeIsSet(false);
|
| 34826 |
this.authorize = false;
|
34826 |
this.authorize = false;
|
| 34827 |
}
|
34827 |
}
|
| 34828 |
|
34828 |
|
| 34829 |
public long getOrderId() {
|
34829 |
public long getOrderId() {
|
| Line 34982... |
Line 34982... |
| 34982 |
|
34982 |
|
| 34983 |
public void setBillingTypeIsSet(boolean value) {
|
34983 |
public void setBillingTypeIsSet(boolean value) {
|
| 34984 |
__isset_bit_vector.set(__BILLINGTYPE_ISSET_ID, value);
|
34984 |
__isset_bit_vector.set(__BILLINGTYPE_ISSET_ID, value);
|
| 34985 |
}
|
34985 |
}
|
| 34986 |
|
34986 |
|
| 34987 |
public long getVendorId() {
|
34987 |
public long getFulfilmentWarehouseId() {
|
| 34988 |
return this.vendorId;
|
34988 |
return this.fulfilmentWarehouseId;
|
| 34989 |
}
|
34989 |
}
|
| 34990 |
|
34990 |
|
| 34991 |
public void setVendorId(long vendorId) {
|
34991 |
public void setFulfilmentWarehouseId(long fulfilmentWarehouseId) {
|
| 34992 |
this.vendorId = vendorId;
|
34992 |
this.fulfilmentWarehouseId = fulfilmentWarehouseId;
|
| 34993 |
setVendorIdIsSet(true);
|
34993 |
setFulfilmentWarehouseIdIsSet(true);
|
| 34994 |
}
|
34994 |
}
|
| 34995 |
|
34995 |
|
| 34996 |
public void unsetVendorId() {
|
34996 |
public void unsetFulfilmentWarehouseId() {
|
| 34997 |
__isset_bit_vector.clear(__VENDORID_ISSET_ID);
|
34997 |
__isset_bit_vector.clear(__FULFILMENTWAREHOUSEID_ISSET_ID);
|
| 34998 |
}
|
34998 |
}
|
| 34999 |
|
34999 |
|
| 35000 |
/** Returns true if field vendorId is set (has been assigned a value) and false otherwise */
|
35000 |
/** Returns true if field fulfilmentWarehouseId is set (has been assigned a value) and false otherwise */
|
| 35001 |
public boolean isSetVendorId() {
|
35001 |
public boolean isSetFulfilmentWarehouseId() {
|
| 35002 |
return __isset_bit_vector.get(__VENDORID_ISSET_ID);
|
35002 |
return __isset_bit_vector.get(__FULFILMENTWAREHOUSEID_ISSET_ID);
|
| 35003 |
}
|
35003 |
}
|
| 35004 |
|
35004 |
|
| 35005 |
public void setVendorIdIsSet(boolean value) {
|
35005 |
public void setFulfilmentWarehouseIdIsSet(boolean value) {
|
| 35006 |
__isset_bit_vector.set(__VENDORID_ISSET_ID, value);
|
35006 |
__isset_bit_vector.set(__FULFILMENTWAREHOUSEID_ISSET_ID, value);
|
| 35007 |
}
|
35007 |
}
|
| 35008 |
|
35008 |
|
| 35009 |
public boolean isAuthorize() {
|
35009 |
public boolean isAuthorize() {
|
| 35010 |
return this.authorize;
|
35010 |
return this.authorize;
|
| 35011 |
}
|
35011 |
}
|
| Line 35084... |
Line 35084... |
| 35084 |
} else {
|
35084 |
} else {
|
| 35085 |
setBillingType((Long)value);
|
35085 |
setBillingType((Long)value);
|
| 35086 |
}
|
35086 |
}
|
| 35087 |
break;
|
35087 |
break;
|
| 35088 |
|
35088 |
|
| 35089 |
case VENDOR_ID:
|
35089 |
case FULFILMENT_WAREHOUSE_ID:
|
| 35090 |
if (value == null) {
|
35090 |
if (value == null) {
|
| 35091 |
unsetVendorId();
|
35091 |
unsetFulfilmentWarehouseId();
|
| 35092 |
} else {
|
35092 |
} else {
|
| 35093 |
setVendorId((Long)value);
|
35093 |
setFulfilmentWarehouseId((Long)value);
|
| 35094 |
}
|
35094 |
}
|
| 35095 |
break;
|
35095 |
break;
|
| 35096 |
|
35096 |
|
| 35097 |
case AUTHORIZE:
|
35097 |
case AUTHORIZE:
|
| 35098 |
if (value == null) {
|
35098 |
if (value == null) {
|
| Line 35126... |
Line 35126... |
| 35126 |
return Long.valueOf(getJacketNumber());
|
35126 |
return Long.valueOf(getJacketNumber());
|
| 35127 |
|
35127 |
|
| 35128 |
case BILLING_TYPE:
|
35128 |
case BILLING_TYPE:
|
| 35129 |
return Long.valueOf(getBillingType());
|
35129 |
return Long.valueOf(getBillingType());
|
| 35130 |
|
35130 |
|
| 35131 |
case VENDOR_ID:
|
35131 |
case FULFILMENT_WAREHOUSE_ID:
|
| 35132 |
return Long.valueOf(getVendorId());
|
35132 |
return Long.valueOf(getFulfilmentWarehouseId());
|
| 35133 |
|
35133 |
|
| 35134 |
case AUTHORIZE:
|
35134 |
case AUTHORIZE:
|
| 35135 |
return Boolean.valueOf(isAuthorize());
|
35135 |
return Boolean.valueOf(isAuthorize());
|
| 35136 |
|
35136 |
|
| 35137 |
}
|
35137 |
}
|
| Line 35157... |
Line 35157... |
| 35157 |
return isSetBilled_by();
|
35157 |
return isSetBilled_by();
|
| 35158 |
case JACKET_NUMBER:
|
35158 |
case JACKET_NUMBER:
|
| 35159 |
return isSetJacketNumber();
|
35159 |
return isSetJacketNumber();
|
| 35160 |
case BILLING_TYPE:
|
35160 |
case BILLING_TYPE:
|
| 35161 |
return isSetBillingType();
|
35161 |
return isSetBillingType();
|
| 35162 |
case VENDOR_ID:
|
35162 |
case FULFILMENT_WAREHOUSE_ID:
|
| 35163 |
return isSetVendorId();
|
35163 |
return isSetFulfilmentWarehouseId();
|
| 35164 |
case AUTHORIZE:
|
35164 |
case AUTHORIZE:
|
| 35165 |
return isSetAuthorize();
|
35165 |
return isSetAuthorize();
|
| 35166 |
}
|
35166 |
}
|
| 35167 |
throw new IllegalStateException();
|
35167 |
throw new IllegalStateException();
|
| 35168 |
}
|
35168 |
}
|
| Line 35241... |
Line 35241... |
| 35241 |
return false;
|
35241 |
return false;
|
| 35242 |
if (this.billingType != that.billingType)
|
35242 |
if (this.billingType != that.billingType)
|
| 35243 |
return false;
|
35243 |
return false;
|
| 35244 |
}
|
35244 |
}
|
| 35245 |
|
35245 |
|
| 35246 |
boolean this_present_vendorId = true;
|
35246 |
boolean this_present_fulfilmentWarehouseId = true;
|
| 35247 |
boolean that_present_vendorId = true;
|
35247 |
boolean that_present_fulfilmentWarehouseId = true;
|
| 35248 |
if (this_present_vendorId || that_present_vendorId) {
|
35248 |
if (this_present_fulfilmentWarehouseId || that_present_fulfilmentWarehouseId) {
|
| 35249 |
if (!(this_present_vendorId && that_present_vendorId))
|
35249 |
if (!(this_present_fulfilmentWarehouseId && that_present_fulfilmentWarehouseId))
|
| 35250 |
return false;
|
35250 |
return false;
|
| 35251 |
if (this.vendorId != that.vendorId)
|
35251 |
if (this.fulfilmentWarehouseId != that.fulfilmentWarehouseId)
|
| 35252 |
return false;
|
35252 |
return false;
|
| 35253 |
}
|
35253 |
}
|
| 35254 |
|
35254 |
|
| 35255 |
boolean this_present_authorize = true;
|
35255 |
boolean this_present_authorize = true;
|
| 35256 |
boolean that_present_authorize = true;
|
35256 |
boolean that_present_authorize = true;
|
| Line 35345... |
Line 35345... |
| 35345 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingType, typedOther.billingType);
|
35345 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingType, typedOther.billingType);
|
| 35346 |
if (lastComparison != 0) {
|
35346 |
if (lastComparison != 0) {
|
| 35347 |
return lastComparison;
|
35347 |
return lastComparison;
|
| 35348 |
}
|
35348 |
}
|
| 35349 |
}
|
35349 |
}
|
| 35350 |
lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
|
35350 |
lastComparison = Boolean.valueOf(isSetFulfilmentWarehouseId()).compareTo(typedOther.isSetFulfilmentWarehouseId());
|
| 35351 |
if (lastComparison != 0) {
|
35351 |
if (lastComparison != 0) {
|
| 35352 |
return lastComparison;
|
35352 |
return lastComparison;
|
| 35353 |
}
|
35353 |
}
|
| 35354 |
if (isSetVendorId()) {
|
35354 |
if (isSetFulfilmentWarehouseId()) {
|
| 35355 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
|
35355 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fulfilmentWarehouseId, typedOther.fulfilmentWarehouseId);
|
| 35356 |
if (lastComparison != 0) {
|
35356 |
if (lastComparison != 0) {
|
| 35357 |
return lastComparison;
|
35357 |
return lastComparison;
|
| 35358 |
}
|
35358 |
}
|
| 35359 |
}
|
35359 |
}
|
| 35360 |
lastComparison = Boolean.valueOf(isSetAuthorize()).compareTo(typedOther.isSetAuthorize());
|
35360 |
lastComparison = Boolean.valueOf(isSetAuthorize()).compareTo(typedOther.isSetAuthorize());
|
| Line 35434... |
Line 35434... |
| 35434 |
setBillingTypeIsSet(true);
|
35434 |
setBillingTypeIsSet(true);
|
| 35435 |
} else {
|
35435 |
} else {
|
| 35436 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
35436 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 35437 |
}
|
35437 |
}
|
| 35438 |
break;
|
35438 |
break;
|
| 35439 |
case 8: // VENDOR_ID
|
35439 |
case 8: // FULFILMENT_WAREHOUSE_ID
|
| 35440 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
35440 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 35441 |
this.vendorId = iprot.readI64();
|
35441 |
this.fulfilmentWarehouseId = iprot.readI64();
|
| 35442 |
setVendorIdIsSet(true);
|
35442 |
setFulfilmentWarehouseIdIsSet(true);
|
| 35443 |
} else {
|
35443 |
} else {
|
| 35444 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
35444 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 35445 |
}
|
35445 |
}
|
| 35446 |
break;
|
35446 |
break;
|
| 35447 |
case 9: // AUTHORIZE
|
35447 |
case 9: // AUTHORIZE
|
| Line 35492... |
Line 35492... |
| 35492 |
oprot.writeI64(this.jacketNumber);
|
35492 |
oprot.writeI64(this.jacketNumber);
|
| 35493 |
oprot.writeFieldEnd();
|
35493 |
oprot.writeFieldEnd();
|
| 35494 |
oprot.writeFieldBegin(BILLING_TYPE_FIELD_DESC);
|
35494 |
oprot.writeFieldBegin(BILLING_TYPE_FIELD_DESC);
|
| 35495 |
oprot.writeI64(this.billingType);
|
35495 |
oprot.writeI64(this.billingType);
|
| 35496 |
oprot.writeFieldEnd();
|
35496 |
oprot.writeFieldEnd();
|
| 35497 |
oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
|
35497 |
oprot.writeFieldBegin(FULFILMENT_WAREHOUSE_ID_FIELD_DESC);
|
| 35498 |
oprot.writeI64(this.vendorId);
|
35498 |
oprot.writeI64(this.fulfilmentWarehouseId);
|
| 35499 |
oprot.writeFieldEnd();
|
35499 |
oprot.writeFieldEnd();
|
| 35500 |
oprot.writeFieldBegin(AUTHORIZE_FIELD_DESC);
|
35500 |
oprot.writeFieldBegin(AUTHORIZE_FIELD_DESC);
|
| 35501 |
oprot.writeBool(this.authorize);
|
35501 |
oprot.writeBool(this.authorize);
|
| 35502 |
oprot.writeFieldEnd();
|
35502 |
oprot.writeFieldEnd();
|
| 35503 |
oprot.writeFieldStop();
|
35503 |
oprot.writeFieldStop();
|
| Line 35551... |
Line 35551... |
| 35551 |
if (!first) sb.append(", ");
|
35551 |
if (!first) sb.append(", ");
|
| 35552 |
sb.append("billingType:");
|
35552 |
sb.append("billingType:");
|
| 35553 |
sb.append(this.billingType);
|
35553 |
sb.append(this.billingType);
|
| 35554 |
first = false;
|
35554 |
first = false;
|
| 35555 |
if (!first) sb.append(", ");
|
35555 |
if (!first) sb.append(", ");
|
| 35556 |
sb.append("vendorId:");
|
35556 |
sb.append("fulfilmentWarehouseId:");
|
| 35557 |
sb.append(this.vendorId);
|
35557 |
sb.append(this.fulfilmentWarehouseId);
|
| 35558 |
first = false;
|
35558 |
first = false;
|
| 35559 |
if (!first) sb.append(", ");
|
35559 |
if (!first) sb.append(", ");
|
| 35560 |
sb.append("authorize:");
|
35560 |
sb.append("authorize:");
|
| 35561 |
sb.append(this.authorize);
|
35561 |
sb.append(this.authorize);
|
| 35562 |
first = false;
|
35562 |
first = false;
|