| Line 1037... |
Line 1037... |
| 1037 |
|
1037 |
|
| 1038 |
public void createSnapdealOrder(SnapdealOrder snapdealOrder) throws org.apache.thrift.TException;
|
1038 |
public void createSnapdealOrder(SnapdealOrder snapdealOrder) throws org.apache.thrift.TException;
|
| 1039 |
|
1039 |
|
| 1040 |
public SnapdealOrder getSnapdealOrder(long orderId, String referenceCode, long subrderId) throws org.apache.thrift.TException;
|
1040 |
public SnapdealOrder getSnapdealOrder(long orderId, String referenceCode, long subrderId) throws org.apache.thrift.TException;
|
| 1041 |
|
1041 |
|
| 1042 |
public boolean snapdealOrderExists(long subOrderId, String referenceCode) throws org.apache.thrift.TException;
|
1042 |
public boolean snapdealOrderExists(String subOrderId, String referenceCode) throws org.apache.thrift.TException;
|
| 1043 |
|
1043 |
|
| 1044 |
public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices) throws org.apache.thrift.TException;
|
1044 |
public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices) throws org.apache.thrift.TException;
|
| 1045 |
|
1045 |
|
| 1046 |
public boolean flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId) throws org.apache.thrift.TException;
|
1046 |
public boolean flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId) throws org.apache.thrift.TException;
|
| 1047 |
|
1047 |
|
| Line 1479... |
Line 1479... |
| 1479 |
|
1479 |
|
| 1480 |
public void createSnapdealOrder(SnapdealOrder snapdealOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException;
|
1480 |
public void createSnapdealOrder(SnapdealOrder snapdealOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException;
|
| 1481 |
|
1481 |
|
| 1482 |
public void getSnapdealOrder(long orderId, String referenceCode, long subrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException;
|
1482 |
public void getSnapdealOrder(long orderId, String referenceCode, long subrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealOrder_call> resultHandler) throws org.apache.thrift.TException;
|
| 1483 |
|
1483 |
|
| 1484 |
public void snapdealOrderExists(long subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.snapdealOrderExists_call> resultHandler) throws org.apache.thrift.TException;
|
1484 |
public void snapdealOrderExists(String subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.snapdealOrderExists_call> resultHandler) throws org.apache.thrift.TException;
|
| 1485 |
|
1485 |
|
| 1486 |
public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLatestFbaPricesForItem_call> resultHandler) throws org.apache.thrift.TException;
|
1486 |
public void updateLatestFbaPricesForItem(FbaItemPrices fbaitemprices, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLatestFbaPricesForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 1487 |
|
1487 |
|
| 1488 |
public void flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.flipkartOrderExists_call> resultHandler) throws org.apache.thrift.TException;
|
1488 |
public void flipkartOrderExists(String flipkartOrderId, String flipkartSubOrderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.flipkartOrderExists_call> resultHandler) throws org.apache.thrift.TException;
|
| 1489 |
|
1489 |
|
| Line 6713... |
Line 6713... |
| 6713 |
return result.success;
|
6713 |
return result.success;
|
| 6714 |
}
|
6714 |
}
|
| 6715 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSnapdealOrder failed: unknown result");
|
6715 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSnapdealOrder failed: unknown result");
|
| 6716 |
}
|
6716 |
}
|
| 6717 |
|
6717 |
|
| 6718 |
public boolean snapdealOrderExists(long subOrderId, String referenceCode) throws org.apache.thrift.TException
|
6718 |
public boolean snapdealOrderExists(String subOrderId, String referenceCode) throws org.apache.thrift.TException
|
| 6719 |
{
|
6719 |
{
|
| 6720 |
send_snapdealOrderExists(subOrderId, referenceCode);
|
6720 |
send_snapdealOrderExists(subOrderId, referenceCode);
|
| 6721 |
return recv_snapdealOrderExists();
|
6721 |
return recv_snapdealOrderExists();
|
| 6722 |
}
|
6722 |
}
|
| 6723 |
|
6723 |
|
| 6724 |
public void send_snapdealOrderExists(long subOrderId, String referenceCode) throws org.apache.thrift.TException
|
6724 |
public void send_snapdealOrderExists(String subOrderId, String referenceCode) throws org.apache.thrift.TException
|
| 6725 |
{
|
6725 |
{
|
| 6726 |
snapdealOrderExists_args args = new snapdealOrderExists_args();
|
6726 |
snapdealOrderExists_args args = new snapdealOrderExists_args();
|
| 6727 |
args.setSubOrderId(subOrderId);
|
6727 |
args.setSubOrderId(subOrderId);
|
| 6728 |
args.setReferenceCode(referenceCode);
|
6728 |
args.setReferenceCode(referenceCode);
|
| 6729 |
sendBase("snapdealOrderExists", args);
|
6729 |
sendBase("snapdealOrderExists", args);
|
| Line 14246... |
Line 14246... |
| 14246 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
14246 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 14247 |
return (new Client(prot)).recv_getSnapdealOrder();
|
14247 |
return (new Client(prot)).recv_getSnapdealOrder();
|
| 14248 |
}
|
14248 |
}
|
| 14249 |
}
|
14249 |
}
|
| 14250 |
|
14250 |
|
| 14251 |
public void snapdealOrderExists(long subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<snapdealOrderExists_call> resultHandler) throws org.apache.thrift.TException {
|
14251 |
public void snapdealOrderExists(String subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<snapdealOrderExists_call> resultHandler) throws org.apache.thrift.TException {
|
| 14252 |
checkReady();
|
14252 |
checkReady();
|
| 14253 |
snapdealOrderExists_call method_call = new snapdealOrderExists_call(subOrderId, referenceCode, resultHandler, this, ___protocolFactory, ___transport);
|
14253 |
snapdealOrderExists_call method_call = new snapdealOrderExists_call(subOrderId, referenceCode, resultHandler, this, ___protocolFactory, ___transport);
|
| 14254 |
this.___currentMethod = method_call;
|
14254 |
this.___currentMethod = method_call;
|
| 14255 |
___manager.call(method_call);
|
14255 |
___manager.call(method_call);
|
| 14256 |
}
|
14256 |
}
|
| 14257 |
|
14257 |
|
| 14258 |
public static class snapdealOrderExists_call extends org.apache.thrift.async.TAsyncMethodCall {
|
14258 |
public static class snapdealOrderExists_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 14259 |
private long subOrderId;
|
14259 |
private String subOrderId;
|
| 14260 |
private String referenceCode;
|
14260 |
private String referenceCode;
|
| 14261 |
public snapdealOrderExists_call(long subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<snapdealOrderExists_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 {
|
14261 |
public snapdealOrderExists_call(String subOrderId, String referenceCode, org.apache.thrift.async.AsyncMethodCallback<snapdealOrderExists_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 {
|
| 14262 |
super(client, protocolFactory, transport, resultHandler, false);
|
14262 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 14263 |
this.subOrderId = subOrderId;
|
14263 |
this.subOrderId = subOrderId;
|
| 14264 |
this.referenceCode = referenceCode;
|
14264 |
this.referenceCode = referenceCode;
|
| 14265 |
}
|
14265 |
}
|
| 14266 |
|
14266 |
|
| Line 60639... |
Line 60639... |
| 60639 |
}
|
60639 |
}
|
| 60640 |
}
|
60640 |
}
|
| 60641 |
|
60641 |
|
| 60642 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
60642 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 60643 |
try {
|
60643 |
try {
|
| 60644 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 60645 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 60646 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
60644 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 60647 |
} catch (org.apache.thrift.TException te) {
|
60645 |
} catch (org.apache.thrift.TException te) {
|
| 60648 |
throw new java.io.IOException(te);
|
60646 |
throw new java.io.IOException(te);
|
| 60649 |
}
|
60647 |
}
|
| 60650 |
}
|
60648 |
}
|
| Line 167776... |
Line 167774... |
| 167776 |
}
|
167774 |
}
|
| 167777 |
|
167775 |
|
| 167778 |
public static class snapdealOrderExists_args implements org.apache.thrift.TBase<snapdealOrderExists_args, snapdealOrderExists_args._Fields>, java.io.Serializable, Cloneable {
|
167776 |
public static class snapdealOrderExists_args implements org.apache.thrift.TBase<snapdealOrderExists_args, snapdealOrderExists_args._Fields>, java.io.Serializable, Cloneable {
|
| 167779 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("snapdealOrderExists_args");
|
167777 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("snapdealOrderExists_args");
|
| 167780 |
|
167778 |
|
| 167781 |
private static final org.apache.thrift.protocol.TField SUB_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("subOrderId", org.apache.thrift.protocol.TType.I64, (short)1);
|
167779 |
private static final org.apache.thrift.protocol.TField SUB_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("subOrderId", org.apache.thrift.protocol.TType.STRING, (short)1);
|
| 167782 |
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);
|
167780 |
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);
|
| 167783 |
|
167781 |
|
| 167784 |
private long subOrderId; // required
|
167782 |
private String subOrderId; // required
|
| 167785 |
private String referenceCode; // required
|
167783 |
private String referenceCode; // required
|
| 167786 |
|
167784 |
|
| 167787 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
167785 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 167788 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
167786 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 167789 |
SUB_ORDER_ID((short)1, "subOrderId"),
|
167787 |
SUB_ORDER_ID((short)1, "subOrderId"),
|
| Line 167844... |
Line 167842... |
| 167844 |
return _fieldName;
|
167842 |
return _fieldName;
|
| 167845 |
}
|
167843 |
}
|
| 167846 |
}
|
167844 |
}
|
| 167847 |
|
167845 |
|
| 167848 |
// isset id assignments
|
167846 |
// isset id assignments
|
| 167849 |
private static final int __SUBORDERID_ISSET_ID = 0;
|
- |
|
| 167850 |
private BitSet __isset_bit_vector = new BitSet(1);
|
- |
|
| 167851 |
|
167847 |
|
| 167852 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
167848 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 167853 |
static {
|
167849 |
static {
|
| 167854 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
167850 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 167855 |
tmpMap.put(_Fields.SUB_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("subOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
167851 |
tmpMap.put(_Fields.SUB_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("subOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 167856 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
167852 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 167857 |
tmpMap.put(_Fields.REFERENCE_CODE, new org.apache.thrift.meta_data.FieldMetaData("referenceCode", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
167853 |
tmpMap.put(_Fields.REFERENCE_CODE, new org.apache.thrift.meta_data.FieldMetaData("referenceCode", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 167858 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
167854 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 167859 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
167855 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 167860 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(snapdealOrderExists_args.class, metaDataMap);
|
167856 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(snapdealOrderExists_args.class, metaDataMap);
|
| 167861 |
}
|
167857 |
}
|
| 167862 |
|
167858 |
|
| 167863 |
public snapdealOrderExists_args() {
|
167859 |
public snapdealOrderExists_args() {
|
| 167864 |
}
|
167860 |
}
|
| 167865 |
|
167861 |
|
| 167866 |
public snapdealOrderExists_args(
|
167862 |
public snapdealOrderExists_args(
|
| 167867 |
long subOrderId,
|
167863 |
String subOrderId,
|
| 167868 |
String referenceCode)
|
167864 |
String referenceCode)
|
| 167869 |
{
|
167865 |
{
|
| 167870 |
this();
|
167866 |
this();
|
| 167871 |
this.subOrderId = subOrderId;
|
167867 |
this.subOrderId = subOrderId;
|
| 167872 |
setSubOrderIdIsSet(true);
|
- |
|
| 167873 |
this.referenceCode = referenceCode;
|
167868 |
this.referenceCode = referenceCode;
|
| 167874 |
}
|
167869 |
}
|
| 167875 |
|
167870 |
|
| 167876 |
/**
|
167871 |
/**
|
| 167877 |
* Performs a deep copy on <i>other</i>.
|
167872 |
* Performs a deep copy on <i>other</i>.
|
| 167878 |
*/
|
167873 |
*/
|
| 167879 |
public snapdealOrderExists_args(snapdealOrderExists_args other) {
|
167874 |
public snapdealOrderExists_args(snapdealOrderExists_args other) {
|
| 167880 |
__isset_bit_vector.clear();
|
167875 |
if (other.isSetSubOrderId()) {
|
| 167881 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
- |
|
| 167882 |
this.subOrderId = other.subOrderId;
|
167876 |
this.subOrderId = other.subOrderId;
|
| - |
|
167877 |
}
|
| 167883 |
if (other.isSetReferenceCode()) {
|
167878 |
if (other.isSetReferenceCode()) {
|
| 167884 |
this.referenceCode = other.referenceCode;
|
167879 |
this.referenceCode = other.referenceCode;
|
| 167885 |
}
|
167880 |
}
|
| 167886 |
}
|
167881 |
}
|
| 167887 |
|
167882 |
|
| Line 167889... |
Line 167884... |
| 167889 |
return new snapdealOrderExists_args(this);
|
167884 |
return new snapdealOrderExists_args(this);
|
| 167890 |
}
|
167885 |
}
|
| 167891 |
|
167886 |
|
| 167892 |
@Override
|
167887 |
@Override
|
| 167893 |
public void clear() {
|
167888 |
public void clear() {
|
| 167894 |
setSubOrderIdIsSet(false);
|
- |
|
| 167895 |
this.subOrderId = 0;
|
167889 |
this.subOrderId = null;
|
| 167896 |
this.referenceCode = null;
|
167890 |
this.referenceCode = null;
|
| 167897 |
}
|
167891 |
}
|
| 167898 |
|
167892 |
|
| 167899 |
public long getSubOrderId() {
|
167893 |
public String getSubOrderId() {
|
| 167900 |
return this.subOrderId;
|
167894 |
return this.subOrderId;
|
| 167901 |
}
|
167895 |
}
|
| 167902 |
|
167896 |
|
| 167903 |
public void setSubOrderId(long subOrderId) {
|
167897 |
public void setSubOrderId(String subOrderId) {
|
| 167904 |
this.subOrderId = subOrderId;
|
167898 |
this.subOrderId = subOrderId;
|
| 167905 |
setSubOrderIdIsSet(true);
|
- |
|
| 167906 |
}
|
167899 |
}
|
| 167907 |
|
167900 |
|
| 167908 |
public void unsetSubOrderId() {
|
167901 |
public void unsetSubOrderId() {
|
| 167909 |
__isset_bit_vector.clear(__SUBORDERID_ISSET_ID);
|
167902 |
this.subOrderId = null;
|
| 167910 |
}
|
167903 |
}
|
| 167911 |
|
167904 |
|
| 167912 |
/** Returns true if field subOrderId is set (has been assigned a value) and false otherwise */
|
167905 |
/** Returns true if field subOrderId is set (has been assigned a value) and false otherwise */
|
| 167913 |
public boolean isSetSubOrderId() {
|
167906 |
public boolean isSetSubOrderId() {
|
| 167914 |
return __isset_bit_vector.get(__SUBORDERID_ISSET_ID);
|
167907 |
return this.subOrderId != null;
|
| 167915 |
}
|
167908 |
}
|
| 167916 |
|
167909 |
|
| 167917 |
public void setSubOrderIdIsSet(boolean value) {
|
167910 |
public void setSubOrderIdIsSet(boolean value) {
|
| - |
|
167911 |
if (!value) {
|
| 167918 |
__isset_bit_vector.set(__SUBORDERID_ISSET_ID, value);
|
167912 |
this.subOrderId = null;
|
| - |
|
167913 |
}
|
| 167919 |
}
|
167914 |
}
|
| 167920 |
|
167915 |
|
| 167921 |
public String getReferenceCode() {
|
167916 |
public String getReferenceCode() {
|
| 167922 |
return this.referenceCode;
|
167917 |
return this.referenceCode;
|
| 167923 |
}
|
167918 |
}
|
| Line 167945... |
Line 167940... |
| 167945 |
switch (field) {
|
167940 |
switch (field) {
|
| 167946 |
case SUB_ORDER_ID:
|
167941 |
case SUB_ORDER_ID:
|
| 167947 |
if (value == null) {
|
167942 |
if (value == null) {
|
| 167948 |
unsetSubOrderId();
|
167943 |
unsetSubOrderId();
|
| 167949 |
} else {
|
167944 |
} else {
|
| 167950 |
setSubOrderId((Long)value);
|
167945 |
setSubOrderId((String)value);
|
| 167951 |
}
|
167946 |
}
|
| 167952 |
break;
|
167947 |
break;
|
| 167953 |
|
167948 |
|
| 167954 |
case REFERENCE_CODE:
|
167949 |
case REFERENCE_CODE:
|
| 167955 |
if (value == null) {
|
167950 |
if (value == null) {
|
| Line 167963... |
Line 167958... |
| 167963 |
}
|
167958 |
}
|
| 167964 |
|
167959 |
|
| 167965 |
public Object getFieldValue(_Fields field) {
|
167960 |
public Object getFieldValue(_Fields field) {
|
| 167966 |
switch (field) {
|
167961 |
switch (field) {
|
| 167967 |
case SUB_ORDER_ID:
|
167962 |
case SUB_ORDER_ID:
|
| 167968 |
return Long.valueOf(getSubOrderId());
|
167963 |
return getSubOrderId();
|
| 167969 |
|
167964 |
|
| 167970 |
case REFERENCE_CODE:
|
167965 |
case REFERENCE_CODE:
|
| 167971 |
return getReferenceCode();
|
167966 |
return getReferenceCode();
|
| 167972 |
|
167967 |
|
| 167973 |
}
|
167968 |
}
|
| Line 168000... |
Line 167995... |
| 168000 |
|
167995 |
|
| 168001 |
public boolean equals(snapdealOrderExists_args that) {
|
167996 |
public boolean equals(snapdealOrderExists_args that) {
|
| 168002 |
if (that == null)
|
167997 |
if (that == null)
|
| 168003 |
return false;
|
167998 |
return false;
|
| 168004 |
|
167999 |
|
| 168005 |
boolean this_present_subOrderId = true;
|
168000 |
boolean this_present_subOrderId = true && this.isSetSubOrderId();
|
| 168006 |
boolean that_present_subOrderId = true;
|
168001 |
boolean that_present_subOrderId = true && that.isSetSubOrderId();
|
| 168007 |
if (this_present_subOrderId || that_present_subOrderId) {
|
168002 |
if (this_present_subOrderId || that_present_subOrderId) {
|
| 168008 |
if (!(this_present_subOrderId && that_present_subOrderId))
|
168003 |
if (!(this_present_subOrderId && that_present_subOrderId))
|
| 168009 |
return false;
|
168004 |
return false;
|
| 168010 |
if (this.subOrderId != that.subOrderId)
|
168005 |
if (!this.subOrderId.equals(that.subOrderId))
|
| 168011 |
return false;
|
168006 |
return false;
|
| 168012 |
}
|
168007 |
}
|
| 168013 |
|
168008 |
|
| 168014 |
boolean this_present_referenceCode = true && this.isSetReferenceCode();
|
168009 |
boolean this_present_referenceCode = true && this.isSetReferenceCode();
|
| 168015 |
boolean that_present_referenceCode = true && that.isSetReferenceCode();
|
168010 |
boolean that_present_referenceCode = true && that.isSetReferenceCode();
|
| Line 168072... |
Line 168067... |
| 168072 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
168067 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 168073 |
break;
|
168068 |
break;
|
| 168074 |
}
|
168069 |
}
|
| 168075 |
switch (field.id) {
|
168070 |
switch (field.id) {
|
| 168076 |
case 1: // SUB_ORDER_ID
|
168071 |
case 1: // SUB_ORDER_ID
|
| 168077 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
168072 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 168078 |
this.subOrderId = iprot.readI64();
|
168073 |
this.subOrderId = iprot.readString();
|
| 168079 |
setSubOrderIdIsSet(true);
|
- |
|
| 168080 |
} else {
|
168074 |
} else {
|
| 168081 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
168075 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 168082 |
}
|
168076 |
}
|
| 168083 |
break;
|
168077 |
break;
|
| 168084 |
case 2: // REFERENCE_CODE
|
168078 |
case 2: // REFERENCE_CODE
|
| Line 168099... |
Line 168093... |
| 168099 |
|
168093 |
|
| 168100 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
168094 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 168101 |
validate();
|
168095 |
validate();
|
| 168102 |
|
168096 |
|
| 168103 |
oprot.writeStructBegin(STRUCT_DESC);
|
168097 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
168098 |
if (this.subOrderId != null) {
|
| 168104 |
oprot.writeFieldBegin(SUB_ORDER_ID_FIELD_DESC);
|
168099 |
oprot.writeFieldBegin(SUB_ORDER_ID_FIELD_DESC);
|
| 168105 |
oprot.writeI64(this.subOrderId);
|
168100 |
oprot.writeString(this.subOrderId);
|
| 168106 |
oprot.writeFieldEnd();
|
168101 |
oprot.writeFieldEnd();
|
| - |
|
168102 |
}
|
| 168107 |
if (this.referenceCode != null) {
|
168103 |
if (this.referenceCode != null) {
|
| 168108 |
oprot.writeFieldBegin(REFERENCE_CODE_FIELD_DESC);
|
168104 |
oprot.writeFieldBegin(REFERENCE_CODE_FIELD_DESC);
|
| 168109 |
oprot.writeString(this.referenceCode);
|
168105 |
oprot.writeString(this.referenceCode);
|
| 168110 |
oprot.writeFieldEnd();
|
168106 |
oprot.writeFieldEnd();
|
| 168111 |
}
|
168107 |
}
|
| Line 168117... |
Line 168113... |
| 168117 |
public String toString() {
|
168113 |
public String toString() {
|
| 168118 |
StringBuilder sb = new StringBuilder("snapdealOrderExists_args(");
|
168114 |
StringBuilder sb = new StringBuilder("snapdealOrderExists_args(");
|
| 168119 |
boolean first = true;
|
168115 |
boolean first = true;
|
| 168120 |
|
168116 |
|
| 168121 |
sb.append("subOrderId:");
|
168117 |
sb.append("subOrderId:");
|
| - |
|
168118 |
if (this.subOrderId == null) {
|
| - |
|
168119 |
sb.append("null");
|
| - |
|
168120 |
} else {
|
| 168122 |
sb.append(this.subOrderId);
|
168121 |
sb.append(this.subOrderId);
|
| - |
|
168122 |
}
|
| 168123 |
first = false;
|
168123 |
first = false;
|
| 168124 |
if (!first) sb.append(", ");
|
168124 |
if (!first) sb.append(", ");
|
| 168125 |
sb.append("referenceCode:");
|
168125 |
sb.append("referenceCode:");
|
| 168126 |
if (this.referenceCode == null) {
|
168126 |
if (this.referenceCode == null) {
|
| 168127 |
sb.append("null");
|
168127 |
sb.append("null");
|
| Line 168145... |
Line 168145... |
| 168145 |
}
|
168145 |
}
|
| 168146 |
}
|
168146 |
}
|
| 168147 |
|
168147 |
|
| 168148 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
168148 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 168149 |
try {
|
168149 |
try {
|
| 168150 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 168151 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 168152 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
168150 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 168153 |
} catch (org.apache.thrift.TException te) {
|
168151 |
} catch (org.apache.thrift.TException te) {
|
| 168154 |
throw new java.io.IOException(te);
|
168152 |
throw new java.io.IOException(te);
|
| 168155 |
}
|
168153 |
}
|
| 168156 |
}
|
168154 |
}
|
| Line 168440... |
Line 168438... |
| 168440 |
}
|
168438 |
}
|
| 168441 |
}
|
168439 |
}
|
| 168442 |
|
168440 |
|
| 168443 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
168441 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 168444 |
try {
|
168442 |
try {
|
| 168445 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 168446 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 168447 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
168443 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 168448 |
} catch (org.apache.thrift.TException te) {
|
168444 |
} catch (org.apache.thrift.TException te) {
|
| 168449 |
throw new java.io.IOException(te);
|
168445 |
throw new java.io.IOException(te);
|
| 168450 |
}
|
168446 |
}
|
| 168451 |
}
|
168447 |
}
|