| Line 81... |
Line 81... |
| 81 |
17:double weight,
|
81 |
17:double weight,
|
| 82 |
18:i64 addedOn,
|
82 |
18:i64 addedOn,
|
| 83 |
19:i64 startDate,
|
83 |
19:i64 startDate,
|
| 84 |
20:i64 retireDate,
|
84 |
20:i64 retireDate,
|
| 85 |
21:status itemStatus,
|
85 |
21:status itemStatus,
|
| - |
|
86 |
22:string status_description,
|
| 86 |
22:map<string,string> otherInfo,
|
87 |
23:map<string,string> otherInfo,
|
| 87 |
23:string bestDealText,
|
88 |
24:string bestDealText,
|
| 88 |
24:double bestDealValue,
|
89 |
25:double bestDealValue,
|
| 89 |
25:double dealerPrice,
|
90 |
26:double dealerPrice,
|
| 90 |
26:bool defaultForEntity,
|
91 |
27:bool defaultForEntity,
|
| 91 |
27:i64 updatedOn
|
92 |
28:i64 updatedOn
|
| 92 |
}
|
93 |
}
|
| 93 |
|
94 |
|
| 94 |
struct VendorItemPricing{
|
95 |
struct VendorItemPricing{
|
| 95 |
1:i64 vendorId,
|
96 |
1:i64 vendorId,
|
| 96 |
2:i64 itemId,
|
97 |
2:i64 itemId,
|
| Line 128... |
Line 129... |
| 128 |
//all add and update methods - added by Ashish
|
129 |
//all add and update methods - added by Ashish
|
| 129 |
i64 addItem(1:Item item) throws (1:InventoryServiceException cex),
|
130 |
i64 addItem(1:Item item) throws (1:InventoryServiceException cex),
|
| 130 |
i64 updateItem(1:Item item) throws (1:InventoryServiceException cex),
|
131 |
i64 updateItem(1:Item item) throws (1:InventoryServiceException cex),
|
| 131 |
i64 addWarehouse(1:Warehouse warehouse) throws (1:InventoryServiceException cex),
|
132 |
i64 addWarehouse(1:Warehouse warehouse) throws (1:InventoryServiceException cex),
|
| 132 |
bool isActive(1:i64 itemId) throws (1:InventoryServiceException isex),
|
133 |
bool isActive(1:i64 itemId) throws (1:InventoryServiceException isex),
|
| - |
|
134 |
string getItemStatusDescription(1:i64 itemId) throws (1:InventoryServiceException isex),
|
| 133 |
void updateInventory(1:i64 warehouse_id, 2:string timestamp, 3:map<string, i64> availability) throws (1:InventoryServiceException cex),
|
135 |
void updateInventory(1:i64 warehouse_id, 2:string timestamp, 3:map<string, i64> availability) throws (1:InventoryServiceException cex),
|
| 134 |
// commented right now. write on based of requirement
|
136 |
// commented right now. write on based of requirement
|
| 135 |
// void updatePrice(1:i64 item_id, 2:i64 warehouse_id, 3:double price) throws (1:InventoryServiceException cex),
|
137 |
// void updatePrice(1:i64 item_id, 2:i64 warehouse_id, 3:double price) throws (1:InventoryServiceException cex),
|
| 136 |
//all delete methods
|
138 |
//all delete methods
|
| 137 |
void retireWarehouse(1:i64 warehouse_id) throws (1:InventoryServiceException cex),
|
139 |
void retireWarehouse(1:i64 warehouse_id) throws (1:InventoryServiceException cex),
|