Subversion Repositories SmartDukaan

Rev

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

Rev 30321 Rev 30335
Line 2... Line 2...
2
 
2
 
3
import com.google.gson.Gson;
3
import com.google.gson.Gson;
4
import com.smartdukaan.cron.scheduled.OppoImeiActivationService;
4
import com.smartdukaan.cron.scheduled.OppoImeiActivationService;
5
import com.smartdukaan.cron.scheduled.SamsungIMEIActivationService;
5
import com.smartdukaan.cron.scheduled.SamsungIMEIActivationService;
6
import com.smartdukaan.cron.scheduled.ScheduledTasks;
6
import com.smartdukaan.cron.scheduled.ScheduledTasks;
-
 
7
import com.smartdukaan.cron.scheduled.amazon.shop.AmazonPurchaseService;
7
import com.spice.profitmandi.common.enumuration.ItemType;
8
import com.spice.profitmandi.common.enumuration.ItemType;
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.model.CustomRetailer;
10
import com.spice.profitmandi.common.model.CustomRetailer;
10
import com.spice.profitmandi.common.model.ProfitMandiConstants;
11
import com.spice.profitmandi.common.model.ProfitMandiConstants;
11
import com.spice.profitmandi.common.services.mandii.*;
12
import com.spice.profitmandi.common.services.mandii.*;
Line 919... Line 920...
919
		} catch (Throwable t) {
920
		} catch (Throwable t) {
920
			t.printStackTrace();
921
			t.printStackTrace();
921
		}
922
		}
922
	}
923
	}
923
 
924
 
-
 
925
	@Autowired
-
 
926
	AmazonPurchaseService amazonPurchaseService;
-
 
927
 
-
 
928
	public void amazonPurchase() throws Exception {
-
 
929
		amazonPurchaseService.purchaseAmazon("B085M5R82K", 10, 3999);
-
 
930
	}
-
 
931
 
-
 
932
 
924
	private class SioTuple {
933
	private class SioTuple {
925
		int inventoryId;
934
		int inventoryId;
926
		SchemeType schemeType;
935
		SchemeType schemeType;
927
 
936
 
928
		public SioTuple(int inventoryItemId, SchemeType schemeType) {
937
		public SioTuple(int inventoryItemId, SchemeType schemeType) {