| Line 198... |
Line 198... |
| 198 |
* * Inserts new Invoice/LineItem/Purchase Entries for Billed Product done through Our External Billing
|
198 |
* * Inserts new Invoice/LineItem/Purchase Entries for Billed Product done through Our External Billing
|
| 199 |
* *
|
199 |
* *
|
| 200 |
*
|
200 |
*
|
| 201 |
* @param invoiceNumber
|
201 |
* @param invoiceNumber
|
| 202 |
* @param unitPrice
|
202 |
* @param unitPrice
|
| - |
|
203 |
* @param nlc
|
| 203 |
* @param itemId
|
204 |
* @param itemId
|
| 204 |
*/
|
205 |
*/
|
| 205 |
public long createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, long itemId) throws org.apache.thrift.TException;
|
206 |
public long createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, double nlc, long itemId) throws org.apache.thrift.TException;
|
| 206 |
|
207 |
|
| 207 |
public void fulfillPOForExtBilling(long itemId, long quantity) throws org.apache.thrift.TException;
|
208 |
public void fulfillPOForExtBilling(long itemId, long quantity) throws org.apache.thrift.TException;
|
| 208 |
|
209 |
|
| 209 |
/**
|
210 |
/**
|
| 210 |
* Marks a purchase order as closedcomplete and updates the receivedOn time.
|
211 |
* Marks a purchase order as closedcomplete and updates the receivedOn time.
|
| Line 269... |
Line 270... |
| 269 |
|
270 |
|
| 270 |
public void getUnsettledPurchaseReturns(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUnsettledPurchaseReturns_call> resultHandler) throws org.apache.thrift.TException;
|
271 |
public void getUnsettledPurchaseReturns(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUnsettledPurchaseReturns_call> resultHandler) throws org.apache.thrift.TException;
|
| 271 |
|
272 |
|
| 272 |
public void getInvoice(String invoiceNumber, long supplierId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInvoice_call> resultHandler) throws org.apache.thrift.TException;
|
273 |
public void getInvoice(String invoiceNumber, long supplierId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInvoice_call> resultHandler) throws org.apache.thrift.TException;
|
| 273 |
|
274 |
|
| 274 |
public void createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createPurchaseForOurExtBilling_call> resultHandler) throws org.apache.thrift.TException;
|
275 |
public void createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, double nlc, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createPurchaseForOurExtBilling_call> resultHandler) throws org.apache.thrift.TException;
|
| 275 |
|
276 |
|
| 276 |
public void fulfillPOForExtBilling(long itemId, long quantity, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.fulfillPOForExtBilling_call> resultHandler) throws org.apache.thrift.TException;
|
277 |
public void fulfillPOForExtBilling(long itemId, long quantity, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.fulfillPOForExtBilling_call> resultHandler) throws org.apache.thrift.TException;
|
| 277 |
|
278 |
|
| 278 |
public void closePO(long poId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.closePO_call> resultHandler) throws org.apache.thrift.TException;
|
279 |
public void closePO(long poId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.closePO_call> resultHandler) throws org.apache.thrift.TException;
|
| 279 |
|
280 |
|
| Line 860... |
Line 861... |
| 860 |
return result.success;
|
861 |
return result.success;
|
| 861 |
}
|
862 |
}
|
| 862 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getInvoice failed: unknown result");
|
863 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getInvoice failed: unknown result");
|
| 863 |
}
|
864 |
}
|
| 864 |
|
865 |
|
| 865 |
public long createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, long itemId) throws org.apache.thrift.TException
|
866 |
public long createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, double nlc, long itemId) throws org.apache.thrift.TException
|
| 866 |
{
|
867 |
{
|
| 867 |
send_createPurchaseForOurExtBilling(invoiceNumber, unitPrice, itemId);
|
868 |
send_createPurchaseForOurExtBilling(invoiceNumber, unitPrice, nlc, itemId);
|
| 868 |
return recv_createPurchaseForOurExtBilling();
|
869 |
return recv_createPurchaseForOurExtBilling();
|
| 869 |
}
|
870 |
}
|
| 870 |
|
871 |
|
| 871 |
public void send_createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, long itemId) throws org.apache.thrift.TException
|
872 |
public void send_createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, double nlc, long itemId) throws org.apache.thrift.TException
|
| 872 |
{
|
873 |
{
|
| 873 |
createPurchaseForOurExtBilling_args args = new createPurchaseForOurExtBilling_args();
|
874 |
createPurchaseForOurExtBilling_args args = new createPurchaseForOurExtBilling_args();
|
| 874 |
args.setInvoiceNumber(invoiceNumber);
|
875 |
args.setInvoiceNumber(invoiceNumber);
|
| 875 |
args.setUnitPrice(unitPrice);
|
876 |
args.setUnitPrice(unitPrice);
|
| - |
|
877 |
args.setNlc(nlc);
|
| 876 |
args.setItemId(itemId);
|
878 |
args.setItemId(itemId);
|
| 877 |
sendBase("createPurchaseForOurExtBilling", args);
|
879 |
sendBase("createPurchaseForOurExtBilling", args);
|
| 878 |
}
|
880 |
}
|
| 879 |
|
881 |
|
| 880 |
public long recv_createPurchaseForOurExtBilling() throws org.apache.thrift.TException
|
882 |
public long recv_createPurchaseForOurExtBilling() throws org.apache.thrift.TException
|
| Line 1731... |
Line 1733... |
| 1731 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
1733 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 1732 |
return (new Client(prot)).recv_getInvoice();
|
1734 |
return (new Client(prot)).recv_getInvoice();
|
| 1733 |
}
|
1735 |
}
|
| 1734 |
}
|
1736 |
}
|
| 1735 |
|
1737 |
|
| 1736 |
public void createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, long itemId, org.apache.thrift.async.AsyncMethodCallback<createPurchaseForOurExtBilling_call> resultHandler) throws org.apache.thrift.TException {
|
1738 |
public void createPurchaseForOurExtBilling(String invoiceNumber, double unitPrice, double nlc, long itemId, org.apache.thrift.async.AsyncMethodCallback<createPurchaseForOurExtBilling_call> resultHandler) throws org.apache.thrift.TException {
|
| 1737 |
checkReady();
|
1739 |
checkReady();
|
| 1738 |
createPurchaseForOurExtBilling_call method_call = new createPurchaseForOurExtBilling_call(invoiceNumber, unitPrice, itemId, resultHandler, this, ___protocolFactory, ___transport);
|
1740 |
createPurchaseForOurExtBilling_call method_call = new createPurchaseForOurExtBilling_call(invoiceNumber, unitPrice, nlc, itemId, resultHandler, this, ___protocolFactory, ___transport);
|
| 1739 |
this.___currentMethod = method_call;
|
1741 |
this.___currentMethod = method_call;
|
| 1740 |
___manager.call(method_call);
|
1742 |
___manager.call(method_call);
|
| 1741 |
}
|
1743 |
}
|
| 1742 |
|
1744 |
|
| 1743 |
public static class createPurchaseForOurExtBilling_call extends org.apache.thrift.async.TAsyncMethodCall {
|
1745 |
public static class createPurchaseForOurExtBilling_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 1744 |
private String invoiceNumber;
|
1746 |
private String invoiceNumber;
|
| 1745 |
private double unitPrice;
|
1747 |
private double unitPrice;
|
| - |
|
1748 |
private double nlc;
|
| 1746 |
private long itemId;
|
1749 |
private long itemId;
|
| 1747 |
public createPurchaseForOurExtBilling_call(String invoiceNumber, double unitPrice, long itemId, org.apache.thrift.async.AsyncMethodCallback<createPurchaseForOurExtBilling_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 {
|
1750 |
public createPurchaseForOurExtBilling_call(String invoiceNumber, double unitPrice, double nlc, long itemId, org.apache.thrift.async.AsyncMethodCallback<createPurchaseForOurExtBilling_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 {
|
| 1748 |
super(client, protocolFactory, transport, resultHandler, false);
|
1751 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 1749 |
this.invoiceNumber = invoiceNumber;
|
1752 |
this.invoiceNumber = invoiceNumber;
|
| 1750 |
this.unitPrice = unitPrice;
|
1753 |
this.unitPrice = unitPrice;
|
| - |
|
1754 |
this.nlc = nlc;
|
| 1751 |
this.itemId = itemId;
|
1755 |
this.itemId = itemId;
|
| 1752 |
}
|
1756 |
}
|
| 1753 |
|
1757 |
|
| 1754 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
1758 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 1755 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createPurchaseForOurExtBilling", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
1759 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createPurchaseForOurExtBilling", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 1756 |
createPurchaseForOurExtBilling_args args = new createPurchaseForOurExtBilling_args();
|
1760 |
createPurchaseForOurExtBilling_args args = new createPurchaseForOurExtBilling_args();
|
| 1757 |
args.setInvoiceNumber(invoiceNumber);
|
1761 |
args.setInvoiceNumber(invoiceNumber);
|
| 1758 |
args.setUnitPrice(unitPrice);
|
1762 |
args.setUnitPrice(unitPrice);
|
| - |
|
1763 |
args.setNlc(nlc);
|
| 1759 |
args.setItemId(itemId);
|
1764 |
args.setItemId(itemId);
|
| 1760 |
args.write(prot);
|
1765 |
args.write(prot);
|
| 1761 |
prot.writeMessageEnd();
|
1766 |
prot.writeMessageEnd();
|
| 1762 |
}
|
1767 |
}
|
| 1763 |
|
1768 |
|
| Line 2353... |
Line 2358... |
| 2353 |
return new createPurchaseForOurExtBilling_args();
|
2358 |
return new createPurchaseForOurExtBilling_args();
|
| 2354 |
}
|
2359 |
}
|
| 2355 |
|
2360 |
|
| 2356 |
protected createPurchaseForOurExtBilling_result getResult(I iface, createPurchaseForOurExtBilling_args args) throws org.apache.thrift.TException {
|
2361 |
protected createPurchaseForOurExtBilling_result getResult(I iface, createPurchaseForOurExtBilling_args args) throws org.apache.thrift.TException {
|
| 2357 |
createPurchaseForOurExtBilling_result result = new createPurchaseForOurExtBilling_result();
|
2362 |
createPurchaseForOurExtBilling_result result = new createPurchaseForOurExtBilling_result();
|
| 2358 |
result.success = iface.createPurchaseForOurExtBilling(args.invoiceNumber, args.unitPrice, args.itemId);
|
2363 |
result.success = iface.createPurchaseForOurExtBilling(args.invoiceNumber, args.unitPrice, args.nlc, args.itemId);
|
| 2359 |
result.setSuccessIsSet(true);
|
2364 |
result.setSuccessIsSet(true);
|
| 2360 |
return result;
|
2365 |
return result;
|
| 2361 |
}
|
2366 |
}
|
| 2362 |
}
|
2367 |
}
|
| 2363 |
|
2368 |
|
| Line 17622... |
Line 17627... |
| 17622 |
public static class createPurchaseForOurExtBilling_args implements org.apache.thrift.TBase<createPurchaseForOurExtBilling_args, createPurchaseForOurExtBilling_args._Fields>, java.io.Serializable, Cloneable {
|
17627 |
public static class createPurchaseForOurExtBilling_args implements org.apache.thrift.TBase<createPurchaseForOurExtBilling_args, createPurchaseForOurExtBilling_args._Fields>, java.io.Serializable, Cloneable {
|
| 17623 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createPurchaseForOurExtBilling_args");
|
17628 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createPurchaseForOurExtBilling_args");
|
| 17624 |
|
17629 |
|
| 17625 |
private static final org.apache.thrift.protocol.TField INVOICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("invoiceNumber", org.apache.thrift.protocol.TType.STRING, (short)1);
|
17630 |
private static final org.apache.thrift.protocol.TField INVOICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("invoiceNumber", org.apache.thrift.protocol.TType.STRING, (short)1);
|
| 17626 |
private static final org.apache.thrift.protocol.TField UNIT_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("unitPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
|
17631 |
private static final org.apache.thrift.protocol.TField UNIT_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("unitPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
|
| - |
|
17632 |
private static final org.apache.thrift.protocol.TField NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("nlc", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
|
| 17627 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)3);
|
17633 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)4);
|
| 17628 |
|
17634 |
|
| 17629 |
private String invoiceNumber; // required
|
17635 |
private String invoiceNumber; // required
|
| 17630 |
private double unitPrice; // required
|
17636 |
private double unitPrice; // required
|
| - |
|
17637 |
private double nlc; // required
|
| 17631 |
private long itemId; // required
|
17638 |
private long itemId; // required
|
| 17632 |
|
17639 |
|
| 17633 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
17640 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 17634 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
17641 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 17635 |
INVOICE_NUMBER((short)1, "invoiceNumber"),
|
17642 |
INVOICE_NUMBER((short)1, "invoiceNumber"),
|
| 17636 |
UNIT_PRICE((short)2, "unitPrice"),
|
17643 |
UNIT_PRICE((short)2, "unitPrice"),
|
| - |
|
17644 |
NLC((short)3, "nlc"),
|
| 17637 |
ITEM_ID((short)3, "itemId");
|
17645 |
ITEM_ID((short)4, "itemId");
|
| 17638 |
|
17646 |
|
| 17639 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
17647 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 17640 |
|
17648 |
|
| 17641 |
static {
|
17649 |
static {
|
| 17642 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
17650 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 17651... |
Line 17659... |
| 17651 |
switch(fieldId) {
|
17659 |
switch(fieldId) {
|
| 17652 |
case 1: // INVOICE_NUMBER
|
17660 |
case 1: // INVOICE_NUMBER
|
| 17653 |
return INVOICE_NUMBER;
|
17661 |
return INVOICE_NUMBER;
|
| 17654 |
case 2: // UNIT_PRICE
|
17662 |
case 2: // UNIT_PRICE
|
| 17655 |
return UNIT_PRICE;
|
17663 |
return UNIT_PRICE;
|
| - |
|
17664 |
case 3: // NLC
|
| - |
|
17665 |
return NLC;
|
| 17656 |
case 3: // ITEM_ID
|
17666 |
case 4: // ITEM_ID
|
| 17657 |
return ITEM_ID;
|
17667 |
return ITEM_ID;
|
| 17658 |
default:
|
17668 |
default:
|
| 17659 |
return null;
|
17669 |
return null;
|
| 17660 |
}
|
17670 |
}
|
| 17661 |
}
|
17671 |
}
|
| Line 17694... |
Line 17704... |
| 17694 |
}
|
17704 |
}
|
| 17695 |
}
|
17705 |
}
|
| 17696 |
|
17706 |
|
| 17697 |
// isset id assignments
|
17707 |
// isset id assignments
|
| 17698 |
private static final int __UNITPRICE_ISSET_ID = 0;
|
17708 |
private static final int __UNITPRICE_ISSET_ID = 0;
|
| - |
|
17709 |
private static final int __NLC_ISSET_ID = 1;
|
| 17699 |
private static final int __ITEMID_ISSET_ID = 1;
|
17710 |
private static final int __ITEMID_ISSET_ID = 2;
|
| 17700 |
private BitSet __isset_bit_vector = new BitSet(2);
|
17711 |
private BitSet __isset_bit_vector = new BitSet(3);
|
| 17701 |
|
17712 |
|
| 17702 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
17713 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 17703 |
static {
|
17714 |
static {
|
| 17704 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
17715 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 17705 |
tmpMap.put(_Fields.INVOICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("invoiceNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
17716 |
tmpMap.put(_Fields.INVOICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("invoiceNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 17706 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
17717 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 17707 |
tmpMap.put(_Fields.UNIT_PRICE, new org.apache.thrift.meta_data.FieldMetaData("unitPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
17718 |
tmpMap.put(_Fields.UNIT_PRICE, new org.apache.thrift.meta_data.FieldMetaData("unitPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 17708 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
17719 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
17720 |
tmpMap.put(_Fields.NLC, new org.apache.thrift.meta_data.FieldMetaData("nlc", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
17721 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 17709 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
17722 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 17710 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
17723 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 17711 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
17724 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 17712 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createPurchaseForOurExtBilling_args.class, metaDataMap);
|
17725 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createPurchaseForOurExtBilling_args.class, metaDataMap);
|
| 17713 |
}
|
17726 |
}
|
| Line 17716... |
Line 17729... |
| 17716 |
}
|
17729 |
}
|
| 17717 |
|
17730 |
|
| 17718 |
public createPurchaseForOurExtBilling_args(
|
17731 |
public createPurchaseForOurExtBilling_args(
|
| 17719 |
String invoiceNumber,
|
17732 |
String invoiceNumber,
|
| 17720 |
double unitPrice,
|
17733 |
double unitPrice,
|
| - |
|
17734 |
double nlc,
|
| 17721 |
long itemId)
|
17735 |
long itemId)
|
| 17722 |
{
|
17736 |
{
|
| 17723 |
this();
|
17737 |
this();
|
| 17724 |
this.invoiceNumber = invoiceNumber;
|
17738 |
this.invoiceNumber = invoiceNumber;
|
| 17725 |
this.unitPrice = unitPrice;
|
17739 |
this.unitPrice = unitPrice;
|
| 17726 |
setUnitPriceIsSet(true);
|
17740 |
setUnitPriceIsSet(true);
|
| - |
|
17741 |
this.nlc = nlc;
|
| - |
|
17742 |
setNlcIsSet(true);
|
| 17727 |
this.itemId = itemId;
|
17743 |
this.itemId = itemId;
|
| 17728 |
setItemIdIsSet(true);
|
17744 |
setItemIdIsSet(true);
|
| 17729 |
}
|
17745 |
}
|
| 17730 |
|
17746 |
|
| 17731 |
/**
|
17747 |
/**
|
| Line 17736... |
Line 17752... |
| 17736 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
17752 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 17737 |
if (other.isSetInvoiceNumber()) {
|
17753 |
if (other.isSetInvoiceNumber()) {
|
| 17738 |
this.invoiceNumber = other.invoiceNumber;
|
17754 |
this.invoiceNumber = other.invoiceNumber;
|
| 17739 |
}
|
17755 |
}
|
| 17740 |
this.unitPrice = other.unitPrice;
|
17756 |
this.unitPrice = other.unitPrice;
|
| - |
|
17757 |
this.nlc = other.nlc;
|
| 17741 |
this.itemId = other.itemId;
|
17758 |
this.itemId = other.itemId;
|
| 17742 |
}
|
17759 |
}
|
| 17743 |
|
17760 |
|
| 17744 |
public createPurchaseForOurExtBilling_args deepCopy() {
|
17761 |
public createPurchaseForOurExtBilling_args deepCopy() {
|
| 17745 |
return new createPurchaseForOurExtBilling_args(this);
|
17762 |
return new createPurchaseForOurExtBilling_args(this);
|
| Line 17748... |
Line 17765... |
| 17748 |
@Override
|
17765 |
@Override
|
| 17749 |
public void clear() {
|
17766 |
public void clear() {
|
| 17750 |
this.invoiceNumber = null;
|
17767 |
this.invoiceNumber = null;
|
| 17751 |
setUnitPriceIsSet(false);
|
17768 |
setUnitPriceIsSet(false);
|
| 17752 |
this.unitPrice = 0.0;
|
17769 |
this.unitPrice = 0.0;
|
| - |
|
17770 |
setNlcIsSet(false);
|
| - |
|
17771 |
this.nlc = 0.0;
|
| 17753 |
setItemIdIsSet(false);
|
17772 |
setItemIdIsSet(false);
|
| 17754 |
this.itemId = 0;
|
17773 |
this.itemId = 0;
|
| 17755 |
}
|
17774 |
}
|
| 17756 |
|
17775 |
|
| 17757 |
public String getInvoiceNumber() {
|
17776 |
public String getInvoiceNumber() {
|
| Line 17797... |
Line 17816... |
| 17797 |
|
17816 |
|
| 17798 |
public void setUnitPriceIsSet(boolean value) {
|
17817 |
public void setUnitPriceIsSet(boolean value) {
|
| 17799 |
__isset_bit_vector.set(__UNITPRICE_ISSET_ID, value);
|
17818 |
__isset_bit_vector.set(__UNITPRICE_ISSET_ID, value);
|
| 17800 |
}
|
17819 |
}
|
| 17801 |
|
17820 |
|
| - |
|
17821 |
public double getNlc() {
|
| - |
|
17822 |
return this.nlc;
|
| - |
|
17823 |
}
|
| - |
|
17824 |
|
| - |
|
17825 |
public void setNlc(double nlc) {
|
| - |
|
17826 |
this.nlc = nlc;
|
| - |
|
17827 |
setNlcIsSet(true);
|
| - |
|
17828 |
}
|
| - |
|
17829 |
|
| - |
|
17830 |
public void unsetNlc() {
|
| - |
|
17831 |
__isset_bit_vector.clear(__NLC_ISSET_ID);
|
| - |
|
17832 |
}
|
| - |
|
17833 |
|
| - |
|
17834 |
/** Returns true if field nlc is set (has been assigned a value) and false otherwise */
|
| - |
|
17835 |
public boolean isSetNlc() {
|
| - |
|
17836 |
return __isset_bit_vector.get(__NLC_ISSET_ID);
|
| - |
|
17837 |
}
|
| - |
|
17838 |
|
| - |
|
17839 |
public void setNlcIsSet(boolean value) {
|
| - |
|
17840 |
__isset_bit_vector.set(__NLC_ISSET_ID, value);
|
| - |
|
17841 |
}
|
| - |
|
17842 |
|
| 17802 |
public long getItemId() {
|
17843 |
public long getItemId() {
|
| 17803 |
return this.itemId;
|
17844 |
return this.itemId;
|
| 17804 |
}
|
17845 |
}
|
| 17805 |
|
17846 |
|
| 17806 |
public void setItemId(long itemId) {
|
17847 |
public void setItemId(long itemId) {
|
| Line 17837... |
Line 17878... |
| 17837 |
} else {
|
17878 |
} else {
|
| 17838 |
setUnitPrice((Double)value);
|
17879 |
setUnitPrice((Double)value);
|
| 17839 |
}
|
17880 |
}
|
| 17840 |
break;
|
17881 |
break;
|
| 17841 |
|
17882 |
|
| - |
|
17883 |
case NLC:
|
| - |
|
17884 |
if (value == null) {
|
| - |
|
17885 |
unsetNlc();
|
| - |
|
17886 |
} else {
|
| - |
|
17887 |
setNlc((Double)value);
|
| - |
|
17888 |
}
|
| - |
|
17889 |
break;
|
| - |
|
17890 |
|
| 17842 |
case ITEM_ID:
|
17891 |
case ITEM_ID:
|
| 17843 |
if (value == null) {
|
17892 |
if (value == null) {
|
| 17844 |
unsetItemId();
|
17893 |
unsetItemId();
|
| 17845 |
} else {
|
17894 |
} else {
|
| 17846 |
setItemId((Long)value);
|
17895 |
setItemId((Long)value);
|
| Line 17856... |
Line 17905... |
| 17856 |
return getInvoiceNumber();
|
17905 |
return getInvoiceNumber();
|
| 17857 |
|
17906 |
|
| 17858 |
case UNIT_PRICE:
|
17907 |
case UNIT_PRICE:
|
| 17859 |
return Double.valueOf(getUnitPrice());
|
17908 |
return Double.valueOf(getUnitPrice());
|
| 17860 |
|
17909 |
|
| - |
|
17910 |
case NLC:
|
| - |
|
17911 |
return Double.valueOf(getNlc());
|
| - |
|
17912 |
|
| 17861 |
case ITEM_ID:
|
17913 |
case ITEM_ID:
|
| 17862 |
return Long.valueOf(getItemId());
|
17914 |
return Long.valueOf(getItemId());
|
| 17863 |
|
17915 |
|
| 17864 |
}
|
17916 |
}
|
| 17865 |
throw new IllegalStateException();
|
17917 |
throw new IllegalStateException();
|
| Line 17874... |
Line 17926... |
| 17874 |
switch (field) {
|
17926 |
switch (field) {
|
| 17875 |
case INVOICE_NUMBER:
|
17927 |
case INVOICE_NUMBER:
|
| 17876 |
return isSetInvoiceNumber();
|
17928 |
return isSetInvoiceNumber();
|
| 17877 |
case UNIT_PRICE:
|
17929 |
case UNIT_PRICE:
|
| 17878 |
return isSetUnitPrice();
|
17930 |
return isSetUnitPrice();
|
| - |
|
17931 |
case NLC:
|
| - |
|
17932 |
return isSetNlc();
|
| 17879 |
case ITEM_ID:
|
17933 |
case ITEM_ID:
|
| 17880 |
return isSetItemId();
|
17934 |
return isSetItemId();
|
| 17881 |
}
|
17935 |
}
|
| 17882 |
throw new IllegalStateException();
|
17936 |
throw new IllegalStateException();
|
| 17883 |
}
|
17937 |
}
|
| Line 17911... |
Line 17965... |
| 17911 |
return false;
|
17965 |
return false;
|
| 17912 |
if (this.unitPrice != that.unitPrice)
|
17966 |
if (this.unitPrice != that.unitPrice)
|
| 17913 |
return false;
|
17967 |
return false;
|
| 17914 |
}
|
17968 |
}
|
| 17915 |
|
17969 |
|
| - |
|
17970 |
boolean this_present_nlc = true;
|
| - |
|
17971 |
boolean that_present_nlc = true;
|
| - |
|
17972 |
if (this_present_nlc || that_present_nlc) {
|
| - |
|
17973 |
if (!(this_present_nlc && that_present_nlc))
|
| - |
|
17974 |
return false;
|
| - |
|
17975 |
if (this.nlc != that.nlc)
|
| - |
|
17976 |
return false;
|
| - |
|
17977 |
}
|
| - |
|
17978 |
|
| 17916 |
boolean this_present_itemId = true;
|
17979 |
boolean this_present_itemId = true;
|
| 17917 |
boolean that_present_itemId = true;
|
17980 |
boolean that_present_itemId = true;
|
| 17918 |
if (this_present_itemId || that_present_itemId) {
|
17981 |
if (this_present_itemId || that_present_itemId) {
|
| 17919 |
if (!(this_present_itemId && that_present_itemId))
|
17982 |
if (!(this_present_itemId && that_present_itemId))
|
| 17920 |
return false;
|
17983 |
return false;
|
| Line 17956... |
Line 18019... |
| 17956 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unitPrice, typedOther.unitPrice);
|
18019 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unitPrice, typedOther.unitPrice);
|
| 17957 |
if (lastComparison != 0) {
|
18020 |
if (lastComparison != 0) {
|
| 17958 |
return lastComparison;
|
18021 |
return lastComparison;
|
| 17959 |
}
|
18022 |
}
|
| 17960 |
}
|
18023 |
}
|
| - |
|
18024 |
lastComparison = Boolean.valueOf(isSetNlc()).compareTo(typedOther.isSetNlc());
|
| - |
|
18025 |
if (lastComparison != 0) {
|
| - |
|
18026 |
return lastComparison;
|
| - |
|
18027 |
}
|
| - |
|
18028 |
if (isSetNlc()) {
|
| - |
|
18029 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nlc, typedOther.nlc);
|
| - |
|
18030 |
if (lastComparison != 0) {
|
| - |
|
18031 |
return lastComparison;
|
| - |
|
18032 |
}
|
| - |
|
18033 |
}
|
| 17961 |
lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
|
18034 |
lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
|
| 17962 |
if (lastComparison != 0) {
|
18035 |
if (lastComparison != 0) {
|
| 17963 |
return lastComparison;
|
18036 |
return lastComparison;
|
| 17964 |
}
|
18037 |
}
|
| 17965 |
if (isSetItemId()) {
|
18038 |
if (isSetItemId()) {
|
| Line 17998... |
Line 18071... |
| 17998 |
setUnitPriceIsSet(true);
|
18071 |
setUnitPriceIsSet(true);
|
| 17999 |
} else {
|
18072 |
} else {
|
| 18000 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
18073 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 18001 |
}
|
18074 |
}
|
| 18002 |
break;
|
18075 |
break;
|
| - |
|
18076 |
case 3: // NLC
|
| - |
|
18077 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
18078 |
this.nlc = iprot.readDouble();
|
| - |
|
18079 |
setNlcIsSet(true);
|
| - |
|
18080 |
} else {
|
| - |
|
18081 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
18082 |
}
|
| - |
|
18083 |
break;
|
| 18003 |
case 3: // ITEM_ID
|
18084 |
case 4: // ITEM_ID
|
| 18004 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
18085 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 18005 |
this.itemId = iprot.readI64();
|
18086 |
this.itemId = iprot.readI64();
|
| 18006 |
setItemIdIsSet(true);
|
18087 |
setItemIdIsSet(true);
|
| 18007 |
} else {
|
18088 |
} else {
|
| 18008 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
18089 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 18027... |
Line 18108... |
| 18027 |
oprot.writeFieldEnd();
|
18108 |
oprot.writeFieldEnd();
|
| 18028 |
}
|
18109 |
}
|
| 18029 |
oprot.writeFieldBegin(UNIT_PRICE_FIELD_DESC);
|
18110 |
oprot.writeFieldBegin(UNIT_PRICE_FIELD_DESC);
|
| 18030 |
oprot.writeDouble(this.unitPrice);
|
18111 |
oprot.writeDouble(this.unitPrice);
|
| 18031 |
oprot.writeFieldEnd();
|
18112 |
oprot.writeFieldEnd();
|
| - |
|
18113 |
oprot.writeFieldBegin(NLC_FIELD_DESC);
|
| - |
|
18114 |
oprot.writeDouble(this.nlc);
|
| - |
|
18115 |
oprot.writeFieldEnd();
|
| 18032 |
oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
|
18116 |
oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
|
| 18033 |
oprot.writeI64(this.itemId);
|
18117 |
oprot.writeI64(this.itemId);
|
| 18034 |
oprot.writeFieldEnd();
|
18118 |
oprot.writeFieldEnd();
|
| 18035 |
oprot.writeFieldStop();
|
18119 |
oprot.writeFieldStop();
|
| 18036 |
oprot.writeStructEnd();
|
18120 |
oprot.writeStructEnd();
|
| Line 18051... |
Line 18135... |
| 18051 |
if (!first) sb.append(", ");
|
18135 |
if (!first) sb.append(", ");
|
| 18052 |
sb.append("unitPrice:");
|
18136 |
sb.append("unitPrice:");
|
| 18053 |
sb.append(this.unitPrice);
|
18137 |
sb.append(this.unitPrice);
|
| 18054 |
first = false;
|
18138 |
first = false;
|
| 18055 |
if (!first) sb.append(", ");
|
18139 |
if (!first) sb.append(", ");
|
| - |
|
18140 |
sb.append("nlc:");
|
| - |
|
18141 |
sb.append(this.nlc);
|
| - |
|
18142 |
first = false;
|
| - |
|
18143 |
if (!first) sb.append(", ");
|
| 18056 |
sb.append("itemId:");
|
18144 |
sb.append("itemId:");
|
| 18057 |
sb.append(this.itemId);
|
18145 |
sb.append(this.itemId);
|
| 18058 |
first = false;
|
18146 |
first = false;
|
| 18059 |
sb.append(")");
|
18147 |
sb.append(")");
|
| 18060 |
return sb.toString();
|
18148 |
return sb.toString();
|