public interface PaymentApi extends KillbillApi
| Modifier and Type | Method and Description |
|---|---|
java.util.UUID |
addPaymentMethod(Account account,
java.lang.String paymentMethodExternalKey,
java.lang.String pluginName,
boolean setDefault,
PaymentMethodPlugin paymentMethodInfo,
java.lang.Iterable<PluginProperty> properties,
CallContext context) |
java.util.UUID |
addPaymentMethodWithPaymentControl(Account account,
java.lang.String paymentMethodExternalKey,
java.lang.String pluginName,
boolean setDefault,
PaymentMethodPlugin paymentMethodInfo,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context) |
void |
cancelScheduledPaymentTransaction(java.lang.String paymentTransactionExternalKey,
CallContext context)
Cancel scheduled future payment retry
|
void |
cancelScheduledPaymentTransaction(java.util.UUID paymentTransactionId,
CallContext context)
Cancel scheduled future payment retry
|
Payment |
createAuthorization(Account account,
java.util.UUID paymentMethodId,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentExternalKey,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Authorize a payment.
|
Payment |
createAuthorizationWithPaymentControl(Account account,
java.util.UUID paymentMethodId,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentExternalKey,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Authorize a payment and allow to go through registered routing plugins
|
Payment |
createCapture(Account account,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Capture a previously authorized payment.
|
Payment |
createCaptureWithPaymentControl(Account account,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Capture a previously authorized payment and allow to go through registered routing plugins
|
Payment |
createChargeback(Account account,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
CallContext context)
Record a chargeback
|
Payment |
createChargebackReversal(Account account,
java.util.UUID paymentId,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
CallContext context)
Reverse a chargeback
|
Payment |
createChargebackReversalWithPaymentControl(Account account,
java.util.UUID paymentId,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
PaymentOptions paymentOptions,
CallContext context)
Reverse a chargeback
|
Payment |
createChargebackWithPaymentControl(Account account,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
PaymentOptions paymentOptions,
CallContext context)
Record a chargeback
|
Payment |
createCredit(Account account,
java.util.UUID paymentMethodId,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentExternalKey,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Credit a payment method.
|
Payment |
createCreditWithPaymentControl(Account account,
java.util.UUID paymentMethodId,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentExternalKey,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Credit a payment method and allow to go through registered routing plugins
This is also known as payment in reverse.
|
Payment |
createPurchase(Account account,
java.util.UUID paymentMethodId,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentExternalKey,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Combine an authorize and capture payment.
|
Payment |
createPurchaseWithPaymentControl(Account account,
java.util.UUID paymentMethodId,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentExternalKey,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Combine an authorize and capture payment and allow to go through registered routing plugins
|
Payment |
createRefund(Account account,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Refund a previously captured payment.
|
Payment |
createRefundWithPaymentControl(Account account,
java.util.UUID paymentId,
java.math.BigDecimal amount,
Currency currency,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Refund a previously captured payment and allow to go through registered routing plugins
|
Payment |
createVoid(Account account,
java.util.UUID paymentId,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Void a previously authorized payment.
|
Payment |
createVoidWithPaymentControl(Account account,
java.util.UUID paymentId,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Void a previously authorized payment and allow to go through registered routing plugins
|
void |
deletePaymentMethod(Account account,
java.util.UUID paymentMethodId,
boolean deleteDefaultPaymentMethodWithAutoPayOff,
boolean forceDefaultPaymentMethodDeletion,
java.lang.Iterable<PluginProperty> properties,
CallContext context) |
java.util.List<PaymentMethod> |
getAccountPaymentMethods(java.util.UUID accountId,
boolean includedInactive,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
java.util.List<Payment> |
getAccountPayments(java.util.UUID accountId,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Payment |
getPayment(java.util.UUID paymentId,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
java.util.List<AuditLogWithHistory> |
getPaymentAttemptAuditLogsWithHistoryForId(java.util.UUID paymentAttemptId,
AuditLevel auditLevel,
TenantContext context)
Get all the audit entries with history for a given payment attempt.
|
java.util.List<AuditLogWithHistory> |
getPaymentAuditLogsWithHistoryForId(java.util.UUID paymentId,
AuditLevel auditLevel,
TenantContext context)
Get all the audit entries with history for a given payment.
|
Payment |
getPaymentByExternalKey(java.lang.String paymentExternalKey,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Payment |
getPaymentByTransactionExternalKey(java.lang.String transactionExternalKey,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Payment |
getPaymentByTransactionId(java.util.UUID transactionId,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
java.util.List<AuditLogWithHistory> |
getPaymentMethodAuditLogsWithHistoryForId(java.util.UUID paymentMethodId,
AuditLevel auditLevel,
TenantContext context)
Get all the audit entries with history for a given payment method.
|
PaymentMethod |
getPaymentMethodByExternalKey(java.lang.String paymentMethodExternalKey,
boolean includedInactive,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
PaymentMethod |
getPaymentMethodById(java.util.UUID paymentMethodId,
boolean includedInactive,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Pagination<PaymentMethod> |
getPaymentMethods(java.lang.Long offset,
java.lang.Long limit,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context)
Find all payment methods across all plugins
|
Pagination<PaymentMethod> |
getPaymentMethods(java.lang.Long offset,
java.lang.Long limit,
java.lang.String pluginName,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context)
Find all payment methods in a given plugin
|
Pagination<Payment> |
getPayments(java.lang.Long offset,
java.lang.Long limit,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context)
Find all payments across all plugins
|
Pagination<Payment> |
getPayments(java.lang.Long offset,
java.lang.Long limit,
java.lang.String pluginName,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context)
Find all payments in a given plugin
|
java.util.List<AuditLogWithHistory> |
getPaymentTransactionAuditLogsWithHistoryForId(java.util.UUID paymentTransactionId,
AuditLevel auditLevel,
TenantContext context)
Get all the audit entries with history for a given payment transaction.
|
Payment |
notifyPendingTransactionOfStateChanged(Account account,
java.util.UUID paymentTransactionId,
boolean isSuccess,
CallContext context)
Transition a currently PENDING transaction into either a SUCCESS or a FAILURE
|
Payment |
notifyPendingTransactionOfStateChangedWithPaymentControl(Account account,
java.util.UUID paymentTransactionId,
boolean isSuccess,
PaymentOptions paymentOptions,
CallContext context)
Transition a currently PENDING transaction into either a SUCCESS or a FAILURE
|
java.util.List<PaymentMethod> |
refreshPaymentMethods(Account account,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Refresh all payment methods across all plugins
This call is not atomic.
|
java.util.List<PaymentMethod> |
refreshPaymentMethods(Account account,
java.lang.String pluginName,
java.lang.Iterable<PluginProperty> properties,
CallContext context) |
Pagination<PaymentMethod> |
searchPaymentMethods(java.lang.String searchKey,
java.lang.Long offset,
java.lang.Long limit,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context)
Find all payment methods matching the search key across all plugins
The match will be plugin specific: for instance some plugins will try to match the key
against the last 4 credit cards digits, agreement ids, etc.
|
Pagination<PaymentMethod> |
searchPaymentMethods(java.lang.String searchKey,
java.lang.Long offset,
java.lang.Long limit,
java.lang.String pluginName,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context)
Find all payment methods matching the search key in a given plugin
The match will be plugin specific: for instance some plugins will try to match the key
against the last 4 credit cards digits, agreement ids, etc.
|
Pagination<Payment> |
searchPayments(java.lang.String searchKey,
java.lang.Long offset,
java.lang.Long limit,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context)
Find all payments matching the search key across all plugins
The match will be plugin specific: for instance some plugins will try to match the key
against the transaction ids, etc.
|
Pagination<Payment> |
searchPayments(java.lang.String searchKey,
java.lang.Long offset,
java.lang.Long limit,
java.lang.String pluginName,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context)
Find all payments matching the search key in a given plugin
The match will be plugin specific: for instance some plugins will try to match the key
against the transaction ids, etc.
|
void |
setDefaultPaymentMethod(Account account,
java.util.UUID paymentMethodId,
java.lang.Iterable<PluginProperty> properties,
CallContext context) |
Payment createAuthorization(Account account, java.util.UUID paymentMethodId, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentExternalKey, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpaymentMethodId - the payment method id to usepaymentId - the payment id (non-null for multi-steps flows, such as 3D Secure)amount - the amount to paycurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationpaymentExternalKey - the payment external keypaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment createAuthorizationWithPaymentControl(Account account, java.util.UUID paymentMethodId, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentExternalKey, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentMethodId - the payment method id to usepaymentId - the payment id (non-null for multi-steps flows, such as 3D Secure)amount - the amount to paycurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationpaymentExternalKey - the payment external keypaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiespaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionPayment createCapture(Account account, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountamount - the amount to paycurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationpaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment createCaptureWithPaymentControl(Account account, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountamount - the amount to paycurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationpaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiespaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionPayment createPurchase(Account account, java.util.UUID paymentMethodId, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentExternalKey, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpaymentMethodId - the payment method id to usepaymentId - the payment id (non-null for multi-steps flows, such as 3D Secure)amount - the amount to paycurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationpaymentExternalKey - the payment external keypaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment createPurchaseWithPaymentControl(Account account, java.util.UUID paymentMethodId, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentExternalKey, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentMethodId - the payment method id to usepaymentId - the payment id (non-null for multi-steps flows, such as 3D Secure)amount - the amount to paycurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationpaymentExternalKey - the payment external keypaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiespaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionPayment createVoid(Account account, java.util.UUID paymentId, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpaymentId - the payment ideffectiveDate - the effectiveDate of the payment operationpaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment createVoidWithPaymentControl(Account account, java.util.UUID paymentId, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentId - the payment ideffectiveDate - the effectiveDate of the payment operationpaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiespaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionPayment createRefund(Account account, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpaymentId - the payment ideffectiveDate - the effectiveDate of the payment operationamount - the amount to refundcurrency - the amount currencypaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment createRefundWithPaymentControl(Account account, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentId - the payment ideffectiveDate - the effectiveDate of the payment operationamount - the amount to refundcurrency - the amount currencypaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiespaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionPayment createCredit(Account account, java.util.UUID paymentMethodId, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentExternalKey, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpaymentMethodId - the payment method id to usepaymentId - the payment id (non-null for multi-steps flows)effectiveDate - the effectiveDate of the payment operationamount - the amount to creditcurrency - the amount currencypaymentExternalKey - the payment external keypaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment createCreditWithPaymentControl(Account account, java.util.UUID paymentMethodId, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentExternalKey, java.lang.String paymentTransactionExternalKey, java.lang.Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentMethodId - the payment method id to usepaymentId - the payment id (non-null for multi-steps flows)amount - the amount to creditcurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationpaymentExternalKey - the payment external keypaymentTransactionExternalKey - the payment transaction external keyproperties - plugin specific propertiespaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionvoid cancelScheduledPaymentTransaction(java.lang.String paymentTransactionExternalKey,
CallContext context)
throws PaymentApiException
paymentTransactionExternalKey - the key identifying the transactioncontext - the call contextPaymentApiExceptionvoid cancelScheduledPaymentTransaction(java.util.UUID paymentTransactionId,
CallContext context)
throws PaymentApiException
paymentTransactionId - the id identifying the transactioncontext - the call contextPaymentApiExceptionPayment createChargeback(Account account, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, CallContext context) throws PaymentApiException
account - the accountpaymentId - the payment idpaymentTransactionExternalKey - the chargeback external keyamount - the amount to chargebackcurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationcontext - the call contextPaymentApiExceptionPayment createChargebackWithPaymentControl(Account account, java.util.UUID paymentId, java.math.BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentId - the payment idpaymentTransactionExternalKey - the chargeback external keyamount - the amount to chargebackcurrency - the amount currencyeffectiveDate - the effectiveDate of the payment operationpaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionPayment createChargebackReversal(Account account, java.util.UUID paymentId, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, CallContext context) throws PaymentApiException
account - the accountpaymentId - the payment ideffectiveDate - the effectiveDate of the payment operationpaymentTransactionExternalKey - the external key of the chargeback to reversecontext - the call contextPaymentApiExceptionPayment createChargebackReversalWithPaymentControl(Account account, java.util.UUID paymentId, org.joda.time.DateTime effectiveDate, java.lang.String paymentTransactionExternalKey, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentId - the payment ideffectiveDate - the effectiveDate of the payment operationpaymentTransactionExternalKey - the external key of the chargeback to reversepaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionPayment notifyPendingTransactionOfStateChanged(Account account, java.util.UUID paymentTransactionId, boolean isSuccess, CallContext context) throws PaymentApiException
account - the accountpaymentTransactionId - the transaction idisSuccess - whether the transaction is successful or notcontext - the call contextPaymentApiExceptionPayment notifyPendingTransactionOfStateChangedWithPaymentControl(Account account, java.util.UUID paymentTransactionId, boolean isSuccess, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentTransactionId - the transaction idisSuccess - whether the transaction is successful or notpaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionjava.util.List<Payment> getAccountPayments(java.util.UUID accountId, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
accountId - the account idwithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment getPayment(java.util.UUID paymentId, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
paymentId - the payment idwithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment getPaymentByExternalKey(java.lang.String paymentExternalKey, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
paymentExternalKey - the payment external keywithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPayment getPaymentByTransactionId(java.util.UUID transactionId, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
transactionId - the payment transaction idcontext - the call contextPaymentApiExceptionPayment getPaymentByTransactionExternalKey(java.lang.String transactionExternalKey, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
transactionExternalKey - the payment transaction external keycontext - the call contextPaymentApiExceptionPagination<Payment> getPayments(java.lang.Long offset, java.lang.Long limit, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context)
offset - the offset of the first resultlimit - the maximum number of results to retrievewithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the user contextPagination<Payment> getPayments(java.lang.Long offset, java.lang.Long limit, java.lang.String pluginName, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
offset - the offset of the first resultlimit - the maximum number of results to retrievepluginName - the payment plugin namewithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the user contextPaymentApiExceptionPagination<Payment> searchPayments(java.lang.String searchKey, java.lang.Long offset, java.lang.Long limit, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context)
searchKey - the search keyoffset - the offset of the first resultlimit - the maximum number of results to retrievewithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the user contextPagination<Payment> searchPayments(java.lang.String searchKey, java.lang.Long offset, java.lang.Long limit, java.lang.String pluginName, boolean withPluginInfo, boolean withAttempts, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
searchKey - the search keyoffset - the offset of the first resultlimit - the maximum number of results to retrievepluginName - the payment plugin namewithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the user contextPaymentApiExceptionjava.util.UUID addPaymentMethod(Account account, java.lang.String paymentMethodExternalKey, java.lang.String pluginName, boolean setDefault, PaymentMethodPlugin paymentMethodInfo, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpaymentMethodExternalKey - the external keypluginName - the plugin namesetDefault - whether this should be set as a default payment methodpaymentMethodInfo - the details for the payment methodproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionjava.util.UUID addPaymentMethodWithPaymentControl(Account account, java.lang.String paymentMethodExternalKey, java.lang.String pluginName, boolean setDefault, PaymentMethodPlugin paymentMethodInfo, java.lang.Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - the accountpaymentMethodExternalKey - the external keypluginName - the plugin namesetDefault - whether this should be set as a default payment methodpaymentMethodInfo - the details for the payment methodproperties - plugin specific propertiespaymentOptions - options to control payment behaviorcontext - the call contextPaymentApiExceptionjava.util.List<PaymentMethod> getAccountPaymentMethods(java.util.UUID accountId, boolean includedInactive, boolean withPluginInfo, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
accountId - the account idincludedInactive - returns the payment method even if this is not activewithPluginInfo - whether we want to retrieve the plugin info for that payment methodproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionPaymentMethod getPaymentMethodById(java.util.UUID paymentMethodId, boolean includedInactive, boolean withPluginInfo, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
paymentMethodId - the payment method idincludedInactive - returns the payment method even if this is not activewithPluginInfo - whether we want to retrieve the plugin info for that payment methodproperties - plugin specific propertiescontext - the call context @return the payment methodPaymentApiExceptionPaymentMethod getPaymentMethodByExternalKey(java.lang.String paymentMethodExternalKey, boolean includedInactive, boolean withPluginInfo, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
paymentMethodExternalKey - the payment method external keyincludedInactive - returns the payment method even if this is not activewithPluginInfo - whether we want to retrieve the plugin info for that payment methodproperties - plugin specific propertiescontext - the call context @return the payment methodPaymentApiExceptionPagination<PaymentMethod> getPaymentMethods(java.lang.Long offset, java.lang.Long limit, boolean withPluginInfo, java.lang.Iterable<PluginProperty> properties, TenantContext context)
offset - the offset of the first resultlimit - the maximum number of results to retrievewithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the user contextPagination<PaymentMethod> getPaymentMethods(java.lang.Long offset, java.lang.Long limit, java.lang.String pluginName, boolean withPluginInfo, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
offset - the offset of the first resultlimit - the maximum number of results to retrievepluginName - the payment plugin namewithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the user contextPaymentApiExceptionPagination<PaymentMethod> searchPaymentMethods(java.lang.String searchKey, java.lang.Long offset, java.lang.Long limit, boolean withPluginInfo, java.lang.Iterable<PluginProperty> properties, TenantContext context)
searchKey - the search keyoffset - the offset of the first resultlimit - the maximum number of results to retrievewithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the user contextPagination<PaymentMethod> searchPaymentMethods(java.lang.String searchKey, java.lang.Long offset, java.lang.Long limit, java.lang.String pluginName, boolean withPluginInfo, java.lang.Iterable<PluginProperty> properties, TenantContext context) throws PaymentApiException
searchKey - the search keyoffset - the offset of the first resultlimit - the maximum number of results to retrievepluginName - the payment plugin namewithPluginInfo - whether to fetch plugin infoproperties - plugin specific propertiescontext - the user contextPaymentApiExceptionvoid deletePaymentMethod(Account account, java.util.UUID paymentMethodId, boolean deleteDefaultPaymentMethodWithAutoPayOff, boolean forceDefaultPaymentMethodDeletion, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpaymentMethodId - the id of the payment methoddeleteDefaultPaymentMethodWithAutoPayOff - whether to allow deletion of default payment method and set account into AUTO_PAY_OFFproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionvoid setDefaultPaymentMethod(Account account, java.util.UUID paymentMethodId, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpaymentMethodId - the payment method idproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionjava.util.List<PaymentMethod> refreshPaymentMethods(Account account, java.lang.String pluginName, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountpluginName - the name of the pluginproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionjava.util.List<PaymentMethod> refreshPaymentMethods(Account account, java.lang.Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - the accountproperties - plugin specific propertiescontext - the call contextPaymentApiExceptionjava.util.List<AuditLogWithHistory> getPaymentAuditLogsWithHistoryForId(java.util.UUID paymentId, AuditLevel auditLevel, TenantContext context)
paymentId - the payment idauditLevel - audit level (verbosity)context - the tenant contextjava.util.List<AuditLogWithHistory> getPaymentMethodAuditLogsWithHistoryForId(java.util.UUID paymentMethodId, AuditLevel auditLevel, TenantContext context)
paymentMethodId - the payment method idauditLevel - audit level (verbosity)context - the tenant contextjava.util.List<AuditLogWithHistory> getPaymentAttemptAuditLogsWithHistoryForId(java.util.UUID paymentAttemptId, AuditLevel auditLevel, TenantContext context)
paymentAttemptId - the payment attempt idauditLevel - audit level (verbosity)context - the tenant contextjava.util.List<AuditLogWithHistory> getPaymentTransactionAuditLogsWithHistoryForId(java.util.UUID paymentTransactionId, AuditLevel auditLevel, TenantContext context)
paymentTransactionId - the payment transaction idauditLevel - audit level (verbosity)context - the tenant contextCopyright © 2010-2018. All Rights Reserved.