Subversion Repositories SmartDukaan

Rev

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

Rev 8445 Rev 8488
Line 380... Line 380...
380
	WEBSITE = 1,
380
	WEBSITE = 1,
381
	STORE = 2,
381
	STORE = 2,
382
	AMAZON =3,
382
	AMAZON =3,
383
	HOMESHOP18  = 4,
383
	HOMESHOP18  = 4,
384
	NAAPTOL = 5,
384
	NAAPTOL = 5,
385
	EBAY = 6	
385
	EBAY = 6,
-
 
386
	SNAPDEAL = 7	
386
}
387
}
387
 
388
 
388
struct RechargeOrder {
389
struct RechargeOrder {
389
    1:i64 id,
390
    1:i64 id,
390
    2:string displayId,
391
    2:string displayId,
Line 642... Line 643...
642
	8:string listingName,
643
	8:string listingName,
643
	9:double listingPrice,
644
	9:double listingPrice,
644
	10:string bluedartPaisaPayRef	
645
	10:string bluedartPaisaPayRef	
645
}
646
}
646
 
647
 
-
 
648
struct SnapdealOrder {
-
 
649
	1:i64 orderId,
-
 
650
	2:string referenceCode,
-
 
651
	3:i64 subOrderId,
-
 
652
	4:double listingPrice,
-
 
653
	5:string productName,
-
 
654
	6:i64 snapdealTxnDate
-
 
655
}
-
 
656
 
647
struct OrderStatusGroups{
657
struct OrderStatusGroups{
648
	1:list<OrderStatus> codCancellable = [OrderStatus.COD_VERIFICATION_PENDING,
658
	1:list<OrderStatus> codCancellable = [OrderStatus.COD_VERIFICATION_PENDING,
649
										OrderStatus.SUBMITTED_FOR_PROCESSING,
659
										OrderStatus.SUBMITTED_FOR_PROCESSING,
650
										OrderStatus.ACCEPTED,
660
										OrderStatus.ACCEPTED,
651
										OrderStatus.INVENTORY_LOW,
661
										OrderStatus.INVENTORY_LOW,
Line 1491... Line 1501...
1491
	 
1501
	 
1492
	 void addOrUpdateAmazonFbaSalesSnapshot(1:AmazonFbaSalesSnapshot amazonfbasalessnapshot);
1502
	 void addOrUpdateAmazonFbaSalesSnapshot(1:AmazonFbaSalesSnapshot amazonfbasalessnapshot);
1493
	 
1503
	 
1494
	 list<AmazonFbaSalesSnapshot> getAmazonFbaSalesSnapshotForDays(1:i32 days);
1504
	 list<AmazonFbaSalesSnapshot> getAmazonFbaSalesSnapshotForDays(1:i32 days);
1495
	 
1505
	 
1496
     AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItem(1:i64 item_id)
1506
     AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItem(1:i64 item_id);
-
 
1507
     
-
 
1508
     void createSnapdealOrder(1:SnapdealOrder snapdealOrder);
-
 
1509
     
-
 
1510
     SnapdealOrder getSnapdealOrder(1:i64 orderId, 2:string referenceCode, 3:i64 subrderId)
-
 
1511
     
-
 
1512
     bool snapdealOrderExists(1:i64 subOrderId);
1497
	 
1513
     
1498
}
1514
}