Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@
import net.authorize.api.controller.base.ApiOperationBase;
import net.authorize.api.controller.CreateTransactionController;

public class CaptureOnly {
public class CaptureFundsAuthorizedThroughAnotherChannel {

//
// Run this sample from command line with:
// java -jar target/ChargeCreditCard-jar-with-dependencies.jar
//

public static void run(String apiLoginId, String transactionKey) {

//Common code to set for all requests
Expand Down
6 changes: 3 additions & 3 deletions 6 src/main/java/net/authorize/sample/SampleCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private static void ShowMethods()
System.out.println(" RefundTransaction");
System.out.println(" VoidTransaction");
System.out.println(" CreateCustomerProfileFromTransaction");
System.out.println(" CaptureOnly");
System.out.println(" CaptureFundsAuthorizedThroughAnotherChannel");
System.out.println(" CapturePreviouslyAuthorizedAmount");
System.out.println(" DebitBankAccount");
System.out.println(" CreditBankAccount");
Expand Down Expand Up @@ -158,8 +158,8 @@ private static void RunMethod(String methodName)
case "CreateCustomerProfileFromTransaction":
CreateCustomerProfileFromTransaction.run(apiLoginId, transactionKey);
break;
case "CaptureOnly":
CaptureOnly.run(apiLoginId, transactionKey);
case "CaptureFundsAuthorizedThroughAnotherChannel":
CaptureFundsAuthorizedThroughAnotherChannel.run(apiLoginId, transactionKey);
break;
case "CapturePreviouslyAuthorizedAmount":
CapturePreviouslyAuthorizedAmount.run(apiLoginId, transactionKey);
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.