Subversion Repositories SmartDukaan

Rev

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

Rev 18599 Rev 18719
Line 1... Line 1...
1
namespace java in.shop2020.model.v1.catalog
1
namespace java in.shop2020.model.v1.catalog
2
namespace py shop2020.thriftpy.model.v1.catalog
2
namespace py shop2020.thriftpy.model.v1.catalog
3
 
3
 
4
include "GenericService.thrift"
4
include "GenericService.thrift"
-
 
5
include "DtrService.thrift"
5
 
6
 
6
/**
7
/**
7
	Objects
8
	Objects
8
*/
9
*/
9
 
10
 
Line 725... Line 726...
725
	2:i64 quantity,
726
	2:i64 quantity,
726
	3:double price,
727
	3:double price,
727
	4:i64 id
728
	4:i64 id
728
}
729
}
729
 
730
 
-
 
731
struct DtrPricing{
-
 
732
	1:double sellingPrice,
-
 
733
	2:map<i64, double> bulkPricing,
-
 
734
	3:i64 catalog_item_id,
-
 
735
	4:i64 minimumBuyQuantity,
-
 
736
	5:i64 maximumBuyQuantity
-
 
737
}
-
 
738
 
-
 
739
 
730
service CatalogService extends GenericService.GenericService{
740
service CatalogService extends GenericService.GenericService{
731
 
741
 
732
/**
742
/**
733
	Availability and inventory attributes	
743
	Availability and inventory attributes	
734
*/
744
*/
Line 1184... Line 1194...
1184
	
1194
	
1185
	HsItem getHsItem(1:string hsItemId)
1195
	HsItem getHsItem(1:string hsItemId)
1186
	
1196
	
1187
	void updateHsItem(1:HsItem hsItem)
1197
	void updateHsItem(1:HsItem hsItem)
1188
	
1198
	
1189
	Item getPricingForDtr(1:i64 catalogItemId)
1199
	DtrPricing getPricingForDtr(1:i64 catalogItemId)
1190
	
1200
	
1191
	list<Amazonlisted> getAllItemstoListOnFbd()
1201
	list<Amazonlisted> getAllItemstoListOnFbd()
1192
	
1202
	
1193
	list<Amazonlisted> getAllFbdListedItems()
1203
	list<Amazonlisted> getAllFbdListedItems()
1194
	
1204