| Line 656... |
Line 656... |
| 656 |
* @param billingDateFrom
|
656 |
* @param billingDateFrom
|
| 657 |
* @param billingDateTo
|
657 |
* @param billingDateTo
|
| 658 |
*/
|
658 |
*/
|
| 659 |
public List<Order> getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo) throws TransactionServiceException, org.apache.thrift.TException;
|
659 |
public List<Order> getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo) throws TransactionServiceException, org.apache.thrift.TException;
|
| 660 |
|
660 |
|
| - |
|
661 |
public List<Order> getSlippedSippingDateOrders() throws TransactionServiceException, org.apache.thrift.TException;
|
| - |
|
662 |
|
| 661 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws TransactionServiceException, org.apache.thrift.TException;
|
663 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws TransactionServiceException, org.apache.thrift.TException;
|
| 662 |
|
664 |
|
| 663 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
|
665 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
|
| 664 |
|
666 |
|
| 665 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
|
667 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
|
| Line 836... |
Line 838... |
| 836 |
|
838 |
|
| 837 |
public void getOrdersForProviderForStatus(long logistics_provider_id, OrderStatus order_status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersForProviderForStatus_call> resultHandler) throws org.apache.thrift.TException;
|
839 |
public void getOrdersForProviderForStatus(long logistics_provider_id, OrderStatus order_status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersForProviderForStatus_call> resultHandler) throws org.apache.thrift.TException;
|
| 838 |
|
840 |
|
| 839 |
public void getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBilledOrdersForVendor_call> resultHandler) throws org.apache.thrift.TException;
|
841 |
public void getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBilledOrdersForVendor_call> resultHandler) throws org.apache.thrift.TException;
|
| 840 |
|
842 |
|
| - |
|
843 |
public void getSlippedSippingDateOrders(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSlippedSippingDateOrders_call> resultHandler) throws org.apache.thrift.TException;
|
| - |
|
844 |
|
| 841 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
845 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
| 842 |
|
846 |
|
| 843 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
847 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
| 844 |
|
848 |
|
| 845 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveEBSSettlementSummary_call> resultHandler) throws org.apache.thrift.TException;
|
849 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveEBSSettlementSummary_call> resultHandler) throws org.apache.thrift.TException;
|
| Line 2975... |
Line 2979... |
| 2975 |
throw result.ex;
|
2979 |
throw result.ex;
|
| 2976 |
}
|
2980 |
}
|
| 2977 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBilledOrdersForVendor failed: unknown result");
|
2981 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBilledOrdersForVendor failed: unknown result");
|
| 2978 |
}
|
2982 |
}
|
| 2979 |
|
2983 |
|
| - |
|
2984 |
public List<Order> getSlippedSippingDateOrders() throws TransactionServiceException, org.apache.thrift.TException
|
| - |
|
2985 |
{
|
| - |
|
2986 |
send_getSlippedSippingDateOrders();
|
| - |
|
2987 |
return recv_getSlippedSippingDateOrders();
|
| - |
|
2988 |
}
|
| - |
|
2989 |
|
| - |
|
2990 |
public void send_getSlippedSippingDateOrders() throws org.apache.thrift.TException
|
| - |
|
2991 |
{
|
| - |
|
2992 |
getSlippedSippingDateOrders_args args = new getSlippedSippingDateOrders_args();
|
| - |
|
2993 |
sendBase("getSlippedSippingDateOrders", args);
|
| - |
|
2994 |
}
|
| - |
|
2995 |
|
| - |
|
2996 |
public List<Order> recv_getSlippedSippingDateOrders() throws TransactionServiceException, org.apache.thrift.TException
|
| - |
|
2997 |
{
|
| - |
|
2998 |
getSlippedSippingDateOrders_result result = new getSlippedSippingDateOrders_result();
|
| - |
|
2999 |
receiveBase(result, "getSlippedSippingDateOrders");
|
| - |
|
3000 |
if (result.isSetSuccess()) {
|
| - |
|
3001 |
return result.success;
|
| - |
|
3002 |
}
|
| - |
|
3003 |
if (result.ex != null) {
|
| - |
|
3004 |
throw result.ex;
|
| - |
|
3005 |
}
|
| - |
|
3006 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSlippedSippingDateOrders failed: unknown result");
|
| - |
|
3007 |
}
|
| - |
|
3008 |
|
| 2980 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws TransactionServiceException, org.apache.thrift.TException
|
3009 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws TransactionServiceException, org.apache.thrift.TException
|
| 2981 |
{
|
3010 |
{
|
| 2982 |
send_saveBluedartSettlements(mapAWBAndAmount);
|
3011 |
send_saveBluedartSettlements(mapAWBAndAmount);
|
| 2983 |
recv_saveBluedartSettlements();
|
3012 |
recv_saveBluedartSettlements();
|
| 2984 |
}
|
3013 |
}
|
| Line 6024... |
Line 6053... |
| 6024 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
6053 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 6025 |
return (new Client(prot)).recv_getBilledOrdersForVendor();
|
6054 |
return (new Client(prot)).recv_getBilledOrdersForVendor();
|
| 6026 |
}
|
6055 |
}
|
| 6027 |
}
|
6056 |
}
|
| 6028 |
|
6057 |
|
| - |
|
6058 |
public void getSlippedSippingDateOrders(org.apache.thrift.async.AsyncMethodCallback<getSlippedSippingDateOrders_call> resultHandler) throws org.apache.thrift.TException {
|
| - |
|
6059 |
checkReady();
|
| - |
|
6060 |
getSlippedSippingDateOrders_call method_call = new getSlippedSippingDateOrders_call(resultHandler, this, ___protocolFactory, ___transport);
|
| - |
|
6061 |
this.___currentMethod = method_call;
|
| - |
|
6062 |
___manager.call(method_call);
|
| - |
|
6063 |
}
|
| - |
|
6064 |
|
| - |
|
6065 |
public static class getSlippedSippingDateOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| - |
|
6066 |
public getSlippedSippingDateOrders_call(org.apache.thrift.async.AsyncMethodCallback<getSlippedSippingDateOrders_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 {
|
| - |
|
6067 |
super(client, protocolFactory, transport, resultHandler, false);
|
| - |
|
6068 |
}
|
| - |
|
6069 |
|
| - |
|
6070 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| - |
|
6071 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSlippedSippingDateOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| - |
|
6072 |
getSlippedSippingDateOrders_args args = new getSlippedSippingDateOrders_args();
|
| - |
|
6073 |
args.write(prot);
|
| - |
|
6074 |
prot.writeMessageEnd();
|
| - |
|
6075 |
}
|
| - |
|
6076 |
|
| - |
|
6077 |
public List<Order> getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| - |
|
6078 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| - |
|
6079 |
throw new IllegalStateException("Method call not finished!");
|
| - |
|
6080 |
}
|
| - |
|
6081 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| - |
|
6082 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| - |
|
6083 |
return (new Client(prot)).recv_getSlippedSippingDateOrders();
|
| - |
|
6084 |
}
|
| - |
|
6085 |
}
|
| - |
|
6086 |
|
| 6029 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException {
|
6087 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException {
|
| 6030 |
checkReady();
|
6088 |
checkReady();
|
| 6031 |
saveBluedartSettlements_call method_call = new saveBluedartSettlements_call(mapAWBAndAmount, resultHandler, this, ___protocolFactory, ___transport);
|
6089 |
saveBluedartSettlements_call method_call = new saveBluedartSettlements_call(mapAWBAndAmount, resultHandler, this, ___protocolFactory, ___transport);
|
| 6032 |
this.___currentMethod = method_call;
|
6090 |
this.___currentMethod = method_call;
|
| 6033 |
___manager.call(method_call);
|
6091 |
___manager.call(method_call);
|
| Line 6366... |
Line 6424... |
| 6366 |
processMap.put("markOrdersAsNotAvailabke", new markOrdersAsNotAvailabke());
|
6424 |
processMap.put("markOrdersAsNotAvailabke", new markOrdersAsNotAvailabke());
|
| 6367 |
processMap.put("markOrdersAsTimeout", new markOrdersAsTimeout());
|
6425 |
processMap.put("markOrdersAsTimeout", new markOrdersAsTimeout());
|
| 6368 |
processMap.put("getOrderForAwb", new getOrderForAwb());
|
6426 |
processMap.put("getOrderForAwb", new getOrderForAwb());
|
| 6369 |
processMap.put("getOrdersForProviderForStatus", new getOrdersForProviderForStatus());
|
6427 |
processMap.put("getOrdersForProviderForStatus", new getOrdersForProviderForStatus());
|
| 6370 |
processMap.put("getBilledOrdersForVendor", new getBilledOrdersForVendor());
|
6428 |
processMap.put("getBilledOrdersForVendor", new getBilledOrdersForVendor());
|
| - |
|
6429 |
processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
|
| 6371 |
processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
|
6430 |
processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
|
| 6372 |
processMap.put("savePaymentSettlements", new savePaymentSettlements());
|
6431 |
processMap.put("savePaymentSettlements", new savePaymentSettlements());
|
| 6373 |
processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
|
6432 |
processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
|
| 6374 |
processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
|
6433 |
processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
|
| 6375 |
processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
|
6434 |
processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
|
| Line 7968... |
Line 8027... |
| 7968 |
}
|
8027 |
}
|
| 7969 |
return result;
|
8028 |
return result;
|
| 7970 |
}
|
8029 |
}
|
| 7971 |
}
|
8030 |
}
|
| 7972 |
|
8031 |
|
| - |
|
8032 |
private static class getSlippedSippingDateOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSlippedSippingDateOrders_args> {
|
| - |
|
8033 |
public getSlippedSippingDateOrders() {
|
| - |
|
8034 |
super("getSlippedSippingDateOrders");
|
| - |
|
8035 |
}
|
| - |
|
8036 |
|
| - |
|
8037 |
protected getSlippedSippingDateOrders_args getEmptyArgsInstance() {
|
| - |
|
8038 |
return new getSlippedSippingDateOrders_args();
|
| - |
|
8039 |
}
|
| - |
|
8040 |
|
| - |
|
8041 |
protected getSlippedSippingDateOrders_result getResult(I iface, getSlippedSippingDateOrders_args args) throws org.apache.thrift.TException {
|
| - |
|
8042 |
getSlippedSippingDateOrders_result result = new getSlippedSippingDateOrders_result();
|
| - |
|
8043 |
try {
|
| - |
|
8044 |
result.success = iface.getSlippedSippingDateOrders();
|
| - |
|
8045 |
} catch (TransactionServiceException ex) {
|
| - |
|
8046 |
result.ex = ex;
|
| - |
|
8047 |
}
|
| - |
|
8048 |
return result;
|
| - |
|
8049 |
}
|
| - |
|
8050 |
}
|
| - |
|
8051 |
|
| 7973 |
private static class saveBluedartSettlements<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveBluedartSettlements_args> {
|
8052 |
private static class saveBluedartSettlements<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveBluedartSettlements_args> {
|
| 7974 |
public saveBluedartSettlements() {
|
8053 |
public saveBluedartSettlements() {
|
| 7975 |
super("saveBluedartSettlements");
|
8054 |
super("saveBluedartSettlements");
|
| 7976 |
}
|
8055 |
}
|
| 7977 |
|
8056 |
|
| Line 69012... |
Line 69091... |
| 69012 |
}
|
69091 |
}
|
| 69013 |
}
|
69092 |
}
|
| 69014 |
|
69093 |
|
| 69015 |
}
|
69094 |
}
|
| 69016 |
|
69095 |
|
| - |
|
69096 |
public static class getSlippedSippingDateOrders_args implements org.apache.thrift.TBase<getSlippedSippingDateOrders_args, getSlippedSippingDateOrders_args._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
69097 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSlippedSippingDateOrders_args");
|
| - |
|
69098 |
|
| - |
|
69099 |
|
| - |
|
69100 |
|
| - |
|
69101 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
69102 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
69103 |
;
|
| - |
|
69104 |
|
| - |
|
69105 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
69106 |
|
| - |
|
69107 |
static {
|
| - |
|
69108 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
69109 |
byName.put(field.getFieldName(), field);
|
| - |
|
69110 |
}
|
| - |
|
69111 |
}
|
| - |
|
69112 |
|
| - |
|
69113 |
/**
|
| - |
|
69114 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
69115 |
*/
|
| - |
|
69116 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
69117 |
switch(fieldId) {
|
| - |
|
69118 |
default:
|
| - |
|
69119 |
return null;
|
| - |
|
69120 |
}
|
| - |
|
69121 |
}
|
| - |
|
69122 |
|
| - |
|
69123 |
/**
|
| - |
|
69124 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
69125 |
* if it is not found.
|
| - |
|
69126 |
*/
|
| - |
|
69127 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
69128 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
69129 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
69130 |
return fields;
|
| - |
|
69131 |
}
|
| - |
|
69132 |
|
| - |
|
69133 |
/**
|
| - |
|
69134 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
69135 |
*/
|
| - |
|
69136 |
public static _Fields findByName(String name) {
|
| - |
|
69137 |
return byName.get(name);
|
| - |
|
69138 |
}
|
| - |
|
69139 |
|
| - |
|
69140 |
private final short _thriftId;
|
| - |
|
69141 |
private final String _fieldName;
|
| - |
|
69142 |
|
| - |
|
69143 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
69144 |
_thriftId = thriftId;
|
| - |
|
69145 |
_fieldName = fieldName;
|
| - |
|
69146 |
}
|
| - |
|
69147 |
|
| - |
|
69148 |
public short getThriftFieldId() {
|
| - |
|
69149 |
return _thriftId;
|
| - |
|
69150 |
}
|
| - |
|
69151 |
|
| - |
|
69152 |
public String getFieldName() {
|
| - |
|
69153 |
return _fieldName;
|
| - |
|
69154 |
}
|
| - |
|
69155 |
}
|
| - |
|
69156 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
69157 |
static {
|
| - |
|
69158 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
69159 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
69160 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSlippedSippingDateOrders_args.class, metaDataMap);
|
| - |
|
69161 |
}
|
| - |
|
69162 |
|
| - |
|
69163 |
public getSlippedSippingDateOrders_args() {
|
| - |
|
69164 |
}
|
| - |
|
69165 |
|
| - |
|
69166 |
/**
|
| - |
|
69167 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
69168 |
*/
|
| - |
|
69169 |
public getSlippedSippingDateOrders_args(getSlippedSippingDateOrders_args other) {
|
| - |
|
69170 |
}
|
| - |
|
69171 |
|
| - |
|
69172 |
public getSlippedSippingDateOrders_args deepCopy() {
|
| - |
|
69173 |
return new getSlippedSippingDateOrders_args(this);
|
| - |
|
69174 |
}
|
| - |
|
69175 |
|
| - |
|
69176 |
@Override
|
| - |
|
69177 |
public void clear() {
|
| - |
|
69178 |
}
|
| - |
|
69179 |
|
| - |
|
69180 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
69181 |
switch (field) {
|
| - |
|
69182 |
}
|
| - |
|
69183 |
}
|
| - |
|
69184 |
|
| - |
|
69185 |
public Object getFieldValue(_Fields field) {
|
| - |
|
69186 |
switch (field) {
|
| - |
|
69187 |
}
|
| - |
|
69188 |
throw new IllegalStateException();
|
| - |
|
69189 |
}
|
| - |
|
69190 |
|
| - |
|
69191 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
69192 |
public boolean isSet(_Fields field) {
|
| - |
|
69193 |
if (field == null) {
|
| - |
|
69194 |
throw new IllegalArgumentException();
|
| - |
|
69195 |
}
|
| - |
|
69196 |
|
| - |
|
69197 |
switch (field) {
|
| - |
|
69198 |
}
|
| - |
|
69199 |
throw new IllegalStateException();
|
| - |
|
69200 |
}
|
| - |
|
69201 |
|
| - |
|
69202 |
@Override
|
| - |
|
69203 |
public boolean equals(Object that) {
|
| - |
|
69204 |
if (that == null)
|
| - |
|
69205 |
return false;
|
| - |
|
69206 |
if (that instanceof getSlippedSippingDateOrders_args)
|
| - |
|
69207 |
return this.equals((getSlippedSippingDateOrders_args)that);
|
| - |
|
69208 |
return false;
|
| - |
|
69209 |
}
|
| - |
|
69210 |
|
| - |
|
69211 |
public boolean equals(getSlippedSippingDateOrders_args that) {
|
| - |
|
69212 |
if (that == null)
|
| - |
|
69213 |
return false;
|
| - |
|
69214 |
|
| - |
|
69215 |
return true;
|
| - |
|
69216 |
}
|
| - |
|
69217 |
|
| - |
|
69218 |
@Override
|
| - |
|
69219 |
public int hashCode() {
|
| - |
|
69220 |
return 0;
|
| - |
|
69221 |
}
|
| - |
|
69222 |
|
| - |
|
69223 |
public int compareTo(getSlippedSippingDateOrders_args other) {
|
| - |
|
69224 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
69225 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
69226 |
}
|
| - |
|
69227 |
|
| - |
|
69228 |
int lastComparison = 0;
|
| - |
|
69229 |
getSlippedSippingDateOrders_args typedOther = (getSlippedSippingDateOrders_args)other;
|
| - |
|
69230 |
|
| - |
|
69231 |
return 0;
|
| - |
|
69232 |
}
|
| - |
|
69233 |
|
| - |
|
69234 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
69235 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
69236 |
}
|
| - |
|
69237 |
|
| - |
|
69238 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
69239 |
org.apache.thrift.protocol.TField field;
|
| - |
|
69240 |
iprot.readStructBegin();
|
| - |
|
69241 |
while (true)
|
| - |
|
69242 |
{
|
| - |
|
69243 |
field = iprot.readFieldBegin();
|
| - |
|
69244 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
69245 |
break;
|
| - |
|
69246 |
}
|
| - |
|
69247 |
switch (field.id) {
|
| - |
|
69248 |
default:
|
| - |
|
69249 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
69250 |
}
|
| - |
|
69251 |
iprot.readFieldEnd();
|
| - |
|
69252 |
}
|
| - |
|
69253 |
iprot.readStructEnd();
|
| - |
|
69254 |
validate();
|
| - |
|
69255 |
}
|
| - |
|
69256 |
|
| - |
|
69257 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
69258 |
validate();
|
| - |
|
69259 |
|
| - |
|
69260 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
69261 |
oprot.writeFieldStop();
|
| - |
|
69262 |
oprot.writeStructEnd();
|
| - |
|
69263 |
}
|
| - |
|
69264 |
|
| - |
|
69265 |
@Override
|
| - |
|
69266 |
public String toString() {
|
| - |
|
69267 |
StringBuilder sb = new StringBuilder("getSlippedSippingDateOrders_args(");
|
| - |
|
69268 |
boolean first = true;
|
| - |
|
69269 |
|
| - |
|
69270 |
sb.append(")");
|
| - |
|
69271 |
return sb.toString();
|
| - |
|
69272 |
}
|
| - |
|
69273 |
|
| - |
|
69274 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
69275 |
// check for required fields
|
| - |
|
69276 |
}
|
| - |
|
69277 |
|
| - |
|
69278 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
69279 |
try {
|
| - |
|
69280 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
69281 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
69282 |
throw new java.io.IOException(te);
|
| - |
|
69283 |
}
|
| - |
|
69284 |
}
|
| - |
|
69285 |
|
| - |
|
69286 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
69287 |
try {
|
| - |
|
69288 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
69289 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
69290 |
throw new java.io.IOException(te);
|
| - |
|
69291 |
}
|
| - |
|
69292 |
}
|
| - |
|
69293 |
|
| - |
|
69294 |
}
|
| - |
|
69295 |
|
| - |
|
69296 |
public static class getSlippedSippingDateOrders_result implements org.apache.thrift.TBase<getSlippedSippingDateOrders_result, getSlippedSippingDateOrders_result._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
69297 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSlippedSippingDateOrders_result");
|
| - |
|
69298 |
|
| - |
|
69299 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
|
| - |
|
69300 |
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);
|
| - |
|
69301 |
|
| - |
|
69302 |
private List<Order> success; // required
|
| - |
|
69303 |
private TransactionServiceException ex; // required
|
| - |
|
69304 |
|
| - |
|
69305 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
69306 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
69307 |
SUCCESS((short)0, "success"),
|
| - |
|
69308 |
EX((short)1, "ex");
|
| - |
|
69309 |
|
| - |
|
69310 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
69311 |
|
| - |
|
69312 |
static {
|
| - |
|
69313 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
69314 |
byName.put(field.getFieldName(), field);
|
| - |
|
69315 |
}
|
| - |
|
69316 |
}
|
| - |
|
69317 |
|
| - |
|
69318 |
/**
|
| - |
|
69319 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
69320 |
*/
|
| - |
|
69321 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
69322 |
switch(fieldId) {
|
| - |
|
69323 |
case 0: // SUCCESS
|
| - |
|
69324 |
return SUCCESS;
|
| - |
|
69325 |
case 1: // EX
|
| - |
|
69326 |
return EX;
|
| - |
|
69327 |
default:
|
| - |
|
69328 |
return null;
|
| - |
|
69329 |
}
|
| - |
|
69330 |
}
|
| - |
|
69331 |
|
| - |
|
69332 |
/**
|
| - |
|
69333 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
69334 |
* if it is not found.
|
| - |
|
69335 |
*/
|
| - |
|
69336 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
69337 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
69338 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
69339 |
return fields;
|
| - |
|
69340 |
}
|
| - |
|
69341 |
|
| - |
|
69342 |
/**
|
| - |
|
69343 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
69344 |
*/
|
| - |
|
69345 |
public static _Fields findByName(String name) {
|
| - |
|
69346 |
return byName.get(name);
|
| - |
|
69347 |
}
|
| - |
|
69348 |
|
| - |
|
69349 |
private final short _thriftId;
|
| - |
|
69350 |
private final String _fieldName;
|
| - |
|
69351 |
|
| - |
|
69352 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
69353 |
_thriftId = thriftId;
|
| - |
|
69354 |
_fieldName = fieldName;
|
| - |
|
69355 |
}
|
| - |
|
69356 |
|
| - |
|
69357 |
public short getThriftFieldId() {
|
| - |
|
69358 |
return _thriftId;
|
| - |
|
69359 |
}
|
| - |
|
69360 |
|
| - |
|
69361 |
public String getFieldName() {
|
| - |
|
69362 |
return _fieldName;
|
| - |
|
69363 |
}
|
| - |
|
69364 |
}
|
| - |
|
69365 |
|
| - |
|
69366 |
// isset id assignments
|
| - |
|
69367 |
|
| - |
|
69368 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
69369 |
static {
|
| - |
|
69370 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
69371 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
69372 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
| - |
|
69373 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
|
| - |
|
69374 |
tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
69375 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
| - |
|
69376 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
69377 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSlippedSippingDateOrders_result.class, metaDataMap);
|
| - |
|
69378 |
}
|
| - |
|
69379 |
|
| - |
|
69380 |
public getSlippedSippingDateOrders_result() {
|
| - |
|
69381 |
}
|
| - |
|
69382 |
|
| - |
|
69383 |
public getSlippedSippingDateOrders_result(
|
| - |
|
69384 |
List<Order> success,
|
| - |
|
69385 |
TransactionServiceException ex)
|
| - |
|
69386 |
{
|
| - |
|
69387 |
this();
|
| - |
|
69388 |
this.success = success;
|
| - |
|
69389 |
this.ex = ex;
|
| - |
|
69390 |
}
|
| - |
|
69391 |
|
| - |
|
69392 |
/**
|
| - |
|
69393 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
69394 |
*/
|
| - |
|
69395 |
public getSlippedSippingDateOrders_result(getSlippedSippingDateOrders_result other) {
|
| - |
|
69396 |
if (other.isSetSuccess()) {
|
| - |
|
69397 |
List<Order> __this__success = new ArrayList<Order>();
|
| - |
|
69398 |
for (Order other_element : other.success) {
|
| - |
|
69399 |
__this__success.add(new Order(other_element));
|
| - |
|
69400 |
}
|
| - |
|
69401 |
this.success = __this__success;
|
| - |
|
69402 |
}
|
| - |
|
69403 |
if (other.isSetEx()) {
|
| - |
|
69404 |
this.ex = new TransactionServiceException(other.ex);
|
| - |
|
69405 |
}
|
| - |
|
69406 |
}
|
| - |
|
69407 |
|
| - |
|
69408 |
public getSlippedSippingDateOrders_result deepCopy() {
|
| - |
|
69409 |
return new getSlippedSippingDateOrders_result(this);
|
| - |
|
69410 |
}
|
| - |
|
69411 |
|
| - |
|
69412 |
@Override
|
| - |
|
69413 |
public void clear() {
|
| - |
|
69414 |
this.success = null;
|
| - |
|
69415 |
this.ex = null;
|
| - |
|
69416 |
}
|
| - |
|
69417 |
|
| - |
|
69418 |
public int getSuccessSize() {
|
| - |
|
69419 |
return (this.success == null) ? 0 : this.success.size();
|
| - |
|
69420 |
}
|
| - |
|
69421 |
|
| - |
|
69422 |
public java.util.Iterator<Order> getSuccessIterator() {
|
| - |
|
69423 |
return (this.success == null) ? null : this.success.iterator();
|
| - |
|
69424 |
}
|
| - |
|
69425 |
|
| - |
|
69426 |
public void addToSuccess(Order elem) {
|
| - |
|
69427 |
if (this.success == null) {
|
| - |
|
69428 |
this.success = new ArrayList<Order>();
|
| - |
|
69429 |
}
|
| - |
|
69430 |
this.success.add(elem);
|
| - |
|
69431 |
}
|
| - |
|
69432 |
|
| - |
|
69433 |
public List<Order> getSuccess() {
|
| - |
|
69434 |
return this.success;
|
| - |
|
69435 |
}
|
| - |
|
69436 |
|
| - |
|
69437 |
public void setSuccess(List<Order> success) {
|
| - |
|
69438 |
this.success = success;
|
| - |
|
69439 |
}
|
| - |
|
69440 |
|
| - |
|
69441 |
public void unsetSuccess() {
|
| - |
|
69442 |
this.success = null;
|
| - |
|
69443 |
}
|
| - |
|
69444 |
|
| - |
|
69445 |
/** Returns true if field success is set (has been assigned a value) and false otherwise */
|
| - |
|
69446 |
public boolean isSetSuccess() {
|
| - |
|
69447 |
return this.success != null;
|
| - |
|
69448 |
}
|
| - |
|
69449 |
|
| - |
|
69450 |
public void setSuccessIsSet(boolean value) {
|
| - |
|
69451 |
if (!value) {
|
| - |
|
69452 |
this.success = null;
|
| - |
|
69453 |
}
|
| - |
|
69454 |
}
|
| - |
|
69455 |
|
| - |
|
69456 |
public TransactionServiceException getEx() {
|
| - |
|
69457 |
return this.ex;
|
| - |
|
69458 |
}
|
| - |
|
69459 |
|
| - |
|
69460 |
public void setEx(TransactionServiceException ex) {
|
| - |
|
69461 |
this.ex = ex;
|
| - |
|
69462 |
}
|
| - |
|
69463 |
|
| - |
|
69464 |
public void unsetEx() {
|
| - |
|
69465 |
this.ex = null;
|
| - |
|
69466 |
}
|
| - |
|
69467 |
|
| - |
|
69468 |
/** Returns true if field ex is set (has been assigned a value) and false otherwise */
|
| - |
|
69469 |
public boolean isSetEx() {
|
| - |
|
69470 |
return this.ex != null;
|
| - |
|
69471 |
}
|
| - |
|
69472 |
|
| - |
|
69473 |
public void setExIsSet(boolean value) {
|
| - |
|
69474 |
if (!value) {
|
| - |
|
69475 |
this.ex = null;
|
| - |
|
69476 |
}
|
| - |
|
69477 |
}
|
| - |
|
69478 |
|
| - |
|
69479 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
69480 |
switch (field) {
|
| - |
|
69481 |
case SUCCESS:
|
| - |
|
69482 |
if (value == null) {
|
| - |
|
69483 |
unsetSuccess();
|
| - |
|
69484 |
} else {
|
| - |
|
69485 |
setSuccess((List<Order>)value);
|
| - |
|
69486 |
}
|
| - |
|
69487 |
break;
|
| - |
|
69488 |
|
| - |
|
69489 |
case EX:
|
| - |
|
69490 |
if (value == null) {
|
| - |
|
69491 |
unsetEx();
|
| - |
|
69492 |
} else {
|
| - |
|
69493 |
setEx((TransactionServiceException)value);
|
| - |
|
69494 |
}
|
| - |
|
69495 |
break;
|
| - |
|
69496 |
|
| - |
|
69497 |
}
|
| - |
|
69498 |
}
|
| - |
|
69499 |
|
| - |
|
69500 |
public Object getFieldValue(_Fields field) {
|
| - |
|
69501 |
switch (field) {
|
| - |
|
69502 |
case SUCCESS:
|
| - |
|
69503 |
return getSuccess();
|
| - |
|
69504 |
|
| - |
|
69505 |
case EX:
|
| - |
|
69506 |
return getEx();
|
| - |
|
69507 |
|
| - |
|
69508 |
}
|
| - |
|
69509 |
throw new IllegalStateException();
|
| - |
|
69510 |
}
|
| - |
|
69511 |
|
| - |
|
69512 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
69513 |
public boolean isSet(_Fields field) {
|
| - |
|
69514 |
if (field == null) {
|
| - |
|
69515 |
throw new IllegalArgumentException();
|
| - |
|
69516 |
}
|
| - |
|
69517 |
|
| - |
|
69518 |
switch (field) {
|
| - |
|
69519 |
case SUCCESS:
|
| - |
|
69520 |
return isSetSuccess();
|
| - |
|
69521 |
case EX:
|
| - |
|
69522 |
return isSetEx();
|
| - |
|
69523 |
}
|
| - |
|
69524 |
throw new IllegalStateException();
|
| - |
|
69525 |
}
|
| - |
|
69526 |
|
| - |
|
69527 |
@Override
|
| - |
|
69528 |
public boolean equals(Object that) {
|
| - |
|
69529 |
if (that == null)
|
| - |
|
69530 |
return false;
|
| - |
|
69531 |
if (that instanceof getSlippedSippingDateOrders_result)
|
| - |
|
69532 |
return this.equals((getSlippedSippingDateOrders_result)that);
|
| - |
|
69533 |
return false;
|
| - |
|
69534 |
}
|
| - |
|
69535 |
|
| - |
|
69536 |
public boolean equals(getSlippedSippingDateOrders_result that) {
|
| - |
|
69537 |
if (that == null)
|
| - |
|
69538 |
return false;
|
| - |
|
69539 |
|
| - |
|
69540 |
boolean this_present_success = true && this.isSetSuccess();
|
| - |
|
69541 |
boolean that_present_success = true && that.isSetSuccess();
|
| - |
|
69542 |
if (this_present_success || that_present_success) {
|
| - |
|
69543 |
if (!(this_present_success && that_present_success))
|
| - |
|
69544 |
return false;
|
| - |
|
69545 |
if (!this.success.equals(that.success))
|
| - |
|
69546 |
return false;
|
| - |
|
69547 |
}
|
| - |
|
69548 |
|
| - |
|
69549 |
boolean this_present_ex = true && this.isSetEx();
|
| - |
|
69550 |
boolean that_present_ex = true && that.isSetEx();
|
| - |
|
69551 |
if (this_present_ex || that_present_ex) {
|
| - |
|
69552 |
if (!(this_present_ex && that_present_ex))
|
| - |
|
69553 |
return false;
|
| - |
|
69554 |
if (!this.ex.equals(that.ex))
|
| - |
|
69555 |
return false;
|
| - |
|
69556 |
}
|
| - |
|
69557 |
|
| - |
|
69558 |
return true;
|
| - |
|
69559 |
}
|
| - |
|
69560 |
|
| - |
|
69561 |
@Override
|
| - |
|
69562 |
public int hashCode() {
|
| - |
|
69563 |
return 0;
|
| - |
|
69564 |
}
|
| - |
|
69565 |
|
| - |
|
69566 |
public int compareTo(getSlippedSippingDateOrders_result other) {
|
| - |
|
69567 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
69568 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
69569 |
}
|
| - |
|
69570 |
|
| - |
|
69571 |
int lastComparison = 0;
|
| - |
|
69572 |
getSlippedSippingDateOrders_result typedOther = (getSlippedSippingDateOrders_result)other;
|
| - |
|
69573 |
|
| - |
|
69574 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| - |
|
69575 |
if (lastComparison != 0) {
|
| - |
|
69576 |
return lastComparison;
|
| - |
|
69577 |
}
|
| - |
|
69578 |
if (isSetSuccess()) {
|
| - |
|
69579 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
|
| - |
|
69580 |
if (lastComparison != 0) {
|
| - |
|
69581 |
return lastComparison;
|
| - |
|
69582 |
}
|
| - |
|
69583 |
}
|
| - |
|
69584 |
lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
|
| - |
|
69585 |
if (lastComparison != 0) {
|
| - |
|
69586 |
return lastComparison;
|
| - |
|
69587 |
}
|
| - |
|
69588 |
if (isSetEx()) {
|
| - |
|
69589 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
|
| - |
|
69590 |
if (lastComparison != 0) {
|
| - |
|
69591 |
return lastComparison;
|
| - |
|
69592 |
}
|
| - |
|
69593 |
}
|
| - |
|
69594 |
return 0;
|
| - |
|
69595 |
}
|
| - |
|
69596 |
|
| - |
|
69597 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
69598 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
69599 |
}
|
| - |
|
69600 |
|
| - |
|
69601 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
69602 |
org.apache.thrift.protocol.TField field;
|
| - |
|
69603 |
iprot.readStructBegin();
|
| - |
|
69604 |
while (true)
|
| - |
|
69605 |
{
|
| - |
|
69606 |
field = iprot.readFieldBegin();
|
| - |
|
69607 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
69608 |
break;
|
| - |
|
69609 |
}
|
| - |
|
69610 |
switch (field.id) {
|
| - |
|
69611 |
case 0: // SUCCESS
|
| - |
|
69612 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
| - |
|
69613 |
{
|
| - |
|
69614 |
org.apache.thrift.protocol.TList _list169 = iprot.readListBegin();
|
| - |
|
69615 |
this.success = new ArrayList<Order>(_list169.size);
|
| - |
|
69616 |
for (int _i170 = 0; _i170 < _list169.size; ++_i170)
|
| - |
|
69617 |
{
|
| - |
|
69618 |
Order _elem171; // required
|
| - |
|
69619 |
_elem171 = new Order();
|
| - |
|
69620 |
_elem171.read(iprot);
|
| - |
|
69621 |
this.success.add(_elem171);
|
| - |
|
69622 |
}
|
| - |
|
69623 |
iprot.readListEnd();
|
| - |
|
69624 |
}
|
| - |
|
69625 |
} else {
|
| - |
|
69626 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
69627 |
}
|
| - |
|
69628 |
break;
|
| - |
|
69629 |
case 1: // EX
|
| - |
|
69630 |
if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
|
| - |
|
69631 |
this.ex = new TransactionServiceException();
|
| - |
|
69632 |
this.ex.read(iprot);
|
| - |
|
69633 |
} else {
|
| - |
|
69634 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
69635 |
}
|
| - |
|
69636 |
break;
|
| - |
|
69637 |
default:
|
| - |
|
69638 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
69639 |
}
|
| - |
|
69640 |
iprot.readFieldEnd();
|
| - |
|
69641 |
}
|
| - |
|
69642 |
iprot.readStructEnd();
|
| - |
|
69643 |
validate();
|
| - |
|
69644 |
}
|
| - |
|
69645 |
|
| - |
|
69646 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
69647 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
69648 |
|
| - |
|
69649 |
if (this.isSetSuccess()) {
|
| - |
|
69650 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
| - |
|
69651 |
{
|
| - |
|
69652 |
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
|
| - |
|
69653 |
for (Order _iter172 : this.success)
|
| - |
|
69654 |
{
|
| - |
|
69655 |
_iter172.write(oprot);
|
| - |
|
69656 |
}
|
| - |
|
69657 |
oprot.writeListEnd();
|
| - |
|
69658 |
}
|
| - |
|
69659 |
oprot.writeFieldEnd();
|
| - |
|
69660 |
} else if (this.isSetEx()) {
|
| - |
|
69661 |
oprot.writeFieldBegin(EX_FIELD_DESC);
|
| - |
|
69662 |
this.ex.write(oprot);
|
| - |
|
69663 |
oprot.writeFieldEnd();
|
| - |
|
69664 |
}
|
| - |
|
69665 |
oprot.writeFieldStop();
|
| - |
|
69666 |
oprot.writeStructEnd();
|
| - |
|
69667 |
}
|
| - |
|
69668 |
|
| - |
|
69669 |
@Override
|
| - |
|
69670 |
public String toString() {
|
| - |
|
69671 |
StringBuilder sb = new StringBuilder("getSlippedSippingDateOrders_result(");
|
| - |
|
69672 |
boolean first = true;
|
| - |
|
69673 |
|
| - |
|
69674 |
sb.append("success:");
|
| - |
|
69675 |
if (this.success == null) {
|
| - |
|
69676 |
sb.append("null");
|
| - |
|
69677 |
} else {
|
| - |
|
69678 |
sb.append(this.success);
|
| - |
|
69679 |
}
|
| - |
|
69680 |
first = false;
|
| - |
|
69681 |
if (!first) sb.append(", ");
|
| - |
|
69682 |
sb.append("ex:");
|
| - |
|
69683 |
if (this.ex == null) {
|
| - |
|
69684 |
sb.append("null");
|
| - |
|
69685 |
} else {
|
| - |
|
69686 |
sb.append(this.ex);
|
| - |
|
69687 |
}
|
| - |
|
69688 |
first = false;
|
| - |
|
69689 |
sb.append(")");
|
| - |
|
69690 |
return sb.toString();
|
| - |
|
69691 |
}
|
| - |
|
69692 |
|
| - |
|
69693 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
69694 |
// check for required fields
|
| - |
|
69695 |
}
|
| - |
|
69696 |
|
| - |
|
69697 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
69698 |
try {
|
| - |
|
69699 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
69700 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
69701 |
throw new java.io.IOException(te);
|
| - |
|
69702 |
}
|
| - |
|
69703 |
}
|
| - |
|
69704 |
|
| - |
|
69705 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
69706 |
try {
|
| - |
|
69707 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
69708 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
69709 |
throw new java.io.IOException(te);
|
| - |
|
69710 |
}
|
| - |
|
69711 |
}
|
| - |
|
69712 |
|
| - |
|
69713 |
}
|
| - |
|
69714 |
|
| 69017 |
public static class saveBluedartSettlements_args implements org.apache.thrift.TBase<saveBluedartSettlements_args, saveBluedartSettlements_args._Fields>, java.io.Serializable, Cloneable {
|
69715 |
public static class saveBluedartSettlements_args implements org.apache.thrift.TBase<saveBluedartSettlements_args, saveBluedartSettlements_args._Fields>, java.io.Serializable, Cloneable {
|
| 69018 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveBluedartSettlements_args");
|
69716 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveBluedartSettlements_args");
|
| 69019 |
|
69717 |
|
| 69020 |
private static final org.apache.thrift.protocol.TField MAP_AWBAND_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("mapAWBAndAmount", org.apache.thrift.protocol.TType.MAP, (short)1);
|
69718 |
private static final org.apache.thrift.protocol.TField MAP_AWBAND_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("mapAWBAndAmount", org.apache.thrift.protocol.TType.MAP, (short)1);
|
| 69021 |
|
69719 |
|
| Line 69267... |
Line 69965... |
| 69267 |
}
|
69965 |
}
|
| 69268 |
switch (field.id) {
|
69966 |
switch (field.id) {
|
| 69269 |
case 1: // MAP_AWBAND_AMOUNT
|
69967 |
case 1: // MAP_AWBAND_AMOUNT
|
| 69270 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
69968 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
| 69271 |
{
|
69969 |
{
|
| 69272 |
org.apache.thrift.protocol.TMap _map169 = iprot.readMapBegin();
|
69970 |
org.apache.thrift.protocol.TMap _map173 = iprot.readMapBegin();
|
| 69273 |
this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map169.size);
|
69971 |
this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map173.size);
|
| 69274 |
for (int _i170 = 0; _i170 < _map169.size; ++_i170)
|
69972 |
for (int _i174 = 0; _i174 < _map173.size; ++_i174)
|
| 69275 |
{
|
69973 |
{
|
| 69276 |
long _key171; // required
|
69974 |
long _key175; // required
|
| 69277 |
double _val172; // required
|
69975 |
double _val176; // required
|
| 69278 |
_key171 = iprot.readI64();
|
69976 |
_key175 = iprot.readI64();
|
| 69279 |
_val172 = iprot.readDouble();
|
69977 |
_val176 = iprot.readDouble();
|
| 69280 |
this.mapAWBAndAmount.put(_key171, _val172);
|
69978 |
this.mapAWBAndAmount.put(_key175, _val176);
|
| 69281 |
}
|
69979 |
}
|
| 69282 |
iprot.readMapEnd();
|
69980 |
iprot.readMapEnd();
|
| 69283 |
}
|
69981 |
}
|
| 69284 |
} else {
|
69982 |
} else {
|
| 69285 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
69983 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 69300... |
Line 69998... |
| 69300 |
oprot.writeStructBegin(STRUCT_DESC);
|
69998 |
oprot.writeStructBegin(STRUCT_DESC);
|
| 69301 |
if (this.mapAWBAndAmount != null) {
|
69999 |
if (this.mapAWBAndAmount != null) {
|
| 69302 |
oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
|
70000 |
oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
|
| 69303 |
{
|
70001 |
{
|
| 69304 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
|
70002 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
|
| 69305 |
for (Map.Entry<Long, Double> _iter173 : this.mapAWBAndAmount.entrySet())
|
70003 |
for (Map.Entry<Long, Double> _iter177 : this.mapAWBAndAmount.entrySet())
|
| 69306 |
{
|
70004 |
{
|
| 69307 |
oprot.writeI64(_iter173.getKey());
|
70005 |
oprot.writeI64(_iter177.getKey());
|
| 69308 |
oprot.writeDouble(_iter173.getValue());
|
70006 |
oprot.writeDouble(_iter177.getValue());
|
| 69309 |
}
|
70007 |
}
|
| 69310 |
oprot.writeMapEnd();
|
70008 |
oprot.writeMapEnd();
|
| 69311 |
}
|
70009 |
}
|
| 69312 |
oprot.writeFieldEnd();
|
70010 |
oprot.writeFieldEnd();
|
| 69313 |
}
|
70011 |
}
|
| Line 72767... |
Line 73465... |
| 72767 |
}
|
73465 |
}
|
| 72768 |
switch (field.id) {
|
73466 |
switch (field.id) {
|
| 72769 |
case 0: // SUCCESS
|
73467 |
case 0: // SUCCESS
|
| 72770 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
73468 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
| 72771 |
{
|
73469 |
{
|
| 72772 |
org.apache.thrift.protocol.TMap _map174 = iprot.readMapBegin();
|
73470 |
org.apache.thrift.protocol.TMap _map178 = iprot.readMapBegin();
|
| 72773 |
this.success = new HashMap<Long,String>(2*_map174.size);
|
73471 |
this.success = new HashMap<Long,String>(2*_map178.size);
|
| 72774 |
for (int _i175 = 0; _i175 < _map174.size; ++_i175)
|
73472 |
for (int _i179 = 0; _i179 < _map178.size; ++_i179)
|
| 72775 |
{
|
73473 |
{
|
| 72776 |
long _key176; // required
|
73474 |
long _key180; // required
|
| 72777 |
String _val177; // required
|
73475 |
String _val181; // required
|
| 72778 |
_key176 = iprot.readI64();
|
73476 |
_key180 = iprot.readI64();
|
| 72779 |
_val177 = iprot.readString();
|
73477 |
_val181 = iprot.readString();
|
| 72780 |
this.success.put(_key176, _val177);
|
73478 |
this.success.put(_key180, _val181);
|
| 72781 |
}
|
73479 |
}
|
| 72782 |
iprot.readMapEnd();
|
73480 |
iprot.readMapEnd();
|
| 72783 |
}
|
73481 |
}
|
| 72784 |
} else {
|
73482 |
} else {
|
| 72785 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
73483 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 72807... |
Line 73505... |
| 72807 |
|
73505 |
|
| 72808 |
if (this.isSetSuccess()) {
|
73506 |
if (this.isSetSuccess()) {
|
| 72809 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
73507 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
| 72810 |
{
|
73508 |
{
|
| 72811 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
|
73509 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
|
| 72812 |
for (Map.Entry<Long, String> _iter178 : this.success.entrySet())
|
73510 |
for (Map.Entry<Long, String> _iter182 : this.success.entrySet())
|
| 72813 |
{
|
73511 |
{
|
| 72814 |
oprot.writeI64(_iter178.getKey());
|
73512 |
oprot.writeI64(_iter182.getKey());
|
| 72815 |
oprot.writeString(_iter178.getValue());
|
73513 |
oprot.writeString(_iter182.getValue());
|
| 72816 |
}
|
73514 |
}
|
| 72817 |
oprot.writeMapEnd();
|
73515 |
oprot.writeMapEnd();
|
| 72818 |
}
|
73516 |
}
|
| 72819 |
oprot.writeFieldEnd();
|
73517 |
oprot.writeFieldEnd();
|
| 72820 |
} else if (this.isSetEx()) {
|
73518 |
} else if (this.isSetEx()) {
|