| Line 11... |
Line 11... |
| 11 |
to_t_order, to_t_lineitem, to_t_payment_settlement, to_t_verification_agent, \
|
11 |
to_t_order, to_t_lineitem, to_t_payment_settlement, to_t_verification_agent, \
|
| 12 |
to_t_attribute, to_t_rechargeTransaction, to_t_frc, to_t_hotspot, \
|
12 |
to_t_attribute, to_t_rechargeTransaction, to_t_frc, to_t_hotspot, \
|
| 13 |
to_t_sourcedetail, to_t_amazonorder, to_t_storeOrderDetail, \
|
13 |
to_t_sourcedetail, to_t_amazonorder, to_t_storeOrderDetail, \
|
| 14 |
to_t_storeOrderCollection, to_t_hotspotServiceMatrix, to_t_ebayOrder, \
|
14 |
to_t_storeOrderCollection, to_t_hotspotServiceMatrix, to_t_ebayOrder, \
|
| 15 |
to_t_amazonFbaSalesSnapshot, to_t_snapdealOrder, to_t_flipkartOrder, \
|
15 |
to_t_amazonFbaSalesSnapshot, to_t_snapdealOrder, to_t_flipkartOrder, \
|
| 16 |
to_t_amazonFbaOrderReturn, to_t_flipkartAdvantageOrder, to_t_hsOrder, to_t_Creditor, \
|
16 |
to_t_amazonFbaOrderReturn, to_t_flipkartAdvantageOrder, to_t_hsOrder, \
|
| 17 |
to_t_CreditHistory, to_t_UserSanction, to_t_LoanHistory, to_t_PaginatedCreditHistory, \
|
17 |
to_t_Creditor, to_t_CreditHistory, to_t_UserSanction, to_t_LoanHistory, \
|
| - |
|
18 |
to_t_PaginatedCreditHistory, to_t_PaginatedLoanHistory, \
|
| 18 |
to_t_PaginatedLoanHistory, to_t_PaginatedUserSanction, to_t_returnOrderInfo, \
|
19 |
to_t_PaginatedUserSanction, to_t_returnOrderInfo, to_t_returnTransaction, \
|
| 19 |
to_t_returnTransaction, to_t_rPickupRequest
|
20 |
to_t_rPickupRequest
|
| 20 |
from shop2020.model.v1.order.impl.DataAccessors import create_transaction, \
|
21 |
from shop2020.model.v1.order.impl.DataAccessors import create_transaction, \
|
| 21 |
get_transactions_for_customer, get_transaction_status, get_line_items_for_order, \
|
22 |
get_transactions_for_customer, get_transaction_status, get_line_items_for_order, \
|
| 22 |
get_transaction, get_transactions_for_shopping_cart_id, \
|
23 |
get_transaction, get_transactions_for_shopping_cart_id, \
|
| 23 |
change_transaction_status, get_orders_for_customer, get_orders_for_transaction, \
|
24 |
change_transaction_status, get_orders_for_customer, get_orders_for_transaction, \
|
| 24 |
get_order, get_returnable_orders_for_customer, \
|
25 |
get_order, get_returnable_orders_for_customer, \
|
| Line 108... |
Line 109... |
| 108 |
get_fa_order_by_fk_order_id, get_all_fa_orders_list, add_update_fa_orders_bulk, \
|
109 |
get_fa_order_by_fk_order_id, get_all_fa_orders_list, add_update_fa_orders_bulk, \
|
| 109 |
flipkart_fa_order_exists, get_recharge_order_status, \
|
110 |
flipkart_fa_order_exists, get_recharge_order_status, \
|
| 110 |
get_recharge_transaction_status, accept_package_orders, \
|
111 |
get_recharge_transaction_status, accept_package_orders, \
|
| 111 |
get_group_orders_by_logistics_txn_id, add_billing_details_for_groupped_orders, \
|
112 |
get_group_orders_by_logistics_txn_id, add_billing_details_for_groupped_orders, \
|
| 112 |
get_invoice_format_logistics_txn_id, homeshop_order_exists, \
|
113 |
get_invoice_format_logistics_txn_id, homeshop_order_exists, \
|
| 113 |
create_homeshop_order, get_homeshop_order, split_bulk_order, move_orders_to_correct_warehouse, \
|
114 |
create_homeshop_order, get_homeshop_order, split_bulk_order, \
|
| - |
|
115 |
move_orders_to_correct_warehouse, verify_orders_for_transaction, \
|
| 114 |
verify_orders_for_transaction, get_creditor_info, update_creditor_info, get_user_sanction_details, \
|
116 |
get_creditor_info, update_creditor_info, get_user_sanction_details, \
|
| 115 |
update_user_sanction, get_credit_history_records, process_credit_transaction, \
|
117 |
update_user_sanction, get_credit_history_records, process_credit_transaction, \
|
| 116 |
get_loan_payable_for_user_to_creditor, get_loan_history_records, \
|
118 |
get_loan_payable_for_user_to_creditor, get_loan_history_records, \
|
| 117 |
process_loan_transaction, get_credit_history_records_paginated, get_loan_history_records_paginated, \
|
119 |
process_loan_transaction, get_credit_history_records_paginated, \
|
| 118 |
get_user_sanction_details_paginated, get_orders_in_batch_as_promised_shipping, set_order_attribute_for_master_order_id, \
|
120 |
get_loan_history_records_paginated, get_user_sanction_details_paginated, \
|
| - |
|
121 |
get_orders_in_batch_as_promised_shipping, \
|
| - |
|
122 |
set_order_attribute_for_master_order_id, update_master_order_awb, \
|
| 119 |
update_master_order_awb, add_or_update_shipment_logistics_cost_details, get_return_order_info, get_return_orders_info_map, \
|
123 |
add_or_update_shipment_logistics_cost_details, get_return_order_info, \
|
| - |
|
124 |
get_return_orders_info_map, update_return_order_info, \
|
| 120 |
update_return_order_info, bulk_update_return_order_info, get_return_orders_as_per_warehouse, create_return_transaction, \
|
125 |
bulk_update_return_order_info, get_return_orders_as_per_warehouse, \
|
| - |
|
126 |
create_return_transaction, get_return_transactions_for_customer, \
|
| 121 |
get_return_transactions_for_customer, get_return_transaction, change_return_transaction_status, \
|
127 |
get_return_transaction, change_return_transaction_status, \
|
| 122 |
create_return_pickup_request, update_return_pickup_request, get_return_orders_for_return_transaction, \
|
128 |
create_return_pickup_request, update_return_pickup_request, \
|
| - |
|
129 |
get_return_orders_for_return_transaction, receive_return_pickup, \
|
| 123 |
receive_return_pickup, validate_return_pickup, process_return_pickup, mark_return_transaction_complete, \
|
130 |
validate_return_pickup, process_return_pickup, mark_return_transaction_complete, \
|
| 124 |
refund_return_transaction_payment, get_eligible_orders_for_return, get_eligible_return_orders_for_pickup, \
|
131 |
refund_return_transaction_payment, get_eligible_orders_for_return, \
|
| - |
|
132 |
get_eligible_return_orders_for_pickup, validate_return_transaction, \
|
| 125 |
validate_return_transaction, get_return_pickup_request, mark_return_not_required_orders_as_processed, \
|
133 |
get_return_pickup_request, mark_return_not_required_orders_as_processed, \
|
| 126 |
get_all_return_orders_for_return_pickup_request
|
134 |
get_all_return_orders_for_return_pickup_request, unaccept_order
|
| 127 |
from shop2020.model.v1.order.impl.DataService import DtrBatchCreditTracker
|
135 |
from shop2020.model.v1.order.impl.DataService import DtrBatchCreditTracker
|
| 128 |
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
|
136 |
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
|
| 129 |
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
|
137 |
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
|
| 130 |
DigitalTransaction
|
138 |
DigitalTransaction
|
| 131 |
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
|
139 |
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
|
| Line 398... |
Line 406... |
| 398 |
|
406 |
|
| 399 |
Parameters:
|
407 |
Parameters:
|
| 400 |
- orderId
|
408 |
- orderId
|
| 401 |
"""
|
409 |
"""
|
| 402 |
try:
|
410 |
try:
|
| 403 |
return accept_order(orderId)
|
411 |
return unaccept_order(orderId)
|
| 404 |
finally:
|
412 |
finally:
|
| 405 |
close_session()
|
413 |
close_session()
|
| 406 |
|
414 |
|
| 407 |
def getOrdersForCustomer(self, customerId, from_date, to_date, statuses):
|
415 |
def getOrdersForCustomer(self, customerId, from_date, to_date, statuses):
|
| 408 |
"""
|
416 |
"""
|