Subversion Repositories SmartDukaan

Rev

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

Rev 2832 Rev 3374
Line 1... Line 1...
1
namespace java in.shop2020.warehouse
1
namespace java in.shop2020.warehouse
2
namespace py shop2020.thriftpy.warehouse
2
namespace py shop2020.thriftpy.warehouse
3
 
3
 
-
 
4
include "GenericService.thrift"
-
 
5
 
4
struct Supplier{
6
struct Supplier{
5
	1:i64 id,
7
	1:i64 id,
6
	2:string name,
8
	2:string name,
7
	3:string phone,
9
	3:string phone,
8
	4:string fax,
10
	4:string fax,
Line 116... Line 118...
116
exception WarehouseServiceException{
118
exception WarehouseServiceException{
117
	1:i64 id,
119
	1:i64 id,
118
	2:string message
120
	2:string message
119
}
121
}
120
 
122
 
121
service WarehouseService{
123
service WarehouseService extends GenericService.GenericService{
122
	/**
124
	/**
123
	Creates a purchase order based on the data in the given purchase order object.
125
	Creates a purchase order based on the data in the given purchase order object.
124
	This method populates a nummber of missing fields 
126
	This method populates a nummber of missing fields 
125
	*/
127
	*/
126
	i64 createPurchaseOrder(1:PurchaseOrder purchaseOrder) throws (1:WarehouseServiceException wex),
128
	i64 createPurchaseOrder(1:PurchaseOrder purchaseOrder) throws (1:WarehouseServiceException wex),