Skip to content

Commit bdac275

Browse files
committed
Rename directory to match the names used in the online API Reference guide
1 parent 7a680df commit bdac275

File tree

10 files changed

+15
-12
lines changed

10 files changed

+15
-12
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ target/
5858

5959
# Operating system files
6060
.DS_Store
61+
62+
# IDE
63+
.vscode/

PaypalExpressCheckout/authorization-and-capture-continue.py renamed to PayPalExpressCheckout/authorization-and-capture-continue.py

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test-runner.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -394,57 +394,57 @@ def void_transaction(self):
394394
def authorization_and_capture_continue(self):
395395
print("authorization_and_capture_continue")
396396

397-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/authorization-and-capture.py')
397+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture.py')
398398
response = modl.authorization_and_capture(self.getAmount())
399399

400-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/authorization-and-capture-continue.py')
400+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture-continue.py')
401401
return modl.authorization_and_capture_continue(str(response.transactionResponse.transId), "6ZSCSYG33VP8Q")
402402

403403
def authorization_and_capture(self):
404404
print("authorization_and_capture")
405-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/authorization-and-capture.py')
405+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture.py')
406406
return modl.authorization_and_capture(self.getAmount())
407407

408408
def authorization_only_continued(self):
409409
print("authorization_only_continued")
410-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/authorization-only-continued.py')
410+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-only-continued.py')
411411
return modl.authorization_only_continued()
412412

413413
def authorization_only(self):
414414
print("authorization_only")
415-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/authorization-only.py')
415+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-only.py')
416416
return modl.authorization_only()
417417

418418
def credit(self):
419419
print("credit")
420-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/credit.py')
420+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/credit.py')
421421
return modl.credit()
422422

423423
def get_details(self):
424424
print("get_details")
425425

426-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/authorization-and-capture.py')
426+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture.py')
427427
response = modl.authorization_and_capture(self.getAmount())
428428

429-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/get-details.py')
429+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/get-details.py')
430430
return modl.get_details(str(response.transactionResponse.transId))
431431

432432
def prior_authorization_capture(self):
433433
print("prior_authorization_capture")
434434

435-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/authorization-and-capture.py')
435+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture.py')
436436
response = modl.authorization_and_capture(self.getAmount())
437437

438-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/prior-authorization-capture.py')
438+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/prior-authorization-capture.py')
439439
return modl.prior_authorization_capture(str(response.transactionResponse.transId))
440440

441441
def void(self):
442442
print("void")
443443

444-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/authorization-and-capture.py')
444+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/authorization-and-capture.py')
445445
response = modl.authorization_and_capture(self.getAmount())
446446

447-
modl = imp.load_source('modulename', 'PaypalExpressCheckout/void.py')
447+
modl = imp.load_source('modulename', 'PayPalExpressCheckout/void.py')
448448
return modl.void(str(response.transactionResponse.transId))
449449

450450
def cancel_subscription(self):

0 commit comments

Comments
 (0)