| Line 113... |
Line 113... |
| 113 |
verify_orders_for_transaction, get_creditor_info, update_creditor_info, get_user_sanction_details, \
|
113 |
verify_orders_for_transaction, get_creditor_info, update_creditor_info, get_user_sanction_details, \
|
| 114 |
update_user_sanction, get_credit_history_records, process_credit_transaction, \
|
114 |
update_user_sanction, get_credit_history_records, process_credit_transaction, \
|
| 115 |
get_loan_payable_for_user_to_creditor, get_loan_history_records, \
|
115 |
get_loan_payable_for_user_to_creditor, get_loan_history_records, \
|
| 116 |
process_loan_transaction, get_credit_history_records_paginated, get_loan_history_records_paginated, \
|
116 |
process_loan_transaction, get_credit_history_records_paginated, get_loan_history_records_paginated, \
|
| 117 |
get_user_sanction_details_paginated, get_orders_in_batch_as_promised_shipping, set_order_attribute_for_master_order_id, \
|
117 |
get_user_sanction_details_paginated, get_orders_in_batch_as_promised_shipping, set_order_attribute_for_master_order_id, \
|
| 118 |
update_master_order_awb
|
118 |
update_master_order_awb, add_or_update_shipment_logistics_cost_details
|
| 119 |
from shop2020.model.v1.order.impl.DataService import DtrBatchCreditTracker
|
119 |
from shop2020.model.v1.order.impl.DataService import DtrBatchCreditTracker
|
| 120 |
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
|
120 |
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
|
| 121 |
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
|
121 |
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
|
| 122 |
DigitalTransaction
|
122 |
DigitalTransaction
|
| 123 |
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
|
123 |
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
|
| Line 2797... |
Line 2797... |
| 2797 |
try:
|
2797 |
try:
|
| 2798 |
return update_master_order_awb(logisticsTransactionId, airwaybill_no)
|
2798 |
return update_master_order_awb(logisticsTransactionId, airwaybill_no)
|
| 2799 |
finally:
|
2799 |
finally:
|
| 2800 |
close_session()
|
2800 |
close_session()
|
| 2801 |
|
2801 |
|
| - |
|
2802 |
def addOrUpdateShipmentLogisticsCostDetails(self, shipmentLogisticsCostDetails):
|
| - |
|
2803 |
try:
|
| - |
|
2804 |
return add_or_update_shipment_logistics_cost_details(shipmentLogisticsCostDetails)
|
| - |
|
2805 |
finally:
|
| - |
|
2806 |
close_session()
|
| - |
|
2807 |
|
| 2802 |
def main():
|
2808 |
def main():
|
| 2803 |
OrderServiceHandler().creditBatch(2, '{"483649":100.0, "8021773":23, "123213":10}')
|
2809 |
OrderServiceHandler().creditBatch(2, '{"483649":100.0, "8021773":23, "123213":10}')
|
| 2804 |
|
2810 |
|
| 2805 |
if __name__ == '__main__':
|
2811 |
if __name__ == '__main__':
|
| 2806 |
main()
|
2812 |
main()
|
| 2807 |
|
2813 |
|