Subversion Repositories SmartDukaan

Rev

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

Rev 9776 Rev 9779
Line 275... Line 275...
275
	5:i64 listingExpiryDate,
275
	5:i64 listingExpiryDate,
276
	6:double subsidy,
276
	6:double subsidy,
277
	7:i64 defaultWarehouseId
277
	7:i64 defaultWarehouseId
278
}
278
}
279
 
279
 
-
 
280
/*
-
 
281
	Return Provision, vat, commission, service tax are in percentage
-
 
282
*/
-
 
283
 
-
 
284
struct MarketplaceItems{
-
 
285
	1:i64 itemId,
-
 
286
	2:i64 source,
-
 
287
	3:double emiFee,
-
 
288
	4:double courierCost,
-
 
289
	5:double closingFee,
-
 
290
	6:double returnProvision,
-
 
291
	7:double commission,
-
 
292
	8:double vat,
-
 
293
	9:double packagingCost,
-
 
294
	10:double otherCost,
-
 
295
	11:double serviceTax,
-
 
296
	12:bool autoIncrement,
-
 
297
	13:bool autoDecrement,
-
 
298
	14:bool manualFavourite,
-
 
299
	15:bool autoFavourite,
-
 
300
	16:double currentSp,
-
 
301
	17:double currentTp,
-
 
302
	18:double minimumPossibleSp,
-
 
303
	19:double minimumPossibleTp,
-
 
304
	20:i64 lastCheckedTimestamp
-
 
305
}
-
 
306
 
280
struct SnapdealItem{
307
struct SnapdealItem{
281
	1:i64 item_id,
308
	1:i64 item_id,
282
	2:i64 warehouseId,
309
	2:i64 warehouseId,
283
	3:double exceptionPrice,
310
	3:double exceptionPrice,
284
	4:bool isListedOnSnapdeal,
311
	4:bool isListedOnSnapdeal,
Line 290... Line 317...
290
    10:bool suppressPriceFeed,
317
    10:bool suppressPriceFeed,
291
    11:bool suppressInventoryFeed,
318
    11:bool suppressInventoryFeed,
292
    12:double maxNlc,
319
    12:double maxNlc,
293
    13:string skuAtSnapdeal,
320
    13:string skuAtSnapdeal,
294
    14:string supc,
321
    14:string supc,
295
    15:string shippingTime
322
    15:string shippingTime,
-
 
323
    16:string updatedBy,
-
 
324
    17:MarketplaceItems marketplaceItems
296
}    
325
}    
297
 
326
 
298
struct SnapdealItemDetails{
327
struct SnapdealItemDetails{
299
	1:i64 item_id,
328
	1:i64 item_id,
300
	2:i64 warehouseId,
329
	2:i64 warehouseId,
Line 327... Line 356...
327
struct ProductFeedSubmit{
356
struct ProductFeedSubmit{
328
	1:i64 catalogItemId,
357
	1:i64 catalogItemId,
329
	2:bool stockLinkedFeed
358
	2:bool stockLinkedFeed
330
}    
359
}    
331
 
360
 
332
/*
-
 
333
	Return Provision, vat, commission, service tax are in %age
-
 
334
*/
-
 
335
 
-
 
336
struct MarketplaceItems{
-
 
337
	1:i64 itemId,
-
 
338
	2:i64 source,
-
 
339
	3:double emiFee,
-
 
340
	4:double courierCost,
-
 
341
	5:double closingFee,
-
 
342
	6:double returnProvision,
-
 
343
	7:double commission,
-
 
344
	8:double vat,
-
 
345
	9:double packagingCost,
-
 
346
	10:double otherCost,
-
 
347
	11:double serviceTax,
-
 
348
	12:bool autoIncrement,
-
 
349
	13:bool autoDecrement,
-
 
350
	14:bool manualFavourite,
-
 
351
	15:bool autoFavourite,
-
 
352
	16:double currentSp,
-
 
353
	17:double currentTp,
-
 
354
	18:double minimumPossibleSp,
-
 
355
	19:double minimumPossibleTp,
-
 
356
	20:i64 lastCheckedTimestamp
-
 
357
}
-
 
358
 
-
 
359
struct MarketplaceSearchFilter{
361
struct MarketplaceSearchFilter{
360
	1:bool isListedOnMarketplace,
362
	1:bool isListedOnMarketplace,
361
	2:bool isInventoryOverride,
363
	2:bool isInventoryOverride,
362
	3:bool isPriceOverride,
364
	3:bool isPriceOverride,
363
	4:bool isManualFavourite,
365
	4:bool isManualFavourite,
Line 365... Line 367...
365
	6:bool isAutoDecrement,
367
	6:bool isAutoDecrement,
366
	7:bool isAutoIncrement,
368
	7:bool isAutoIncrement,
367
	8:i64 source
369
	8:i64 source
368
}
370
}
369
 
371
 
-
 
372
/*
-
 
373
	Return Provision, emiFee, commission, service tax are in percentage
-
 
374
*/
-
 
375
 
-
 
376
struct MarketplacePercentage{
-
 
377
	1:i64 source,
-
 
378
	2:double emiFee,
-
 
379
	3:double closingFee,
-
 
380
	4:double returnProvision,
-
 
381
	5:double commission,
-
 
382
	6:double serviceTax
-
 
383
}
-
 
384
 
370
struct MarketPlaceItemPrice{
385
struct MarketPlaceItemPrice{
371
    1:i64 item_id
386
    1:i64 item_id
372
	2:i64 source
387
	2:i64 source
373
	3:double sellingPrice
388
	3:double sellingPrice
374
	4:i64 lastUpdatedOn
389
	4:i64 lastUpdatedOn
Line 376... Line 391...
376
	6:bool isPriceOverride
391
	6:bool isPriceOverride
377
	7:bool isListedOnSource
392
	7:bool isListedOnSource
378
    
393
    
379
}
394
}
380
 
395
 
381
 
-
 
382
service CatalogService extends GenericService.GenericService{
396
service CatalogService extends GenericService.GenericService{
383
 
397
 
384
/**
398
/**
385
	Availability and inventory attributes	
399
	Availability and inventory attributes	
386
*/
400
*/
Line 732... Line 746...
732
	
746
	
733
	bool updateProductFeedSubmit(1:ProductFeedSubmit productFeedSubmit) throws (1:CatalogServiceException cex),
747
	bool updateProductFeedSubmit(1:ProductFeedSubmit productFeedSubmit) throws (1:CatalogServiceException cex),
734
 
748
 
735
	bool deleteProductFeedSubmit(1:i64 catalogItemId) throws (1:CatalogServiceException cex),
749
	bool deleteProductFeedSubmit(1:i64 catalogItemId) throws (1:CatalogServiceException cex),
736
	
750
	
737
	list<ProductFeedSubmit> getAllProductFeedSubmit() throws (1:CatalogServiceException cex),
751
	list<ProductFeedSubmit> getAllProductFeedSubmit() throws (1:CatalogServiceException cex)
738
	
752
	
739
	MarketplaceItems getMarketplacedetailsForItem(1:i64 itemId,2:i64 sourceId)
753
	MarketplaceItems getMarketplacedetailsForItem(1:i64 itemId,2:i64 sourceId)
740
	
754
	
741
	bool updateMarketplaceAttributesForItem(1:MarketplaceItems marketPlaceItem)
755
	bool updateMarketplaceAttributesForItem(1:MarketplaceItems marketPlaceItem)
742
	
756
	
-
 
757
	MarketplacePercentage getCostingForMarketplace(1:i64 source,2:i64 item_id)
-
 
758
	
743
	list<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(1:i64 source),
759
	list<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(1:i64 source),
744
	
760
	
745
	void updateMarketPlacePriceUpdateStatus(1:list<i64> skulist,2:i64 timestamp)
761
	void updateMarketPlacePriceUpdateStatus(1:list<i64> skulist,2:i64 timestamp)
746
	
762
	
747
	
763