| Line 1... |
Line 1... |
| 1 |
namespace java in.shop2020.model.v1.order
|
1 |
namespace java in.shop2020.model.v1.order
|
| 2 |
namespace py order.model
|
2 |
namespace py shop2020.thriftpy.model.v1.order
|
| 3 |
/***
|
3 |
/***
|
| 4 |
Order objects.
|
4 |
Order objects.
|
| 5 |
*/
|
5 |
*/
|
| 6 |
|
6 |
|
| 7 |
enum PaymentStatus{
|
7 |
enum PaymentStatus{
|
| Line 112... |
Line 112... |
| 112 |
void createTransaction(1:Transaction transaction) throws (1:TransactionServiceException ex),
|
112 |
void createTransaction(1:Transaction transaction) throws (1:TransactionServiceException ex),
|
| 113 |
/**
|
113 |
/**
|
| 114 |
Get transaction methods.
|
114 |
Get transaction methods.
|
| 115 |
**/
|
115 |
**/
|
| 116 |
Transaction getTransaction(1:i64 id) throws (1:TransactionServiceException ex),
|
116 |
Transaction getTransaction(1:i64 id) throws (1:TransactionServiceException ex),
|
| 117 |
list<Transaction> getAllTransactions(1:TransactionStatus status, 2:i64 from, 3:i64 to) throws (1:TransactionServiceException ex),
|
117 |
list<Transaction> getAllTransactions(1:TransactionStatus status, 2:i64 from_date, 3:i64 to_date) throws (1:TransactionServiceException ex),
|
| 118 |
list<Transaction> getTransactionsForShipmentStatus(1:ShipmentStatus status, 2:i64 from, 3:i64 to) throws (1:TransactionServiceException ex),
|
118 |
list<Transaction> getTransactionsForShipmentStatus(1:ShipmentStatus status, 2:i64 from_date, 3:i64 to_date) throws (1:TransactionServiceException ex),
|
| 119 |
list<Transaction> getTransactionsForCustomer(1:i64 customerId, 2:i64 from, 3:i64 to, 4:TransactionStatus status) throws (1:TransactionServiceException ex),
|
119 |
list<Transaction> getTransactionsForCustomer(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:TransactionStatus status) throws (1:TransactionServiceException ex),
|
| 120 |
list<Transaction> getTransactionsForCustomerAndShipmentStatus(1:i64 customerId, 2:i64 from, 3:i64 to, 4:ShipmentStatus status) throws (1:TransactionServiceException ex),
|
120 |
list<Transaction> getTransactionsForCustomerAndShipmentStatus(1:i64 customerId, 2:i64 from_date, 3:i64 to_date, 4:ShipmentStatus status) throws (1:TransactionServiceException ex),
|
| 121 |
TransactionStatus getTransactionStatus(1:i64 transactionId) throws (1:TransactionServiceException ex),
|
121 |
TransactionStatus getTransactionStatus(1:i64 transactionId) throws (1:TransactionServiceException ex),
|
| 122 |
bool changeTransactionStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description) throws (1:TransactionServiceException ex),
|
122 |
bool changeTransactionStatus(1:i64 transactionId, 2:TransactionStatus status, 3:string description) throws (1:TransactionServiceException ex),
|
| 123 |
/**
|
123 |
/**
|
| 124 |
Get and set individual objects in it
|
124 |
Get and set individual objects in it
|
| 125 |
**/
|
125 |
**/
|