| Line 10... |
Line 10... |
| 10 |
commit_cart, validate_cart, merge_cart, delete_item_from_cart, check_out, \
|
10 |
commit_cart, validate_cart, merge_cart, delete_item_from_cart, check_out, \
|
| 11 |
reset_cart, apply_coupon_to_cart, remove_coupon, get_carts_with_coupon_count, \
|
11 |
reset_cart, apply_coupon_to_cart, remove_coupon, get_carts_with_coupon_count, \
|
| 12 |
delete_discounts_from_cart, save_discounts, show_cod_option, insure_item, \
|
12 |
delete_discounts_from_cart, save_discounts, show_cod_option, insure_item, \
|
| 13 |
cancel_insurance, store_insurance_specific_details, is_insurance_detail_present, \
|
13 |
cancel_insurance, store_insurance_specific_details, is_insurance_detail_present, \
|
| 14 |
add_store_to_cart, get_products_added_to_cart, validate_cart_plus, \
|
14 |
add_store_to_cart, get_products_added_to_cart, validate_cart_plus, \
|
| 15 |
add_items_to_cart, valiate_cart_new
|
15 |
add_items_to_cart, valiate_cart_new, set_wallet_amount_in_cart
|
| 16 |
from shop2020.model.v1.user.impl.Converters import to_t_user, to_t_cart, \
|
16 |
from shop2020.model.v1.user.impl.Converters import to_t_user, to_t_cart, \
|
| 17 |
to_t_address, to_t_user_communication, to_t_master_affiliate, to_t_affiliate, \
|
17 |
to_t_address, to_t_user_communication, to_t_master_affiliate, to_t_affiliate, \
|
| 18 |
to_t_tracker, to_t_track_log, to_t_private_deal_user, to_t_counter
|
18 |
to_t_tracker, to_t_track_log, to_t_private_deal_user, to_t_counter
|
| 19 |
from shop2020.model.v1.user.impl.Dataservice import UserWidgetItem
|
19 |
from shop2020.model.v1.user.impl.Dataservice import UserWidgetItem
|
| 20 |
from shop2020.model.v1.user.impl.UserDataAccessors import create_user, \
|
20 |
from shop2020.model.v1.user.impl.UserDataAccessors import create_user, \
|
| Line 999... |
Line 999... |
| 999 |
|
999 |
|
| 1000 |
def getCounterName(self,userIds):
|
1000 |
def getCounterName(self,userIds):
|
| 1001 |
try:
|
1001 |
try:
|
| 1002 |
return get_counter_name(userIds)
|
1002 |
return get_counter_name(userIds)
|
| 1003 |
finally:
|
1003 |
finally:
|
| - |
|
1004 |
self.closeSession()
|
| - |
|
1005 |
|
| - |
|
1006 |
def setWalletAmountInCart(self, cartId, wallet_amount):
|
| - |
|
1007 |
try:
|
| - |
|
1008 |
return set_wallet_amount_in_cart(cartId, wallet_amount)
|
| - |
|
1009 |
finally:
|
| 1004 |
self.closeSession()
|
1010 |
self.closeSession()
|
| 1005 |
|
1011 |
|