Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample Code change for get transaction list for customer profile #54

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion test-runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def credit_bank_account(self):
def debit_bank_account(self):
print("debit_bank_account")
modl = imp.load_source('modulename', 'PaymentTransactions/debit-bank-account.py')
return modl.debit_bank_account()
return modl.debit_bank_account(22.50)

def refund_transaction(self):
print("refund_transaction")
Expand Down Expand Up @@ -573,6 +573,15 @@ def get_transaction_list(self):
modl = imp.load_source('modulename', 'TransactionReporting/get-transaction-list.py')
return modl.get_transaction_list()

def get_transaction_list_for_customer(self):
print("get_transaction_list_for_customer")

#get transaction list for that above profile
modl = imp.load_source('modulename', 'TransactionReporting/get-customer-profile-transaction-list.py')
response = modl.get_customer_profile_transaction_list('36152127')

return response

def get_unsettled_transaction_list(self):
print("get_unsettled_transaction_list")
modl = imp.load_source('modulename', 'TransactionReporting/get-unsettled-transaction-list.py')
Expand Down