Subversion Repositories SmartDukaan

Rev

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

Rev 21738 Rev 21741
Line 24... Line 24...
24
import org.springframework.web.bind.annotation.RequestMethod;
24
import org.springframework.web.bind.annotation.RequestMethod;
25
import org.springframework.web.bind.annotation.RequestParam;
25
import org.springframework.web.bind.annotation.RequestParam;
26
 
26
 
27
import com.google.gson.Gson;
27
import com.google.gson.Gson;
28
import com.spice.profitmandi.common.model.ProfitMandiConstants;
28
import com.spice.profitmandi.common.model.ProfitMandiConstants;
-
 
29
import com.spice.profitmandi.common.model.ProfitMandiResponse;
-
 
30
import com.spice.profitmandi.common.model.ResponseStatus;
-
 
31
import com.spice.profitmandi.common.web.util.ResponseSender;
29
import com.spice.profitmandi.dao.entity.dtr.UserAccounts;
32
import com.spice.profitmandi.dao.entity.dtr.UserAccounts;
30
import com.spice.profitmandi.dao.enumuration.dtr.AccountType;
33
import com.spice.profitmandi.dao.enumuration.dtr.AccountType;
31
import com.spice.profitmandi.dao.model.ProductPojo;
34
import com.spice.profitmandi.dao.model.ProductPojo;
32
import com.spice.profitmandi.dao.model.UserCart;
35
import com.spice.profitmandi.dao.model.UserCart;
33
import com.spice.profitmandi.dao.repository.dtr.UserAccountRepository;
36
import com.spice.profitmandi.dao.repository.dtr.UserAccountRepository;
34
import com.spice.profitmandi.dao.util.ContentPojoPopulator;
37
import com.spice.profitmandi.dao.util.ContentPojoPopulator;
35
import com.spice.profitmandi.dao.util.LogisticsService;
38
import com.spice.profitmandi.dao.util.LogisticsService;
36
import com.spice.profitmandi.thrift.clients.UserClient;
39
import com.spice.profitmandi.thrift.clients.UserClient;
37
import com.spice.profitmandi.web.model.ProfitMandiResponse;
-
 
38
import com.spice.profitmandi.web.model.ResponseStatus;
-
 
39
import com.spice.profitmandi.web.req.AddCartRequest;
40
import com.spice.profitmandi.web.req.AddCartRequest;
40
import com.spice.profitmandi.web.req.CartItems;
41
import com.spice.profitmandi.web.req.CartItems;
41
import com.spice.profitmandi.web.res.CartResponse;
42
import com.spice.profitmandi.web.res.CartResponse;
42
import com.spice.profitmandi.web.res.ValidateCartResponse;
43
import com.spice.profitmandi.web.res.ValidateCartResponse;
43
import com.spice.profitmandi.web.util.ResponseSender;
-
 
44
 
44
 
45
import in.shop2020.logistics.DeliveryType;
45
import in.shop2020.logistics.DeliveryType;
46
import in.shop2020.model.v1.user.ItemQuantity;
46
import in.shop2020.model.v1.user.ItemQuantity;
47
import in.shop2020.model.v1.user.UserContextService;
47
import in.shop2020.model.v1.user.UserContextService;
48
import in.shop2020.model.v1.user.UserContextService.Client;
48
import in.shop2020.model.v1.user.UserContextService.Client;