Skip to content

Commit 403f2e8

Browse files
authored
Update SampleCode.java
1 parent 525ae55 commit 403f2e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private static void ShowMethods()
129129
System.out.println(" GetMerchantDetails");
130130
System.out.println(" GetHeldTransactionList");
131131
System.out.println(" ApproveOrDeclineHeldTransaction");
132-
System.out.println(" GetHostedPaymentPage");
132+
System.out.println(" GetAnAcceptPaymentPage");
133133
}
134134

135135
private static void RunMethod(String methodName)
@@ -321,8 +321,8 @@ private static void RunMethod(String methodName)
321321
case "ApproveOrDeclineHeldTransaction":
322322
ApproveOrDeclineHeldTransaction.run(apiLoginId, transactionKey, transactionId);
323323
break;
324-
case "GetHostedPaymentPage":
325-
GetHostedPaymentPage.run(apiLoginId, transactionKey, amount);
324+
case "GetAnAcceptPaymentPage":
325+
GetAnAcceptPaymentPage.run(apiLoginId, transactionKey, amount);
326326
break;
327327
default:
328328
ShowUsage();

0 commit comments

Comments
 (0)