Skip to content

Commit f9ec093

Browse files
committed
Match the names as used in the API Reference
1 parent b327955 commit f9ec093

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/main/java/net/authorize/sample/PayPalExpressCheckout/AuthorizationAndCaptureContinue.java renamed to src/main/java/net/authorize/sample/PayPalExpressCheckout/AuthorizationAndCaptureContinued.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import net.authorize.api.controller.base.ApiOperationBase;
1919

2020

21-
public class AuthorizationAndCaptureContinue
21+
public class AuthorizationAndCaptureContinued
2222
{
2323
public static ANetApiResponse run(String apiLoginId, String transactionKey, String TransactionID, String payerID , Double amount){
2424

src/main/java/net/authorize/sample/SampleCode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ private static void RunMethod(String methodName)
301301
AuthorizationOnly.run(apiLoginId, transactionKey, amount);
302302
break;
303303
case "PayPalAuthorizeCaptureContinue":
304-
AuthorizationAndCaptureContinue.run(apiLoginId, transactionKey, transactionId, payerId, amount);
304+
AuthorizationAndCaptureContinued.run(apiLoginId, transactionKey, transactionId, payerId, amount);
305305
break;
306306
case "PayPalAuthorizeOnlyContinue":
307307
AuthorizationOnlyContinued.run(apiLoginId, transactionKey, transactionId, payerId, amount);

src/test/java/net/authorize/sample/SampleCodeTest/SampleCodeList.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CustomerProfiles.CreateCustomerPaymentProfile 1 1
2626
PayPalExpressCheckout.PayPalAuthorizationOnly 1 1
2727
PayPalExpressCheckout.PayPalVoid 1 0
2828
PayPalExpressCheckout.PayPalAuthorizationAndCapture 1 1
29-
PayPalExpressCheckout.PayPalAuthorizationAndCaptureContinue 1 1
29+
PayPalExpressCheckout.PayPalAuthorizationAndCaptureContinued 1 1
3030
PayPalExpressCheckout.PayPalAuthorizationOnlyContinued 1 0
3131
PayPalExpressCheckout.PayPalCredit 1 0
3232
PayPalExpressCheckout.PayPalGetDetails 1 1

src/test/java/net/authorize/sample/SampleCodeTest/TestRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
import net.authorize.sample.PaymentTransactions.RefundTransaction;
5959
import net.authorize.sample.PaymentTransactions.VoidTransaction;
6060
import net.authorize.sample.PayPalExpressCheckout.AuthorizationAndCapture;
61-
import net.authorize.sample.PayPalExpressCheckout.AuthorizationAndCaptureContinue;
61+
import net.authorize.sample.PayPalExpressCheckout.AuthorizationAndCaptureContinued;
6262
import net.authorize.sample.PayPalExpressCheckout.AuthorizationOnly;
6363
import net.authorize.sample.PayPalExpressCheckout.AuthorizationOnlyContinued;
6464
import net.authorize.sample.PayPalExpressCheckout.Credit;
@@ -420,7 +420,7 @@ public ANetApiResponse TestPayPalAuthorizationAndCapture()
420420
public ANetApiResponse TestPayPalAuthorizationAndCaptureContinue()
421421
{
422422
CreateTransactionResponse response = (CreateTransactionResponse)AuthorizationAndCapture.run(apiLoginId, transactionKey, getAmount());
423-
return AuthorizationAndCaptureContinue.run(apiLoginId, transactionKey, response.getTransactionResponse().getTransId(), payerID, getAmount());
423+
return AuthorizationAndCaptureContinued.run(apiLoginId, transactionKey, response.getTransactionResponse().getTransId(), payerID, getAmount());
424424
}
425425

426426
public ANetApiResponse TestPayPalAuthorizationOnly()

0 commit comments

Comments
 (0)