From 5ff0a6ee984f8ce67f3edf6091f0f632c306524d Mon Sep 17 00:00:00 2001 From: saikatbasu01 Date: Mon, 13 Aug 2018 17:48:49 +0530 Subject: [PATCH] Added randomization for account number in debit-bank-account sample code --- PaymentTransactions/debit-bank-account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaymentTransactions/debit-bank-account.py b/PaymentTransactions/debit-bank-account.py index c246344..1bd5f64 100644 --- a/PaymentTransactions/debit-bank-account.py +++ b/PaymentTransactions/debit-bank-account.py @@ -29,7 +29,7 @@ def debit_bank_account(amount): accountType = apicontractsv1.bankAccountTypeEnum bankAccount.accountType = accountType.checking bankAccount.routingNumber = "121042882" - bankAccount.accountNumber = "1234567890" + bankAccount.accountNumber = str(random.randint(10000,999999999999)) bankAccount.nameOnAccount = "John Doe" # Add the payment data to a paymentType object