public static class WebpayPlusModal.Transaction extends BaseTransaction
options| Constructor and Description |
|---|
Transaction()
Default constructor.
|
Transaction(Options options)
Constructor with options.
|
| Modifier and Type | Method and Description |
|---|---|
ModalTransactionCommitResponse |
commit(String token) |
ModalTransactionCreateResponse |
create(String buyOrder,
String sessionId,
double amount) |
ModalTransactionRefundResponse |
refund(String token,
double amount) |
ModalTransactionStatusResponse |
status(String token) |
public Transaction()
public Transaction(Options options)
options - The options to use for this transaction.public ModalTransactionCreateResponse create(String buyOrder, String sessionId, double amount) throws IOException, TransactionCreateException
public ModalTransactionCommitResponse commit(String token) throws IOException, TransactionCommitException
public ModalTransactionStatusResponse status(String token) throws IOException, TransactionStatusException
public ModalTransactionRefundResponse refund(String token, double amount) throws IOException, TransactionRefundException
Copyright © 2018–2024. All rights reserved.