Subversion Repositories SmartDukaan

Rev

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

Rev 9808 Rev 9936
Line 3... Line 3...
3
import in.shop2020.metamodel.util.ContentPojo;
3
import in.shop2020.metamodel.util.ContentPojo;
4
import in.shop2020.metamodel.util.ProductPojo;
4
import in.shop2020.metamodel.util.ProductPojo;
5
import in.shop2020.mobileapi.serving.pojos.CartLinePojo;
5
import in.shop2020.mobileapi.serving.pojos.CartLinePojo;
6
import in.shop2020.mobileapi.serving.pojos.CartPojo;
6
import in.shop2020.mobileapi.serving.pojos.CartPojo;
7
import in.shop2020.mobileapi.serving.pojos.MenuPojo;
7
import in.shop2020.mobileapi.serving.pojos.MenuPojo;
-
 
8
import in.shop2020.mobileapi.serving.pojos.RechargeAmountPojo;
8
import in.shop2020.model.v1.catalog.Item;
9
import in.shop2020.model.v1.catalog.Item;
9
import in.shop2020.model.v1.user.Cart;
10
import in.shop2020.model.v1.user.Cart;
10
import in.shop2020.model.v1.user.Line;
11
import in.shop2020.model.v1.user.Line;
11
import in.shop2020.storage.mongo.StorageManager;
12
import in.shop2020.storage.mongo.StorageManager;
12
import in.shop2020.thrift.clients.CatalogClient;
13
import in.shop2020.thrift.clients.CatalogClient;
Line 169... Line 170...
169
	    cartPojo.setLines(linepojos);
170
	    cartPojo.setLines(linepojos);
170
        return cartPojo;
171
        return cartPojo;
171
	    
172
	    
172
	}
173
	}
173
    
174
    
-
 
175
	public static RechargeAmountPojo getRechargeAmountPojo(Long payAmount, Long walletAmount, Long couponAmount, boolean isLoginRequired) {
-
 
176
	    RechargeAmountPojo amnt = new RechargeAmountPojo();
-
 
177
	    amnt.setCouponAmount(couponAmount);
-
 
178
	    amnt.setLoginRequired(isLoginRequired);
-
 
179
	    amnt.setPayAmount(payAmount);
-
 
180
	    amnt.setWalletAmount(walletAmount);
-
 
181
	    return amnt;
-
 
182
	}
174
}
183
}
175
 
184