Skip to content

Commit e0ba9e2

Browse files
author
zhaque
committed
Sample code changed
1 parent a493fcf commit e0ba9e2

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ private static void ShowMethods()
8787
System.out.println(" ChargeTokenizedCreditCard");
8888
System.out.println(" ChargeCustomerProfile");
8989
System.out.println(" CreateSubscription");
90+
System.out.println(" GetSubscription");
9091
System.out.println(" GetSubscriptionStatus");
9192
System.out.println(" CancelSubscription");
9293
System.out.println(" UpdateSubscription");
@@ -103,6 +104,7 @@ private static void ShowMethods()
103104
System.out.println(" DeleteCustomerProfile");
104105
System.out.println(" DeleteCustomerShippingAddress");
105106
System.out.println(" GetCustomerPaymentProfile");
107+
System.out.println(" GetCustomerPaymentProfileList");
106108
System.out.println(" GetCustomerProfile");
107109
System.out.println(" GetCustomerProfileIds");
108110
System.out.println(" GetCustomerShippingAddress");
@@ -174,6 +176,9 @@ private static void RunMethod(String methodName)
174176
case "CreateSubscription":
175177
CreateSubscription.run(apiLoginId, transactionKey);
176178
break;
179+
case "GetSubscription":
180+
GetSubscription.run(apiLoginId, transactionKey);
181+
break;
177182
case "GetSubscriptionStatus":
178183
GetSubscriptionStatus.run(apiLoginId, transactionKey);
179184
break;
@@ -222,6 +227,9 @@ private static void RunMethod(String methodName)
222227
case "GetCustomerPaymentProfile":
223228
GetCustomerPaymentProfile.run(apiLoginId, transactionKey);
224229
break;
230+
case "GetCustomerPaymentProfileList":
231+
GetCustomerPaymentProfileList.run(apiLoginId, transactionKey);
232+
break;
225233
case "GetCustomerProfile":
226234
GetCustomerProfile.run(apiLoginId, transactionKey);
227235
break;
@@ -272,4 +280,4 @@ private static void RunMethod(String methodName)
272280
break;
273281
}
274282
}
275-
}
283+
}

0 commit comments

Comments
 (0)