| Line 12... |
Line 12... |
| 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 |
from shop2020.model.v1.user.impl.Converters import to_t_user, to_t_cart, \
|
15 |
from shop2020.model.v1.user.impl.Converters import to_t_user, to_t_cart, \
|
| 16 |
to_t_address, to_t_user_communication, to_t_master_affiliate, to_t_affiliate, \
|
16 |
to_t_address, to_t_user_communication, to_t_master_affiliate, to_t_affiliate, \
|
| 17 |
to_t_tracker, to_t_track_log, to_t_private_deal, to_t_counter
|
17 |
to_t_tracker, to_t_track_log, to_t_private_deal_user, to_t_counter
|
| 18 |
from shop2020.model.v1.user.impl.Dataservice import UserWidgetItem
|
18 |
from shop2020.model.v1.user.impl.Dataservice import UserWidgetItem
|
| 19 |
from shop2020.model.v1.user.impl.UserDataAccessors import create_user, \
|
19 |
from shop2020.model.v1.user.impl.UserDataAccessors import create_user, \
|
| 20 |
update_user, get_user_by_id, get_user_by_email, update_password, \
|
20 |
update_user, get_user_by_id, get_user_by_email, update_password, \
|
| 21 |
set_user_as_logged_out, set_user_as_logged_in, remove_address_for_user, \
|
21 |
set_user_as_logged_out, set_user_as_logged_in, remove_address_for_user, \
|
| 22 |
add_address_for_user, authenticate_user, user_exists, initialize, \
|
22 |
add_address_for_user, authenticate_user, user_exists, initialize, \
|
| Line 882... |
Line 882... |
| 882 |
finally:
|
882 |
finally:
|
| 883 |
self.closeSession()
|
883 |
self.closeSession()
|
| 884 |
|
884 |
|
| 885 |
def getPrivateDealUser(self,userId):
|
885 |
def getPrivateDealUser(self,userId):
|
| 886 |
try:
|
886 |
try:
|
| 887 |
return to_t_private_deal(get_private_deal_user(userId))
|
887 |
return to_t_private_deal_user(get_private_deal_user(userId))
|
| 888 |
finally:
|
888 |
finally:
|
| 889 |
self.closeSession()
|
889 |
self.closeSession()
|
| 890 |
|
890 |
|
| 891 |
def registerCounter(self, tCounter, userId):
|
891 |
def registerCounter(self, tCounter, userId):
|
| 892 |
try:
|
892 |
try:
|