Subversion Repositories SmartDukaan

Rev

Rev 5481 | Rev 5553 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5481 Rev 5527
Line 97... Line 97...
97
	AUTHORIZED,
97
	AUTHORIZED,
98
	COD_IN_PROCESS,
98
	COD_IN_PROCESS,
99
	FLAGGED
99
	FLAGGED
100
}
100
}
101
 
101
 
-
 
102
enum OrderType{
-
 
103
	B2C
-
 
104
	B2Cbulk
-
 
105
	B2B
-
 
106
}
-
 
107
 
102
enum ExtraTransactionProcessingType {
108
enum ExtraTransactionProcessingType {
103
    COD_VERIFICATION,
109
    COD_VERIFICATION,
104
    DELAYED_DELIVERY,
110
    DELAYED_DELIVERY,
105
    PAYMENT_FLAGGED
111
    PAYMENT_FLAGGED
106
}
112
}
Line 217... Line 223...
217
	53:optional i64 doa_logistics_provider_id,
223
	53:optional i64 doa_logistics_provider_id,
218
	54:i64 originalOrderId,
224
	54:i64 originalOrderId,
219
	55:i64 fulfilmentWarehouseId,
225
	55:i64 fulfilmentWarehouseId,
220
	56:bool vendorPaid,
226
	56:bool vendorPaid,
221
	57:optional i64 received_return_timestamp,
227
	57:optional i64 received_return_timestamp,
222
	58:optional i64 first_attempt_timestamp
228
	58:optional i64 first_attempt_timestamp,
-
 
229
	59:OrderType orderType
-
 
230
}
-
 
231
 
-
 
232
struct Attribute{
-
 
233
	1:string name,
-
 
234
	2:string value
223
}
235
}
224
 
236
 
225
struct OrderStatusAuditTrail{
237
struct OrderStatusAuditTrail{
226
	1:i64 id,
238
	1:i64 id,
227
	2:i64 orderId,
239
	2:i64 orderId,
Line 405... Line 417...
405
	//	Get transaction methods.
417
	//	Get transaction methods.
406
	Transaction getTransaction(1:i64 id) throws (1:TransactionServiceException ex),
418
	Transaction getTransaction(1:i64 id) throws (1:TransactionServiceException ex),
407
	list<Transaction> getTransactionsForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:TransactionStatus status) throws (1:TransactionServiceException ex),
419
	list<Transaction> getTransactionsForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:TransactionStatus status) throws (1:TransactionServiceException ex),
408
	list<Transaction> getTransactionsForShoppingCartId(1:i64 shoppingCartId) throws (1:TransactionServiceException ex),
420
	list<Transaction> getTransactionsForShoppingCartId(1:i64 shoppingCartId) throws (1:TransactionServiceException ex),
409
	TransactionStatus getTransactionStatus(1:i64 transactionId) throws (1:TransactionServiceException ex),
421
	TransactionStatus getTransactionStatus(1:i64 transactionId) throws (1:TransactionServiceException ex),
410
	bool changeTransactionStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description, 4:bool selfPickup) throws (1:TransactionServiceException ex),
422
	bool changeTransactionStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description, 4:i64 pickUp, 5:OrderType orderType) throws (1:TransactionServiceException ex),
411
	
423
	
412
	bool enqueueTransactionInfoEmail(1:i64 transactionId) throws (1:TransactionServiceException ex),
424
	bool enqueueTransactionInfoEmail(1:i64 transactionId) throws (1:TransactionServiceException ex),
413
	
425
	
414
	list<Order> getAllOrders(1:list<OrderStatus> statuses, 2:i64 from_date, 3:i64 to_date, 4:i64 warehouse_id) throws (1:TransactionServiceException ex),
426
	list<Order> getAllOrders(1:list<OrderStatus> statuses, 2:i64 from_date, 3:i64 to_date, 4:i64 warehouse_id) throws (1:TransactionServiceException ex),
415
	
427
	
Line 952... Line 964...
952
	
964
	
953
	/**
965
	/**
954
	* gets all COD Verification Agents for all orderIds from a minId to maxId
966
	* gets all COD Verification Agents for all orderIds from a minId to maxId
955
	*
967
	*
956
	*/
968
	*/
957
	list<CODVerificationAgent> getAllVerificationAgents(1:i64 minOrderId, 2:i64 maxOrderId)
969
	list<CODVerificationAgent> getAllVerificationAgents(1:i64 minOrderId, 2:i64 maxOrderId),
-
 
970
	
-
 
971
	/**
-
 
972
	* gets all attributes for a given orderId
-
 
973
	*/
-
 
974
	list<Attribute> getAllAttributesForOrderId(1:i64 orderId),
-
 
975
	
-
 
976
	/**
-
 
977
	* sets attributes for all orders in a transaction
-
 
978
	*/
-
 
979
	void setOrderAttributeForTransaction(1:i64 transactionId, Attribute attribute)
958
}
980
}
959
981