| Line 531... |
Line 531... |
| 531 |
* @param orderId
|
531 |
* @param orderId
|
| 532 |
*/
|
532 |
*/
|
| 533 |
public void markOrderCancellationRequestDenied(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
|
533 |
public void markOrderCancellationRequestDenied(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 534 |
|
534 |
|
| 535 |
/**
|
535 |
/**
|
| 536 |
* If we and/or payment has decided to accept the order, this method needs to be called.
|
536 |
* If we and/or payment gateway has decided to accept the payment, this method needs to be called.
|
| 537 |
* Changed order status and payment status
|
537 |
* Changed transaction and all orders status to payment accepted.
|
| 538 |
*
|
538 |
*
|
| 539 |
* @param orderId
|
539 |
* @param transactionId
|
| 540 |
*/
|
540 |
*/
|
| 541 |
public void markOrderAsPaymentFlagRemoved(long orderId) throws TransactionServiceException, org.apache.thrift.TException;
|
541 |
public void markTransactionAsPaymentFlagRemoved(long transactionId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 542 |
|
542 |
|
| 543 |
}
|
543 |
}
|
| 544 |
|
544 |
|
| 545 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
545 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
| 546 |
|
546 |
|
| Line 668... |
Line 668... |
| 668 |
|
668 |
|
| 669 |
public void markOrderCancellationRequestConfirmed(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderCancellationRequestConfirmed_call> resultHandler) throws org.apache.thrift.TException;
|
669 |
public void markOrderCancellationRequestConfirmed(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderCancellationRequestConfirmed_call> resultHandler) throws org.apache.thrift.TException;
|
| 670 |
|
670 |
|
| 671 |
public void markOrderCancellationRequestDenied(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderCancellationRequestDenied_call> resultHandler) throws org.apache.thrift.TException;
|
671 |
public void markOrderCancellationRequestDenied(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderCancellationRequestDenied_call> resultHandler) throws org.apache.thrift.TException;
|
| 672 |
|
672 |
|
| 673 |
public void markOrderAsPaymentFlagRemoved(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderAsPaymentFlagRemoved_call> resultHandler) throws org.apache.thrift.TException;
|
673 |
public void markTransactionAsPaymentFlagRemoved(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markTransactionAsPaymentFlagRemoved_call> resultHandler) throws org.apache.thrift.TException;
|
| 674 |
|
674 |
|
| 675 |
}
|
675 |
}
|
| 676 |
|
676 |
|
| 677 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
677 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
| 678 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
678 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
| Line 2325... |
Line 2325... |
| 2325 |
throw result.ex;
|
2325 |
throw result.ex;
|
| 2326 |
}
|
2326 |
}
|
| 2327 |
return;
|
2327 |
return;
|
| 2328 |
}
|
2328 |
}
|
| 2329 |
|
2329 |
|
| 2330 |
public void markOrderAsPaymentFlagRemoved(long orderId) throws TransactionServiceException, org.apache.thrift.TException
|
2330 |
public void markTransactionAsPaymentFlagRemoved(long transactionId) throws TransactionServiceException, org.apache.thrift.TException
|
| 2331 |
{
|
2331 |
{
|
| 2332 |
send_markOrderAsPaymentFlagRemoved(orderId);
|
2332 |
send_markTransactionAsPaymentFlagRemoved(transactionId);
|
| 2333 |
recv_markOrderAsPaymentFlagRemoved();
|
2333 |
recv_markTransactionAsPaymentFlagRemoved();
|
| 2334 |
}
|
2334 |
}
|
| 2335 |
|
2335 |
|
| 2336 |
public void send_markOrderAsPaymentFlagRemoved(long orderId) throws org.apache.thrift.TException
|
2336 |
public void send_markTransactionAsPaymentFlagRemoved(long transactionId) throws org.apache.thrift.TException
|
| 2337 |
{
|
2337 |
{
|
| 2338 |
markOrderAsPaymentFlagRemoved_args args = new markOrderAsPaymentFlagRemoved_args();
|
2338 |
markTransactionAsPaymentFlagRemoved_args args = new markTransactionAsPaymentFlagRemoved_args();
|
| 2339 |
args.setOrderId(orderId);
|
2339 |
args.setTransactionId(transactionId);
|
| 2340 |
sendBase("markOrderAsPaymentFlagRemoved", args);
|
2340 |
sendBase("markTransactionAsPaymentFlagRemoved", args);
|
| 2341 |
}
|
2341 |
}
|
| 2342 |
|
2342 |
|
| 2343 |
public void recv_markOrderAsPaymentFlagRemoved() throws TransactionServiceException, org.apache.thrift.TException
|
2343 |
public void recv_markTransactionAsPaymentFlagRemoved() throws TransactionServiceException, org.apache.thrift.TException
|
| 2344 |
{
|
2344 |
{
|
| 2345 |
markOrderAsPaymentFlagRemoved_result result = new markOrderAsPaymentFlagRemoved_result();
|
2345 |
markTransactionAsPaymentFlagRemoved_result result = new markTransactionAsPaymentFlagRemoved_result();
|
| 2346 |
receiveBase(result, "markOrderAsPaymentFlagRemoved");
|
2346 |
receiveBase(result, "markTransactionAsPaymentFlagRemoved");
|
| 2347 |
if (result.ex != null) {
|
2347 |
if (result.ex != null) {
|
| 2348 |
throw result.ex;
|
2348 |
throw result.ex;
|
| 2349 |
}
|
2349 |
}
|
| 2350 |
return;
|
2350 |
return;
|
| 2351 |
}
|
2351 |
}
|
| Line 4556... |
Line 4556... |
| 4556 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4556 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4557 |
(new Client(prot)).recv_markOrderCancellationRequestDenied();
|
4557 |
(new Client(prot)).recv_markOrderCancellationRequestDenied();
|
| 4558 |
}
|
4558 |
}
|
| 4559 |
}
|
4559 |
}
|
| 4560 |
|
4560 |
|
| 4561 |
public void markOrderAsPaymentFlagRemoved(long orderId, org.apache.thrift.async.AsyncMethodCallback<markOrderAsPaymentFlagRemoved_call> resultHandler) throws org.apache.thrift.TException {
|
4561 |
public void markTransactionAsPaymentFlagRemoved(long transactionId, org.apache.thrift.async.AsyncMethodCallback<markTransactionAsPaymentFlagRemoved_call> resultHandler) throws org.apache.thrift.TException {
|
| 4562 |
checkReady();
|
4562 |
checkReady();
|
| 4563 |
markOrderAsPaymentFlagRemoved_call method_call = new markOrderAsPaymentFlagRemoved_call(orderId, resultHandler, this, ___protocolFactory, ___transport);
|
4563 |
markTransactionAsPaymentFlagRemoved_call method_call = new markTransactionAsPaymentFlagRemoved_call(transactionId, resultHandler, this, ___protocolFactory, ___transport);
|
| 4564 |
this.___currentMethod = method_call;
|
4564 |
this.___currentMethod = method_call;
|
| 4565 |
___manager.call(method_call);
|
4565 |
___manager.call(method_call);
|
| 4566 |
}
|
4566 |
}
|
| 4567 |
|
4567 |
|
| 4568 |
public static class markOrderAsPaymentFlagRemoved_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4568 |
public static class markTransactionAsPaymentFlagRemoved_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4569 |
private long orderId;
|
4569 |
private long transactionId;
|
| 4570 |
public markOrderAsPaymentFlagRemoved_call(long orderId, org.apache.thrift.async.AsyncMethodCallback<markOrderAsPaymentFlagRemoved_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 {
|
4570 |
public markTransactionAsPaymentFlagRemoved_call(long transactionId, org.apache.thrift.async.AsyncMethodCallback<markTransactionAsPaymentFlagRemoved_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 {
|
| 4571 |
super(client, protocolFactory, transport, resultHandler, false);
|
4571 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4572 |
this.orderId = orderId;
|
4572 |
this.transactionId = transactionId;
|
| 4573 |
}
|
4573 |
}
|
| 4574 |
|
4574 |
|
| 4575 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4575 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4576 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrderAsPaymentFlagRemoved", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4576 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markTransactionAsPaymentFlagRemoved", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4577 |
markOrderAsPaymentFlagRemoved_args args = new markOrderAsPaymentFlagRemoved_args();
|
4577 |
markTransactionAsPaymentFlagRemoved_args args = new markTransactionAsPaymentFlagRemoved_args();
|
| 4578 |
args.setOrderId(orderId);
|
4578 |
args.setTransactionId(transactionId);
|
| 4579 |
args.write(prot);
|
4579 |
args.write(prot);
|
| 4580 |
prot.writeMessageEnd();
|
4580 |
prot.writeMessageEnd();
|
| 4581 |
}
|
4581 |
}
|
| 4582 |
|
4582 |
|
| 4583 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
4583 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| 4584 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
4584 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| 4585 |
throw new IllegalStateException("Method call not finished!");
|
4585 |
throw new IllegalStateException("Method call not finished!");
|
| 4586 |
}
|
4586 |
}
|
| 4587 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
4587 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| 4588 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4588 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4589 |
(new Client(prot)).recv_markOrderAsPaymentFlagRemoved();
|
4589 |
(new Client(prot)).recv_markTransactionAsPaymentFlagRemoved();
|
| 4590 |
}
|
4590 |
}
|
| 4591 |
}
|
4591 |
}
|
| 4592 |
|
4592 |
|
| 4593 |
}
|
4593 |
}
|
| 4594 |
|
4594 |
|
| Line 4664... |
Line 4664... |
| 4664 |
processMap.put("markTransactionAsProcessed", new markTransactionAsProcessed());
|
4664 |
processMap.put("markTransactionAsProcessed", new markTransactionAsProcessed());
|
| 4665 |
processMap.put("getItemWiseRiskyOrdersCount", new getItemWiseRiskyOrdersCount());
|
4665 |
processMap.put("getItemWiseRiskyOrdersCount", new getItemWiseRiskyOrdersCount());
|
| 4666 |
processMap.put("markOrderCancellationRequestReceived", new markOrderCancellationRequestReceived());
|
4666 |
processMap.put("markOrderCancellationRequestReceived", new markOrderCancellationRequestReceived());
|
| 4667 |
processMap.put("markOrderCancellationRequestConfirmed", new markOrderCancellationRequestConfirmed());
|
4667 |
processMap.put("markOrderCancellationRequestConfirmed", new markOrderCancellationRequestConfirmed());
|
| 4668 |
processMap.put("markOrderCancellationRequestDenied", new markOrderCancellationRequestDenied());
|
4668 |
processMap.put("markOrderCancellationRequestDenied", new markOrderCancellationRequestDenied());
|
| 4669 |
processMap.put("markOrderAsPaymentFlagRemoved", new markOrderAsPaymentFlagRemoved());
|
4669 |
processMap.put("markTransactionAsPaymentFlagRemoved", new markTransactionAsPaymentFlagRemoved());
|
| 4670 |
return processMap;
|
4670 |
return processMap;
|
| 4671 |
}
|
4671 |
}
|
| 4672 |
|
4672 |
|
| 4673 |
private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
|
4673 |
private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
|
| 4674 |
public createTransaction() {
|
4674 |
public createTransaction() {
|
| Line 5904... |
Line 5904... |
| 5904 |
}
|
5904 |
}
|
| 5905 |
return result;
|
5905 |
return result;
|
| 5906 |
}
|
5906 |
}
|
| 5907 |
}
|
5907 |
}
|
| 5908 |
|
5908 |
|
| 5909 |
private static class markOrderAsPaymentFlagRemoved<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markOrderAsPaymentFlagRemoved_args> {
|
5909 |
private static class markTransactionAsPaymentFlagRemoved<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markTransactionAsPaymentFlagRemoved_args> {
|
| 5910 |
public markOrderAsPaymentFlagRemoved() {
|
5910 |
public markTransactionAsPaymentFlagRemoved() {
|
| 5911 |
super("markOrderAsPaymentFlagRemoved");
|
5911 |
super("markTransactionAsPaymentFlagRemoved");
|
| 5912 |
}
|
5912 |
}
|
| 5913 |
|
5913 |
|
| 5914 |
protected markOrderAsPaymentFlagRemoved_args getEmptyArgsInstance() {
|
5914 |
protected markTransactionAsPaymentFlagRemoved_args getEmptyArgsInstance() {
|
| 5915 |
return new markOrderAsPaymentFlagRemoved_args();
|
5915 |
return new markTransactionAsPaymentFlagRemoved_args();
|
| 5916 |
}
|
5916 |
}
|
| 5917 |
|
5917 |
|
| 5918 |
protected markOrderAsPaymentFlagRemoved_result getResult(I iface, markOrderAsPaymentFlagRemoved_args args) throws org.apache.thrift.TException {
|
5918 |
protected markTransactionAsPaymentFlagRemoved_result getResult(I iface, markTransactionAsPaymentFlagRemoved_args args) throws org.apache.thrift.TException {
|
| 5919 |
markOrderAsPaymentFlagRemoved_result result = new markOrderAsPaymentFlagRemoved_result();
|
5919 |
markTransactionAsPaymentFlagRemoved_result result = new markTransactionAsPaymentFlagRemoved_result();
|
| 5920 |
try {
|
5920 |
try {
|
| 5921 |
iface.markOrderAsPaymentFlagRemoved(args.orderId);
|
5921 |
iface.markTransactionAsPaymentFlagRemoved(args.transactionId);
|
| 5922 |
} catch (TransactionServiceException ex) {
|
5922 |
} catch (TransactionServiceException ex) {
|
| 5923 |
result.ex = ex;
|
5923 |
result.ex = ex;
|
| 5924 |
}
|
5924 |
}
|
| 5925 |
return result;
|
5925 |
return result;
|
| 5926 |
}
|
5926 |
}
|
| Line 52776... |
Line 52776... |
| 52776 |
}
|
52776 |
}
|
| 52777 |
}
|
52777 |
}
|
| 52778 |
|
52778 |
|
| 52779 |
}
|
52779 |
}
|
| 52780 |
|
52780 |
|
| 52781 |
public static class markOrderAsPaymentFlagRemoved_args implements org.apache.thrift.TBase<markOrderAsPaymentFlagRemoved_args, markOrderAsPaymentFlagRemoved_args._Fields>, java.io.Serializable, Cloneable {
|
52781 |
public static class markTransactionAsPaymentFlagRemoved_args implements org.apache.thrift.TBase<markTransactionAsPaymentFlagRemoved_args, markTransactionAsPaymentFlagRemoved_args._Fields>, java.io.Serializable, Cloneable {
|
| 52782 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderAsPaymentFlagRemoved_args");
|
52782 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markTransactionAsPaymentFlagRemoved_args");
|
| 52783 |
|
52783 |
|
| 52784 |
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);
|
52784 |
private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 52785 |
|
52785 |
|
| 52786 |
private long orderId; // required
|
52786 |
private long transactionId; // required
|
| 52787 |
|
52787 |
|
| 52788 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
52788 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 52789 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
52789 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 52790 |
ORDER_ID((short)1, "orderId");
|
52790 |
TRANSACTION_ID((short)1, "transactionId");
|
| 52791 |
|
52791 |
|
| 52792 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
52792 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 52793 |
|
52793 |
|
| 52794 |
static {
|
52794 |
static {
|
| 52795 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
52795 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 52800... |
Line 52800... |
| 52800 |
/**
|
52800 |
/**
|
| 52801 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
52801 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| 52802 |
*/
|
52802 |
*/
|
| 52803 |
public static _Fields findByThriftId(int fieldId) {
|
52803 |
public static _Fields findByThriftId(int fieldId) {
|
| 52804 |
switch(fieldId) {
|
52804 |
switch(fieldId) {
|
| 52805 |
case 1: // ORDER_ID
|
52805 |
case 1: // TRANSACTION_ID
|
| 52806 |
return ORDER_ID;
|
52806 |
return TRANSACTION_ID;
|
| 52807 |
default:
|
52807 |
default:
|
| 52808 |
return null;
|
52808 |
return null;
|
| 52809 |
}
|
52809 |
}
|
| 52810 |
}
|
52810 |
}
|
| 52811 |
|
52811 |
|
| Line 52842... |
Line 52842... |
| 52842 |
return _fieldName;
|
52842 |
return _fieldName;
|
| 52843 |
}
|
52843 |
}
|
| 52844 |
}
|
52844 |
}
|
| 52845 |
|
52845 |
|
| 52846 |
// isset id assignments
|
52846 |
// isset id assignments
|
| 52847 |
private static final int __ORDERID_ISSET_ID = 0;
|
52847 |
private static final int __TRANSACTIONID_ISSET_ID = 0;
|
| 52848 |
private BitSet __isset_bit_vector = new BitSet(1);
|
52848 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| 52849 |
|
52849 |
|
| 52850 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
52850 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 52851 |
static {
|
52851 |
static {
|
| 52852 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
52852 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 52853 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
52853 |
tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 52854 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
52854 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 52855 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
52855 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 52856 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderAsPaymentFlagRemoved_args.class, metaDataMap);
|
52856 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markTransactionAsPaymentFlagRemoved_args.class, metaDataMap);
|
| 52857 |
}
|
52857 |
}
|
| 52858 |
|
52858 |
|
| 52859 |
public markOrderAsPaymentFlagRemoved_args() {
|
52859 |
public markTransactionAsPaymentFlagRemoved_args() {
|
| 52860 |
}
|
52860 |
}
|
| 52861 |
|
52861 |
|
| 52862 |
public markOrderAsPaymentFlagRemoved_args(
|
52862 |
public markTransactionAsPaymentFlagRemoved_args(
|
| 52863 |
long orderId)
|
52863 |
long transactionId)
|
| 52864 |
{
|
52864 |
{
|
| 52865 |
this();
|
52865 |
this();
|
| 52866 |
this.orderId = orderId;
|
52866 |
this.transactionId = transactionId;
|
| 52867 |
setOrderIdIsSet(true);
|
52867 |
setTransactionIdIsSet(true);
|
| 52868 |
}
|
52868 |
}
|
| 52869 |
|
52869 |
|
| 52870 |
/**
|
52870 |
/**
|
| 52871 |
* Performs a deep copy on <i>other</i>.
|
52871 |
* Performs a deep copy on <i>other</i>.
|
| 52872 |
*/
|
52872 |
*/
|
| 52873 |
public markOrderAsPaymentFlagRemoved_args(markOrderAsPaymentFlagRemoved_args other) {
|
52873 |
public markTransactionAsPaymentFlagRemoved_args(markTransactionAsPaymentFlagRemoved_args other) {
|
| 52874 |
__isset_bit_vector.clear();
|
52874 |
__isset_bit_vector.clear();
|
| 52875 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
52875 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 52876 |
this.orderId = other.orderId;
|
52876 |
this.transactionId = other.transactionId;
|
| 52877 |
}
|
52877 |
}
|
| 52878 |
|
52878 |
|
| 52879 |
public markOrderAsPaymentFlagRemoved_args deepCopy() {
|
52879 |
public markTransactionAsPaymentFlagRemoved_args deepCopy() {
|
| 52880 |
return new markOrderAsPaymentFlagRemoved_args(this);
|
52880 |
return new markTransactionAsPaymentFlagRemoved_args(this);
|
| 52881 |
}
|
52881 |
}
|
| 52882 |
|
52882 |
|
| 52883 |
@Override
|
52883 |
@Override
|
| 52884 |
public void clear() {
|
52884 |
public void clear() {
|
| 52885 |
setOrderIdIsSet(false);
|
52885 |
setTransactionIdIsSet(false);
|
| 52886 |
this.orderId = 0;
|
52886 |
this.transactionId = 0;
|
| 52887 |
}
|
52887 |
}
|
| 52888 |
|
52888 |
|
| 52889 |
public long getOrderId() {
|
52889 |
public long getTransactionId() {
|
| 52890 |
return this.orderId;
|
52890 |
return this.transactionId;
|
| 52891 |
}
|
52891 |
}
|
| 52892 |
|
52892 |
|
| 52893 |
public void setOrderId(long orderId) {
|
52893 |
public void setTransactionId(long transactionId) {
|
| 52894 |
this.orderId = orderId;
|
52894 |
this.transactionId = transactionId;
|
| 52895 |
setOrderIdIsSet(true);
|
52895 |
setTransactionIdIsSet(true);
|
| 52896 |
}
|
52896 |
}
|
| 52897 |
|
52897 |
|
| 52898 |
public void unsetOrderId() {
|
52898 |
public void unsetTransactionId() {
|
| 52899 |
__isset_bit_vector.clear(__ORDERID_ISSET_ID);
|
52899 |
__isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
|
| 52900 |
}
|
52900 |
}
|
| 52901 |
|
52901 |
|
| 52902 |
/** Returns true if field orderId is set (has been assigned a value) and false otherwise */
|
52902 |
/** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
|
| 52903 |
public boolean isSetOrderId() {
|
52903 |
public boolean isSetTransactionId() {
|
| 52904 |
return __isset_bit_vector.get(__ORDERID_ISSET_ID);
|
52904 |
return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
|
| 52905 |
}
|
52905 |
}
|
| 52906 |
|
52906 |
|
| 52907 |
public void setOrderIdIsSet(boolean value) {
|
52907 |
public void setTransactionIdIsSet(boolean value) {
|
| 52908 |
__isset_bit_vector.set(__ORDERID_ISSET_ID, value);
|
52908 |
__isset_bit_vector.set(__TRANSACTIONID_ISSET_ID, value);
|
| 52909 |
}
|
52909 |
}
|
| 52910 |
|
52910 |
|
| 52911 |
public void setFieldValue(_Fields field, Object value) {
|
52911 |
public void setFieldValue(_Fields field, Object value) {
|
| 52912 |
switch (field) {
|
52912 |
switch (field) {
|
| 52913 |
case ORDER_ID:
|
52913 |
case TRANSACTION_ID:
|
| 52914 |
if (value == null) {
|
52914 |
if (value == null) {
|
| 52915 |
unsetOrderId();
|
52915 |
unsetTransactionId();
|
| 52916 |
} else {
|
52916 |
} else {
|
| 52917 |
setOrderId((Long)value);
|
52917 |
setTransactionId((Long)value);
|
| 52918 |
}
|
52918 |
}
|
| 52919 |
break;
|
52919 |
break;
|
| 52920 |
|
52920 |
|
| 52921 |
}
|
52921 |
}
|
| 52922 |
}
|
52922 |
}
|
| 52923 |
|
52923 |
|
| 52924 |
public Object getFieldValue(_Fields field) {
|
52924 |
public Object getFieldValue(_Fields field) {
|
| 52925 |
switch (field) {
|
52925 |
switch (field) {
|
| 52926 |
case ORDER_ID:
|
52926 |
case TRANSACTION_ID:
|
| 52927 |
return Long.valueOf(getOrderId());
|
52927 |
return Long.valueOf(getTransactionId());
|
| 52928 |
|
52928 |
|
| 52929 |
}
|
52929 |
}
|
| 52930 |
throw new IllegalStateException();
|
52930 |
throw new IllegalStateException();
|
| 52931 |
}
|
52931 |
}
|
| 52932 |
|
52932 |
|
| Line 52935... |
Line 52935... |
| 52935 |
if (field == null) {
|
52935 |
if (field == null) {
|
| 52936 |
throw new IllegalArgumentException();
|
52936 |
throw new IllegalArgumentException();
|
| 52937 |
}
|
52937 |
}
|
| 52938 |
|
52938 |
|
| 52939 |
switch (field) {
|
52939 |
switch (field) {
|
| 52940 |
case ORDER_ID:
|
52940 |
case TRANSACTION_ID:
|
| 52941 |
return isSetOrderId();
|
52941 |
return isSetTransactionId();
|
| 52942 |
}
|
52942 |
}
|
| 52943 |
throw new IllegalStateException();
|
52943 |
throw new IllegalStateException();
|
| 52944 |
}
|
52944 |
}
|
| 52945 |
|
52945 |
|
| 52946 |
@Override
|
52946 |
@Override
|
| 52947 |
public boolean equals(Object that) {
|
52947 |
public boolean equals(Object that) {
|
| 52948 |
if (that == null)
|
52948 |
if (that == null)
|
| 52949 |
return false;
|
52949 |
return false;
|
| 52950 |
if (that instanceof markOrderAsPaymentFlagRemoved_args)
|
52950 |
if (that instanceof markTransactionAsPaymentFlagRemoved_args)
|
| 52951 |
return this.equals((markOrderAsPaymentFlagRemoved_args)that);
|
52951 |
return this.equals((markTransactionAsPaymentFlagRemoved_args)that);
|
| 52952 |
return false;
|
52952 |
return false;
|
| 52953 |
}
|
52953 |
}
|
| 52954 |
|
52954 |
|
| 52955 |
public boolean equals(markOrderAsPaymentFlagRemoved_args that) {
|
52955 |
public boolean equals(markTransactionAsPaymentFlagRemoved_args that) {
|
| 52956 |
if (that == null)
|
52956 |
if (that == null)
|
| 52957 |
return false;
|
52957 |
return false;
|
| 52958 |
|
52958 |
|
| 52959 |
boolean this_present_orderId = true;
|
52959 |
boolean this_present_transactionId = true;
|
| 52960 |
boolean that_present_orderId = true;
|
52960 |
boolean that_present_transactionId = true;
|
| 52961 |
if (this_present_orderId || that_present_orderId) {
|
52961 |
if (this_present_transactionId || that_present_transactionId) {
|
| 52962 |
if (!(this_present_orderId && that_present_orderId))
|
52962 |
if (!(this_present_transactionId && that_present_transactionId))
|
| 52963 |
return false;
|
52963 |
return false;
|
| 52964 |
if (this.orderId != that.orderId)
|
52964 |
if (this.transactionId != that.transactionId)
|
| 52965 |
return false;
|
52965 |
return false;
|
| 52966 |
}
|
52966 |
}
|
| 52967 |
|
52967 |
|
| 52968 |
return true;
|
52968 |
return true;
|
| 52969 |
}
|
52969 |
}
|
| Line 52971... |
Line 52971... |
| 52971 |
@Override
|
52971 |
@Override
|
| 52972 |
public int hashCode() {
|
52972 |
public int hashCode() {
|
| 52973 |
return 0;
|
52973 |
return 0;
|
| 52974 |
}
|
52974 |
}
|
| 52975 |
|
52975 |
|
| 52976 |
public int compareTo(markOrderAsPaymentFlagRemoved_args other) {
|
52976 |
public int compareTo(markTransactionAsPaymentFlagRemoved_args other) {
|
| 52977 |
if (!getClass().equals(other.getClass())) {
|
52977 |
if (!getClass().equals(other.getClass())) {
|
| 52978 |
return getClass().getName().compareTo(other.getClass().getName());
|
52978 |
return getClass().getName().compareTo(other.getClass().getName());
|
| 52979 |
}
|
52979 |
}
|
| 52980 |
|
52980 |
|
| 52981 |
int lastComparison = 0;
|
52981 |
int lastComparison = 0;
|
| 52982 |
markOrderAsPaymentFlagRemoved_args typedOther = (markOrderAsPaymentFlagRemoved_args)other;
|
52982 |
markTransactionAsPaymentFlagRemoved_args typedOther = (markTransactionAsPaymentFlagRemoved_args)other;
|
| 52983 |
|
52983 |
|
| 52984 |
lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
|
52984 |
lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
|
| 52985 |
if (lastComparison != 0) {
|
52985 |
if (lastComparison != 0) {
|
| 52986 |
return lastComparison;
|
52986 |
return lastComparison;
|
| 52987 |
}
|
52987 |
}
|
| 52988 |
if (isSetOrderId()) {
|
52988 |
if (isSetTransactionId()) {
|
| 52989 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
|
52989 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
|
| 52990 |
if (lastComparison != 0) {
|
52990 |
if (lastComparison != 0) {
|
| 52991 |
return lastComparison;
|
52991 |
return lastComparison;
|
| 52992 |
}
|
52992 |
}
|
| 52993 |
}
|
52993 |
}
|
| 52994 |
return 0;
|
52994 |
return 0;
|
| Line 53006... |
Line 53006... |
| 53006 |
field = iprot.readFieldBegin();
|
53006 |
field = iprot.readFieldBegin();
|
| 53007 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
53007 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 53008 |
break;
|
53008 |
break;
|
| 53009 |
}
|
53009 |
}
|
| 53010 |
switch (field.id) {
|
53010 |
switch (field.id) {
|
| 53011 |
case 1: // ORDER_ID
|
53011 |
case 1: // TRANSACTION_ID
|
| 53012 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
53012 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 53013 |
this.orderId = iprot.readI64();
|
53013 |
this.transactionId = iprot.readI64();
|
| 53014 |
setOrderIdIsSet(true);
|
53014 |
setTransactionIdIsSet(true);
|
| 53015 |
} else {
|
53015 |
} else {
|
| 53016 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
53016 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 53017 |
}
|
53017 |
}
|
| 53018 |
break;
|
53018 |
break;
|
| 53019 |
default:
|
53019 |
default:
|
| Line 53027... |
Line 53027... |
| 53027 |
|
53027 |
|
| 53028 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
53028 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 53029 |
validate();
|
53029 |
validate();
|
| 53030 |
|
53030 |
|
| 53031 |
oprot.writeStructBegin(STRUCT_DESC);
|
53031 |
oprot.writeStructBegin(STRUCT_DESC);
|
| 53032 |
oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
|
53032 |
oprot.writeFieldBegin(TRANSACTION_ID_FIELD_DESC);
|
| 53033 |
oprot.writeI64(this.orderId);
|
53033 |
oprot.writeI64(this.transactionId);
|
| 53034 |
oprot.writeFieldEnd();
|
53034 |
oprot.writeFieldEnd();
|
| 53035 |
oprot.writeFieldStop();
|
53035 |
oprot.writeFieldStop();
|
| 53036 |
oprot.writeStructEnd();
|
53036 |
oprot.writeStructEnd();
|
| 53037 |
}
|
53037 |
}
|
| 53038 |
|
53038 |
|
| 53039 |
@Override
|
53039 |
@Override
|
| 53040 |
public String toString() {
|
53040 |
public String toString() {
|
| 53041 |
StringBuilder sb = new StringBuilder("markOrderAsPaymentFlagRemoved_args(");
|
53041 |
StringBuilder sb = new StringBuilder("markTransactionAsPaymentFlagRemoved_args(");
|
| 53042 |
boolean first = true;
|
53042 |
boolean first = true;
|
| 53043 |
|
53043 |
|
| 53044 |
sb.append("orderId:");
|
53044 |
sb.append("transactionId:");
|
| 53045 |
sb.append(this.orderId);
|
53045 |
sb.append(this.transactionId);
|
| 53046 |
first = false;
|
53046 |
first = false;
|
| 53047 |
sb.append(")");
|
53047 |
sb.append(")");
|
| 53048 |
return sb.toString();
|
53048 |
return sb.toString();
|
| 53049 |
}
|
53049 |
}
|
| 53050 |
|
53050 |
|
| Line 53068... |
Line 53068... |
| 53068 |
}
|
53068 |
}
|
| 53069 |
}
|
53069 |
}
|
| 53070 |
|
53070 |
|
| 53071 |
}
|
53071 |
}
|
| 53072 |
|
53072 |
|
| 53073 |
public static class markOrderAsPaymentFlagRemoved_result implements org.apache.thrift.TBase<markOrderAsPaymentFlagRemoved_result, markOrderAsPaymentFlagRemoved_result._Fields>, java.io.Serializable, Cloneable {
|
53073 |
public static class markTransactionAsPaymentFlagRemoved_result implements org.apache.thrift.TBase<markTransactionAsPaymentFlagRemoved_result, markTransactionAsPaymentFlagRemoved_result._Fields>, java.io.Serializable, Cloneable {
|
| 53074 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderAsPaymentFlagRemoved_result");
|
53074 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markTransactionAsPaymentFlagRemoved_result");
|
| 53075 |
|
53075 |
|
| 53076 |
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);
|
53076 |
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);
|
| 53077 |
|
53077 |
|
| 53078 |
private TransactionServiceException ex; // required
|
53078 |
private TransactionServiceException ex; // required
|
| 53079 |
|
53079 |
|
| Line 53141... |
Line 53141... |
| 53141 |
static {
|
53141 |
static {
|
| 53142 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
53142 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 53143 |
tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
53143 |
tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 53144 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
53144 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
| 53145 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
53145 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 53146 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderAsPaymentFlagRemoved_result.class, metaDataMap);
|
53146 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markTransactionAsPaymentFlagRemoved_result.class, metaDataMap);
|
| 53147 |
}
|
53147 |
}
|
| 53148 |
|
53148 |
|
| 53149 |
public markOrderAsPaymentFlagRemoved_result() {
|
53149 |
public markTransactionAsPaymentFlagRemoved_result() {
|
| 53150 |
}
|
53150 |
}
|
| 53151 |
|
53151 |
|
| 53152 |
public markOrderAsPaymentFlagRemoved_result(
|
53152 |
public markTransactionAsPaymentFlagRemoved_result(
|
| 53153 |
TransactionServiceException ex)
|
53153 |
TransactionServiceException ex)
|
| 53154 |
{
|
53154 |
{
|
| 53155 |
this();
|
53155 |
this();
|
| 53156 |
this.ex = ex;
|
53156 |
this.ex = ex;
|
| 53157 |
}
|
53157 |
}
|
| 53158 |
|
53158 |
|
| 53159 |
/**
|
53159 |
/**
|
| 53160 |
* Performs a deep copy on <i>other</i>.
|
53160 |
* Performs a deep copy on <i>other</i>.
|
| 53161 |
*/
|
53161 |
*/
|
| 53162 |
public markOrderAsPaymentFlagRemoved_result(markOrderAsPaymentFlagRemoved_result other) {
|
53162 |
public markTransactionAsPaymentFlagRemoved_result(markTransactionAsPaymentFlagRemoved_result other) {
|
| 53163 |
if (other.isSetEx()) {
|
53163 |
if (other.isSetEx()) {
|
| 53164 |
this.ex = new TransactionServiceException(other.ex);
|
53164 |
this.ex = new TransactionServiceException(other.ex);
|
| 53165 |
}
|
53165 |
}
|
| 53166 |
}
|
53166 |
}
|
| 53167 |
|
53167 |
|
| 53168 |
public markOrderAsPaymentFlagRemoved_result deepCopy() {
|
53168 |
public markTransactionAsPaymentFlagRemoved_result deepCopy() {
|
| 53169 |
return new markOrderAsPaymentFlagRemoved_result(this);
|
53169 |
return new markTransactionAsPaymentFlagRemoved_result(this);
|
| 53170 |
}
|
53170 |
}
|
| 53171 |
|
53171 |
|
| 53172 |
@Override
|
53172 |
@Override
|
| 53173 |
public void clear() {
|
53173 |
public void clear() {
|
| 53174 |
this.ex = null;
|
53174 |
this.ex = null;
|
| Line 53234... |
Line 53234... |
| 53234 |
|
53234 |
|
| 53235 |
@Override
|
53235 |
@Override
|
| 53236 |
public boolean equals(Object that) {
|
53236 |
public boolean equals(Object that) {
|
| 53237 |
if (that == null)
|
53237 |
if (that == null)
|
| 53238 |
return false;
|
53238 |
return false;
|
| 53239 |
if (that instanceof markOrderAsPaymentFlagRemoved_result)
|
53239 |
if (that instanceof markTransactionAsPaymentFlagRemoved_result)
|
| 53240 |
return this.equals((markOrderAsPaymentFlagRemoved_result)that);
|
53240 |
return this.equals((markTransactionAsPaymentFlagRemoved_result)that);
|
| 53241 |
return false;
|
53241 |
return false;
|
| 53242 |
}
|
53242 |
}
|
| 53243 |
|
53243 |
|
| 53244 |
public boolean equals(markOrderAsPaymentFlagRemoved_result that) {
|
53244 |
public boolean equals(markTransactionAsPaymentFlagRemoved_result that) {
|
| 53245 |
if (that == null)
|
53245 |
if (that == null)
|
| 53246 |
return false;
|
53246 |
return false;
|
| 53247 |
|
53247 |
|
| 53248 |
boolean this_present_ex = true && this.isSetEx();
|
53248 |
boolean this_present_ex = true && this.isSetEx();
|
| 53249 |
boolean that_present_ex = true && that.isSetEx();
|
53249 |
boolean that_present_ex = true && that.isSetEx();
|
| Line 53260... |
Line 53260... |
| 53260 |
@Override
|
53260 |
@Override
|
| 53261 |
public int hashCode() {
|
53261 |
public int hashCode() {
|
| 53262 |
return 0;
|
53262 |
return 0;
|
| 53263 |
}
|
53263 |
}
|
| 53264 |
|
53264 |
|
| 53265 |
public int compareTo(markOrderAsPaymentFlagRemoved_result other) {
|
53265 |
public int compareTo(markTransactionAsPaymentFlagRemoved_result other) {
|
| 53266 |
if (!getClass().equals(other.getClass())) {
|
53266 |
if (!getClass().equals(other.getClass())) {
|
| 53267 |
return getClass().getName().compareTo(other.getClass().getName());
|
53267 |
return getClass().getName().compareTo(other.getClass().getName());
|
| 53268 |
}
|
53268 |
}
|
| 53269 |
|
53269 |
|
| 53270 |
int lastComparison = 0;
|
53270 |
int lastComparison = 0;
|
| 53271 |
markOrderAsPaymentFlagRemoved_result typedOther = (markOrderAsPaymentFlagRemoved_result)other;
|
53271 |
markTransactionAsPaymentFlagRemoved_result typedOther = (markTransactionAsPaymentFlagRemoved_result)other;
|
| 53272 |
|
53272 |
|
| 53273 |
lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
|
53273 |
lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
|
| 53274 |
if (lastComparison != 0) {
|
53274 |
if (lastComparison != 0) {
|
| 53275 |
return lastComparison;
|
53275 |
return lastComparison;
|
| 53276 |
}
|
53276 |
}
|
| Line 53326... |
Line 53326... |
| 53326 |
oprot.writeStructEnd();
|
53326 |
oprot.writeStructEnd();
|
| 53327 |
}
|
53327 |
}
|
| 53328 |
|
53328 |
|
| 53329 |
@Override
|
53329 |
@Override
|
| 53330 |
public String toString() {
|
53330 |
public String toString() {
|
| 53331 |
StringBuilder sb = new StringBuilder("markOrderAsPaymentFlagRemoved_result(");
|
53331 |
StringBuilder sb = new StringBuilder("markTransactionAsPaymentFlagRemoved_result(");
|
| 53332 |
boolean first = true;
|
53332 |
boolean first = true;
|
| 53333 |
|
53333 |
|
| 53334 |
sb.append("ex:");
|
53334 |
sb.append("ex:");
|
| 53335 |
if (this.ex == null) {
|
53335 |
if (this.ex == null) {
|
| 53336 |
sb.append("null");
|
53336 |
sb.append("null");
|