Subversion Repositories SmartDukaan

Rev

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

Rev 1115 Rev 1134
Line 99... Line 99...
99
	25:i64 billing_timestamp,
99
	25:i64 billing_timestamp,
100
	26:i64 shipping_timestamp,
100
	26:i64 shipping_timestamp,
101
	27:i64 pickup_timestamp,
101
	27:i64 pickup_timestamp,
102
	28:i64 delivery_timestamp,
102
	28:i64 delivery_timestamp,
103
	29:i64 jacket_number,
103
	29:i64 jacket_number,
-
 
104
	30:string receiver
104
}
105
}
105
 
106
 
106
struct Transaction{
107
struct Transaction{
107
	1:i64 id,
108
	1:i64 id,
108
	2:list<Order> orders,
109
	2:list<Order> orders,
Line 182... Line 183...
182
	Marks all SHIPPED_FROM_WH orders of the previous day for a provider as SHIPPED_TO_LOGISTICS.
183
	Marks all SHIPPED_FROM_WH orders of the previous day for a provider as SHIPPED_TO_LOGISTICS.
183
	Returns a list of orders that were shipped from warehouse but did not appear in the pick-up report.
184
	Returns a list of orders that were shipped from warehouse but did not appear in the pick-up report.
184
	Raises an exception if we encounter report for an AWB number that we did not ship.
185
	Raises an exception if we encounter report for an AWB number that we did not ship.
185
	*/
186
	*/
186
	list<Order> markOrdersAsPickedUp(1:i64 providerId, 2:map<string, i64> pickupDetails) throws (1:TransactionServiceException ex),
187
	list<Order> markOrdersAsPickedUp(1:i64 providerId, 2:map<string, i64> pickupDetails) throws (1:TransactionServiceException ex),
-
 
188
	
-
 
189
	/**
-
 
190
	Marks all orders with AWBs in the given map as delivered. Also sets the delivery timestamp and
-
 
191
	the name of the receiver.
-
 
192
	Raises an exception if we encounter report for an AWB number that we did not ship.
-
 
193
	*/
-
 
194
	void markOrdersAsDelivered(1:i64 providerId, 2:map<string, string> deliveredOrders) throws (1:TransactionServiceException ex),
-
 
195
	
-
 
196
	/**
-
 
197
	Mark all orders with AWBs in the given map as failed. Also sets the delivery timestamp.
-
 
198
	Raises an exception if we encounter report for an AWB number that we did not ship.
-
 
199
	*/
-
 
200
	void markOrdersAsFailed(1:i64 providerId, 2:map<string, string> returnedOrders) throws (1:TransactionServiceException ex),
-
 
201
	
187
	//Alerts apis 
202
	//Alerts apis 
188
	list<Alert> getAlerts(1:i64 orderId, 2:bool valid),
203
	list<Alert> getAlerts(1:i64 orderId, 2:bool valid),
189
	void setAlert(1:i64 orderId, 2:bool unset, 3:i64 type, 4: string comment),
204
	void setAlert(1:i64 orderId, 2:bool unset, 3:i64 type, 4: string comment),
190
}
205
}
191
206