| Line 1036... |
Line 1036... |
| 1036 |
|
1036 |
|
| 1037 |
public AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItem(long item_id) throws org.apache.thrift.TException;
|
1037 |
public AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItem(long item_id) throws org.apache.thrift.TException;
|
| 1038 |
|
1038 |
|
| 1039 |
public void createSnapdealOrder(SnapdealOrder snapdealOrder) throws org.apache.thrift.TException;
|
1039 |
public void createSnapdealOrder(SnapdealOrder snapdealOrder) throws org.apache.thrift.TException;
|
| 1040 |
|
1040 |
|
| 1041 |
public SnapdealOrder getSnapdealOrder(long orderId, String referenceCode, long subrderId) throws org.apache.thrift.TException;
|
1041 |
public SnapdealOrder getSnapdealOrder(long orderId, String referenceCode, String subrderId) throws org.apache.thrift.TException;
|
| 1042 |
|
1042 |
|
| 1043 |
public boolean snapdealOrderExists(String subOrderId, String referenceCode) throws org.apache.thrift.TException;
|
1043 |
public boolean snapdealOrderExists(String subOrderId, String referenceCode) throws org.apache.thrift.TException;
|
| 1044 |
|
1044 |
|
| 1045 |
public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices) throws org.apache.thrift.TException;
|
1045 |
public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices) throws org.apache.thrift.TException;
|
| 1046 |
|
1046 |
|
| Line 1488... |
Line 1488... |
| 1488 |
|
1488 |
|
| 1489 |
public void getAmazonFbaSalesLatestSnapshotForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonFbaSalesLatestSnapshotForItem_call> resultHandler) throws org.apache.thrift.TException;
|
1489 |
public void getAmazonFbaSalesLatestSnapshotForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonFbaSalesLatestSnapshotForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 1490 |
|
1490 |
|
| 1491 |
public void createSnapdealOrder(SnapdealOrder snapdealOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException;
|
1491 |
public void createSnapdealOrder(SnapdealOrder snapdealOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException;
|
| 1492 |
|
1492 |
|
| 1493 |
public void getSnapdealOrder(long orderId, String referenceCode, long subrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException;
|
1493 |
public void getSnapdealOrder(long orderId, String referenceCode, String subrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException;
|
| 1494 |
|
1494 |
|
| 1495 |
public void snapdealOrderExists(String subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.snapdealOrderExists_call> resultHandler) throws org.apache.thrift.TException;
|
1495 |
public void snapdealOrderExists(String subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.snapdealOrderExists_call> resultHandler) throws org.apache.thrift.TException;
|
| 1496 |
|
1496 |
|
| 1497 |
public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLatestFbaPricesForItem_call> resultHandler) throws org.apache.thrift.TException;
|
1497 |
public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLatestFbaPricesForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 1498 |
|
1498 |
|
| Line 6710... |
Line 6710... |
| 6710 |
createSnapdealOrder_result result = new createSnapdealOrder_result();
|
6710 |
createSnapdealOrder_result result = new createSnapdealOrder_result();
|
| 6711 |
receiveBase(result, "createSnapdealOrder");
|
6711 |
receiveBase(result, "createSnapdealOrder");
|
| 6712 |
return;
|
6712 |
return;
|
| 6713 |
}
|
6713 |
}
|
| 6714 |
|
6714 |
|
| 6715 |
public SnapdealOrder getSnapdealOrder(long orderId, String referenceCode, long subrderId) throws org.apache.thrift.TException
|
6715 |
public SnapdealOrder getSnapdealOrder(long orderId, String referenceCode, String subrderId) throws org.apache.thrift.TException
|
| 6716 |
{
|
6716 |
{
|
| 6717 |
send_getSnapdealOrder(orderId, referenceCode, subrderId);
|
6717 |
send_getSnapdealOrder(orderId, referenceCode, subrderId);
|
| 6718 |
return recv_getSnapdealOrder();
|
6718 |
return recv_getSnapdealOrder();
|
| 6719 |
}
|
6719 |
}
|
| 6720 |
|
6720 |
|
| 6721 |
public void send_getSnapdealOrder(long orderId, String referenceCode, long subrderId) throws org.apache.thrift.TException
|
6721 |
public void send_getSnapdealOrder(long orderId, String referenceCode, String subrderId) throws org.apache.thrift.TException
|
| 6722 |
{
|
6722 |
{
|
| 6723 |
getSnapdealOrder_args args = new getSnapdealOrder_args();
|
6723 |
getSnapdealOrder_args args = new getSnapdealOrder_args();
|
| 6724 |
args.setOrderId(orderId);
|
6724 |
args.setOrderId(orderId);
|
| 6725 |
args.setReferenceCode(referenceCode);
|
6725 |
args.setReferenceCode(referenceCode);
|
| 6726 |
args.setSubrderId(subrderId);
|
6726 |
args.setSubrderId(subrderId);
|
| Line 14345... |
Line 14345... |
| 14345 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
14345 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 14346 |
(new Client(prot)).recv_createSnapdealOrder();
|
14346 |
(new Client(prot)).recv_createSnapdealOrder();
|
| 14347 |
}
|
14347 |
}
|
| 14348 |
}
|
14348 |
}
|
| 14349 |
|
14349 |
|
| 14350 |
public void getSnapdealOrder(long orderId, String referenceCode, long subrderId, org.apache.thrift.async.AsyncMethodCallback<getSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException {
|
14350 |
public void getSnapdealOrder(long orderId, String referenceCode, String subrderId, org.apache.thrift.async.AsyncMethodCallback<getSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException {
|
| 14351 |
checkReady();
|
14351 |
checkReady();
|
| 14352 |
getSnapdealOrder_call method_call = new getSnapdealOrder_call(orderId, referenceCode, subrderId, resultHandler, this, ___protocolFactory, ___transport);
|
14352 |
getSnapdealOrder_call method_call = new getSnapdealOrder_call(orderId, referenceCode, subrderId, resultHandler, this, ___protocolFactory, ___transport);
|
| 14353 |
this.___currentMethod = method_call;
|
14353 |
this.___currentMethod = method_call;
|
| 14354 |
___manager.call(method_call);
|
14354 |
___manager.call(method_call);
|
| 14355 |
}
|
14355 |
}
|
| 14356 |
|
14356 |
|
| 14357 |
public static class getSnapdealOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
|
14357 |
public static class getSnapdealOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 14358 |
private long orderId;
|
14358 |
private long orderId;
|
| 14359 |
private String referenceCode;
|
14359 |
private String referenceCode;
|
| 14360 |
private long subrderId;
|
14360 |
private String subrderId;
|
| 14361 |
public getSnapdealOrder_call(long orderId, String referenceCode, long subrderId, org.apache.thrift.async.AsyncMethodCallback<getSnapdealOrder_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 {
|
14361 |
public getSnapdealOrder_call(long orderId, String referenceCode, String subrderId, org.apache.thrift.async.AsyncMethodCallback<getSnapdealOrder_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 {
|
| 14362 |
super(client, protocolFactory, transport, resultHandler, false);
|
14362 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 14363 |
this.orderId = orderId;
|
14363 |
this.orderId = orderId;
|
| 14364 |
this.referenceCode = referenceCode;
|
14364 |
this.referenceCode = referenceCode;
|
| 14365 |
this.subrderId = subrderId;
|
14365 |
this.subrderId = subrderId;
|
| 14366 |
}
|
14366 |
}
|
| Line 63924... |
Line 63924... |
| 63924 |
}
|
63924 |
}
|
| 63925 |
}
|
63925 |
}
|
| 63926 |
|
63926 |
|
| 63927 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
63927 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 63928 |
try {
|
63928 |
try {
|
| - |
|
63929 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
63930 |
__isset_bit_vector = new BitSet(1);
|
| 63929 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
63931 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 63930 |
} catch (org.apache.thrift.TException te) {
|
63932 |
} catch (org.apache.thrift.TException te) {
|
| 63931 |
throw new java.io.IOException(te);
|
63933 |
throw new java.io.IOException(te);
|
| 63932 |
}
|
63934 |
}
|
| 63933 |
}
|
63935 |
}
|
| Line 68857... |
Line 68859... |
| 68857 |
}
|
68859 |
}
|
| 68858 |
}
|
68860 |
}
|
| 68859 |
|
68861 |
|
| 68860 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
68862 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 68861 |
try {
|
68863 |
try {
|
| - |
|
68864 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
68865 |
__isset_bit_vector = new BitSet(1);
|
| 68862 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
68866 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 68863 |
} catch (org.apache.thrift.TException te) {
|
68867 |
} catch (org.apache.thrift.TException te) {
|
| 68864 |
throw new java.io.IOException(te);
|
68868 |
throw new java.io.IOException(te);
|
| 68865 |
}
|
68869 |
}
|
| 68866 |
}
|
68870 |
}
|
| Line 70288... |
Line 70292... |
| 70288 |
}
|
70292 |
}
|
| 70289 |
}
|
70293 |
}
|
| 70290 |
|
70294 |
|
| 70291 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
70295 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 70292 |
try {
|
70296 |
try {
|
| - |
|
70297 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
70298 |
__isset_bit_vector = new BitSet(1);
|
| 70293 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
70299 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 70294 |
} catch (org.apache.thrift.TException te) {
|
70300 |
} catch (org.apache.thrift.TException te) {
|
| 70295 |
throw new java.io.IOException(te);
|
70301 |
throw new java.io.IOException(te);
|
| 70296 |
}
|
70302 |
}
|
| 70297 |
}
|
70303 |
}
|
| Line 80387... |
Line 80393... |
| 80387 |
}
|
80393 |
}
|
| 80388 |
}
|
80394 |
}
|
| 80389 |
|
80395 |
|
| 80390 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
80396 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 80391 |
try {
|
80397 |
try {
|
| 80392 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 80393 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 80394 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
80398 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 80395 |
} catch (org.apache.thrift.TException te) {
|
80399 |
} catch (org.apache.thrift.TException te) {
|
| 80396 |
throw new java.io.IOException(te);
|
80400 |
throw new java.io.IOException(te);
|
| 80397 |
}
|
80401 |
}
|
| 80398 |
}
|
80402 |
}
|
| Line 109321... |
Line 109325... |
| 109321 |
}
|
109325 |
}
|
| 109322 |
}
|
109326 |
}
|
| 109323 |
|
109327 |
|
| 109324 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
109328 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 109325 |
try {
|
109329 |
try {
|
| - |
|
109330 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
109331 |
__isset_bit_vector = new BitSet(1);
|
| 109326 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
109332 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 109327 |
} catch (org.apache.thrift.TException te) {
|
109333 |
} catch (org.apache.thrift.TException te) {
|
| 109328 |
throw new java.io.IOException(te);
|
109334 |
throw new java.io.IOException(te);
|
| 109329 |
}
|
109335 |
}
|
| 109330 |
}
|
109336 |
}
|
| Line 167493... |
Line 167499... |
| 167493 |
public static class getSnapdealOrder_args implements org.apache.thrift.TBase<getSnapdealOrder_args, getSnapdealOrder_args._Fields>, java.io.Serializable, Cloneable {
|
167499 |
public static class getSnapdealOrder_args implements org.apache.thrift.TBase<getSnapdealOrder_args, getSnapdealOrder_args._Fields>, java.io.Serializable, Cloneable {
|
| 167494 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSnapdealOrder_args");
|
167500 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSnapdealOrder_args");
|
| 167495 |
|
167501 |
|
| 167496 |
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);
|
167502 |
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);
|
| 167497 |
private static final org.apache.thrift.protocol.TField REFERENCE_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceCode", org.apache.thrift.protocol.TType.STRING, (short)2);
|
167503 |
private static final org.apache.thrift.protocol.TField REFERENCE_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceCode", org.apache.thrift.protocol.TType.STRING, (short)2);
|
| 167498 |
private static final org.apache.thrift.protocol.TField SUBRDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("subrderId", org.apache.thrift.protocol.TType.I64, (short)3);
|
167504 |
private static final org.apache.thrift.protocol.TField SUBRDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("subrderId", org.apache.thrift.protocol.TType.STRING, (short)3);
|
| 167499 |
|
167505 |
|
| 167500 |
private long orderId; // required
|
167506 |
private long orderId; // required
|
| 167501 |
private String referenceCode; // required
|
167507 |
private String referenceCode; // required
|
| 167502 |
private long subrderId; // required
|
167508 |
private String subrderId; // required
|
| 167503 |
|
167509 |
|
| 167504 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
167510 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 167505 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
167511 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 167506 |
ORDER_ID((short)1, "orderId"),
|
167512 |
ORDER_ID((short)1, "orderId"),
|
| 167507 |
REFERENCE_CODE((short)2, "referenceCode"),
|
167513 |
REFERENCE_CODE((short)2, "referenceCode"),
|
| Line 167565... |
Line 167571... |
| 167565 |
}
|
167571 |
}
|
| 167566 |
}
|
167572 |
}
|
| 167567 |
|
167573 |
|
| 167568 |
// isset id assignments
|
167574 |
// isset id assignments
|
| 167569 |
private static final int __ORDERID_ISSET_ID = 0;
|
167575 |
private static final int __ORDERID_ISSET_ID = 0;
|
| 167570 |
private static final int __SUBRDERID_ISSET_ID = 1;
|
- |
|
| 167571 |
private BitSet __isset_bit_vector = new BitSet(2);
|
167576 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| 167572 |
|
167577 |
|
| 167573 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
167578 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 167574 |
static {
|
167579 |
static {
|
| 167575 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
167580 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 167576 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
167581 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 167577 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
167582 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 167578 |
tmpMap.put(_Fields.REFERENCE_CODE, new org.apache.thrift.meta_data.FieldMetaData("referenceCode", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
167583 |
tmpMap.put(_Fields.REFERENCE_CODE, new org.apache.thrift.meta_data.FieldMetaData("referenceCode", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 167579 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
167584 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 167580 |
tmpMap.put(_Fields.SUBRDER_ID, new org.apache.thrift.meta_data.FieldMetaData("subrderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
167585 |
tmpMap.put(_Fields.SUBRDER_ID, new org.apache.thrift.meta_data.FieldMetaData("subrderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 167581 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
167586 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 167582 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
167587 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 167583 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSnapdealOrder_args.class, metaDataMap);
|
167588 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSnapdealOrder_args.class, metaDataMap);
|
| 167584 |
}
|
167589 |
}
|
| 167585 |
|
167590 |
|
| 167586 |
public getSnapdealOrder_args() {
|
167591 |
public getSnapdealOrder_args() {
|
| 167587 |
}
|
167592 |
}
|
| 167588 |
|
167593 |
|
| 167589 |
public getSnapdealOrder_args(
|
167594 |
public getSnapdealOrder_args(
|
| 167590 |
long orderId,
|
167595 |
long orderId,
|
| 167591 |
String referenceCode,
|
167596 |
String referenceCode,
|
| 167592 |
long subrderId)
|
167597 |
String subrderId)
|
| 167593 |
{
|
167598 |
{
|
| 167594 |
this();
|
167599 |
this();
|
| 167595 |
this.orderId = orderId;
|
167600 |
this.orderId = orderId;
|
| 167596 |
setOrderIdIsSet(true);
|
167601 |
setOrderIdIsSet(true);
|
| 167597 |
this.referenceCode = referenceCode;
|
167602 |
this.referenceCode = referenceCode;
|
| 167598 |
this.subrderId = subrderId;
|
167603 |
this.subrderId = subrderId;
|
| 167599 |
setSubrderIdIsSet(true);
|
- |
|
| 167600 |
}
|
167604 |
}
|
| 167601 |
|
167605 |
|
| 167602 |
/**
|
167606 |
/**
|
| 167603 |
* Performs a deep copy on <i>other</i>.
|
167607 |
* Performs a deep copy on <i>other</i>.
|
| 167604 |
*/
|
167608 |
*/
|
| Line 167607... |
Line 167611... |
| 167607 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
167611 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 167608 |
this.orderId = other.orderId;
|
167612 |
this.orderId = other.orderId;
|
| 167609 |
if (other.isSetReferenceCode()) {
|
167613 |
if (other.isSetReferenceCode()) {
|
| 167610 |
this.referenceCode = other.referenceCode;
|
167614 |
this.referenceCode = other.referenceCode;
|
| 167611 |
}
|
167615 |
}
|
| - |
|
167616 |
if (other.isSetSubrderId()) {
|
| 167612 |
this.subrderId = other.subrderId;
|
167617 |
this.subrderId = other.subrderId;
|
| - |
|
167618 |
}
|
| 167613 |
}
|
167619 |
}
|
| 167614 |
|
167620 |
|
| 167615 |
public getSnapdealOrder_args deepCopy() {
|
167621 |
public getSnapdealOrder_args deepCopy() {
|
| 167616 |
return new getSnapdealOrder_args(this);
|
167622 |
return new getSnapdealOrder_args(this);
|
| 167617 |
}
|
167623 |
}
|
| Line 167619... |
Line 167625... |
| 167619 |
@Override
|
167625 |
@Override
|
| 167620 |
public void clear() {
|
167626 |
public void clear() {
|
| 167621 |
setOrderIdIsSet(false);
|
167627 |
setOrderIdIsSet(false);
|
| 167622 |
this.orderId = 0;
|
167628 |
this.orderId = 0;
|
| 167623 |
this.referenceCode = null;
|
167629 |
this.referenceCode = null;
|
| 167624 |
setSubrderIdIsSet(false);
|
- |
|
| 167625 |
this.subrderId = 0;
|
167630 |
this.subrderId = null;
|
| 167626 |
}
|
167631 |
}
|
| 167627 |
|
167632 |
|
| 167628 |
public long getOrderId() {
|
167633 |
public long getOrderId() {
|
| 167629 |
return this.orderId;
|
167634 |
return this.orderId;
|
| 167630 |
}
|
167635 |
}
|
| Line 167668... |
Line 167673... |
| 167668 |
if (!value) {
|
167673 |
if (!value) {
|
| 167669 |
this.referenceCode = null;
|
167674 |
this.referenceCode = null;
|
| 167670 |
}
|
167675 |
}
|
| 167671 |
}
|
167676 |
}
|
| 167672 |
|
167677 |
|
| 167673 |
public long getSubrderId() {
|
167678 |
public String getSubrderId() {
|
| 167674 |
return this.subrderId;
|
167679 |
return this.subrderId;
|
| 167675 |
}
|
167680 |
}
|
| 167676 |
|
167681 |
|
| 167677 |
public void setSubrderId(long subrderId) {
|
167682 |
public void setSubrderId(String subrderId) {
|
| 167678 |
this.subrderId = subrderId;
|
167683 |
this.subrderId = subrderId;
|
| 167679 |
setSubrderIdIsSet(true);
|
- |
|
| 167680 |
}
|
167684 |
}
|
| 167681 |
|
167685 |
|
| 167682 |
public void unsetSubrderId() {
|
167686 |
public void unsetSubrderId() {
|
| 167683 |
__isset_bit_vector.clear(__SUBRDERID_ISSET_ID);
|
167687 |
this.subrderId = null;
|
| 167684 |
}
|
167688 |
}
|
| 167685 |
|
167689 |
|
| 167686 |
/** Returns true if field subrderId is set (has been assigned a value) and false otherwise */
|
167690 |
/** Returns true if field subrderId is set (has been assigned a value) and false otherwise */
|
| 167687 |
public boolean isSetSubrderId() {
|
167691 |
public boolean isSetSubrderId() {
|
| 167688 |
return __isset_bit_vector.get(__SUBRDERID_ISSET_ID);
|
167692 |
return this.subrderId != null;
|
| 167689 |
}
|
167693 |
}
|
| 167690 |
|
167694 |
|
| 167691 |
public void setSubrderIdIsSet(boolean value) {
|
167695 |
public void setSubrderIdIsSet(boolean value) {
|
| - |
|
167696 |
if (!value) {
|
| 167692 |
__isset_bit_vector.set(__SUBRDERID_ISSET_ID, value);
|
167697 |
this.subrderId = null;
|
| - |
|
167698 |
}
|
| 167693 |
}
|
167699 |
}
|
| 167694 |
|
167700 |
|
| 167695 |
public void setFieldValue(_Fields field, Object value) {
|
167701 |
public void setFieldValue(_Fields field, Object value) {
|
| 167696 |
switch (field) {
|
167702 |
switch (field) {
|
| 167697 |
case ORDER_ID:
|
167703 |
case ORDER_ID:
|
| Line 167712... |
Line 167718... |
| 167712 |
|
167718 |
|
| 167713 |
case SUBRDER_ID:
|
167719 |
case SUBRDER_ID:
|
| 167714 |
if (value == null) {
|
167720 |
if (value == null) {
|
| 167715 |
unsetSubrderId();
|
167721 |
unsetSubrderId();
|
| 167716 |
} else {
|
167722 |
} else {
|
| 167717 |
setSubrderId((Long)value);
|
167723 |
setSubrderId((String)value);
|
| 167718 |
}
|
167724 |
}
|
| 167719 |
break;
|
167725 |
break;
|
| 167720 |
|
167726 |
|
| 167721 |
}
|
167727 |
}
|
| 167722 |
}
|
167728 |
}
|
| Line 167728... |
Line 167734... |
| 167728 |
|
167734 |
|
| 167729 |
case REFERENCE_CODE:
|
167735 |
case REFERENCE_CODE:
|
| 167730 |
return getReferenceCode();
|
167736 |
return getReferenceCode();
|
| 167731 |
|
167737 |
|
| 167732 |
case SUBRDER_ID:
|
167738 |
case SUBRDER_ID:
|
| 167733 |
return Long.valueOf(getSubrderId());
|
167739 |
return getSubrderId();
|
| 167734 |
|
167740 |
|
| 167735 |
}
|
167741 |
}
|
| 167736 |
throw new IllegalStateException();
|
167742 |
throw new IllegalStateException();
|
| 167737 |
}
|
167743 |
}
|
| 167738 |
|
167744 |
|
| Line 167782... |
Line 167788... |
| 167782 |
return false;
|
167788 |
return false;
|
| 167783 |
if (!this.referenceCode.equals(that.referenceCode))
|
167789 |
if (!this.referenceCode.equals(that.referenceCode))
|
| 167784 |
return false;
|
167790 |
return false;
|
| 167785 |
}
|
167791 |
}
|
| 167786 |
|
167792 |
|
| 167787 |
boolean this_present_subrderId = true;
|
167793 |
boolean this_present_subrderId = true && this.isSetSubrderId();
|
| 167788 |
boolean that_present_subrderId = true;
|
167794 |
boolean that_present_subrderId = true && that.isSetSubrderId();
|
| 167789 |
if (this_present_subrderId || that_present_subrderId) {
|
167795 |
if (this_present_subrderId || that_present_subrderId) {
|
| 167790 |
if (!(this_present_subrderId && that_present_subrderId))
|
167796 |
if (!(this_present_subrderId && that_present_subrderId))
|
| 167791 |
return false;
|
167797 |
return false;
|
| 167792 |
if (this.subrderId != that.subrderId)
|
167798 |
if (!this.subrderId.equals(that.subrderId))
|
| 167793 |
return false;
|
167799 |
return false;
|
| 167794 |
}
|
167800 |
}
|
| 167795 |
|
167801 |
|
| 167796 |
return true;
|
167802 |
return true;
|
| 167797 |
}
|
167803 |
}
|
| Line 167870... |
Line 167876... |
| 167870 |
} else {
|
167876 |
} else {
|
| 167871 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
167877 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 167872 |
}
|
167878 |
}
|
| 167873 |
break;
|
167879 |
break;
|
| 167874 |
case 3: // SUBRDER_ID
|
167880 |
case 3: // SUBRDER_ID
|
| 167875 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
167881 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 167876 |
this.subrderId = iprot.readI64();
|
167882 |
this.subrderId = iprot.readString();
|
| 167877 |
setSubrderIdIsSet(true);
|
- |
|
| 167878 |
} else {
|
167883 |
} else {
|
| 167879 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
167884 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 167880 |
}
|
167885 |
}
|
| 167881 |
break;
|
167886 |
break;
|
| 167882 |
default:
|
167887 |
default:
|
| Line 167898... |
Line 167903... |
| 167898 |
if (this.referenceCode != null) {
|
167903 |
if (this.referenceCode != null) {
|
| 167899 |
oprot.writeFieldBegin(REFERENCE_CODE_FIELD_DESC);
|
167904 |
oprot.writeFieldBegin(REFERENCE_CODE_FIELD_DESC);
|
| 167900 |
oprot.writeString(this.referenceCode);
|
167905 |
oprot.writeString(this.referenceCode);
|
| 167901 |
oprot.writeFieldEnd();
|
167906 |
oprot.writeFieldEnd();
|
| 167902 |
}
|
167907 |
}
|
| - |
|
167908 |
if (this.subrderId != null) {
|
| 167903 |
oprot.writeFieldBegin(SUBRDER_ID_FIELD_DESC);
|
167909 |
oprot.writeFieldBegin(SUBRDER_ID_FIELD_DESC);
|
| 167904 |
oprot.writeI64(this.subrderId);
|
167910 |
oprot.writeString(this.subrderId);
|
| 167905 |
oprot.writeFieldEnd();
|
167911 |
oprot.writeFieldEnd();
|
| - |
|
167912 |
}
|
| 167906 |
oprot.writeFieldStop();
|
167913 |
oprot.writeFieldStop();
|
| 167907 |
oprot.writeStructEnd();
|
167914 |
oprot.writeStructEnd();
|
| 167908 |
}
|
167915 |
}
|
| 167909 |
|
167916 |
|
| 167910 |
@Override
|
167917 |
@Override
|
| Line 167923... |
Line 167930... |
| 167923 |
sb.append(this.referenceCode);
|
167930 |
sb.append(this.referenceCode);
|
| 167924 |
}
|
167931 |
}
|
| 167925 |
first = false;
|
167932 |
first = false;
|
| 167926 |
if (!first) sb.append(", ");
|
167933 |
if (!first) sb.append(", ");
|
| 167927 |
sb.append("subrderId:");
|
167934 |
sb.append("subrderId:");
|
| - |
|
167935 |
if (this.subrderId == null) {
|
| - |
|
167936 |
sb.append("null");
|
| - |
|
167937 |
} else {
|
| 167928 |
sb.append(this.subrderId);
|
167938 |
sb.append(this.subrderId);
|
| - |
|
167939 |
}
|
| 167929 |
first = false;
|
167940 |
first = false;
|
| 167930 |
sb.append(")");
|
167941 |
sb.append(")");
|
| 167931 |
return sb.toString();
|
167942 |
return sb.toString();
|
| 167932 |
}
|
167943 |
}
|
| 167933 |
|
167944 |
|