| Package | Description |
|---|---|
| org.killbill.billing.payment.api |
| Modifier and Type | Method and Description |
|---|---|
Payment |
PaymentApi.createAuthorization(Account account,
UUID paymentMethodId,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentExternalKey,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
CallContext context)
Authorize a payment.
|
Payment |
PaymentApi.createAuthorizationWithPaymentControl(Account account,
UUID paymentMethodId,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentExternalKey,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Authorize a payment and allow to go through registered routing plugins
|
Payment |
PaymentApi.createCapture(Account account,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
CallContext context)
Capture a previously authorized payment.
|
Payment |
PaymentApi.createCaptureWithPaymentControl(Account account,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Capture a previously authorized payment and allow to go through registered routing plugins
|
Payment |
PaymentApi.createChargeback(Account account,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentTransactionExternalKey,
CallContext context)
Record a chargeback
|
Payment |
PaymentApi.createChargebackReversal(Account account,
UUID paymentId,
String paymentTransactionExternalKey,
CallContext context)
Reverse a chargeback
|
Payment |
PaymentApi.createChargebackReversalWithPaymentControl(Account account,
UUID paymentId,
String paymentTransactionExternalKey,
PaymentOptions paymentOptions,
CallContext context)
Reverse a chargeback
|
Payment |
PaymentApi.createChargebackWithPaymentControl(Account account,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentTransactionExternalKey,
PaymentOptions paymentOptions,
CallContext context)
Record a chargeback
|
Payment |
PaymentApi.createCredit(Account account,
UUID paymentMethodId,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentExternalKey,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
CallContext context)
Credit a payment method.
|
Payment |
PaymentApi.createCreditWithPaymentControl(Account account,
UUID paymentMethodId,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentExternalKey,
String paymentTransactionExternalKey,
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 |
PaymentApi.createPurchase(Account account,
UUID paymentMethodId,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentExternalKey,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
CallContext context)
Combine an authorize and capture payment.
|
Payment |
PaymentApi.createPurchaseWithPaymentControl(Account account,
UUID paymentMethodId,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentExternalKey,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Combine an authorize and capture payment and allow to go through registered routing plugins
|
Payment |
PaymentApi.createRefund(Account account,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
CallContext context)
Refund a previously captured payment.
|
Payment |
PaymentApi.createRefundWithPaymentControl(Account account,
UUID paymentId,
BigDecimal amount,
Currency currency,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Refund a previously captured payment and allow to go through registered routing plugins
|
Payment |
PaymentApi.createVoid(Account account,
UUID paymentId,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
CallContext context)
Void a previously authorized payment.
|
Payment |
PaymentApi.createVoidWithPaymentControl(Account account,
UUID paymentId,
String paymentTransactionExternalKey,
Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Void a previously authorized payment and allow to go through registered routing plugins
|
Payment |
PaymentApi.getPayment(UUID paymentId,
boolean withPluginInfo,
Iterable<PluginProperty> properties,
TenantContext context) |
Payment |
PaymentApi.getPaymentByExternalKey(String paymentExternalKey,
boolean withPluginInfo,
Iterable<PluginProperty> properties,
TenantContext context) |
Payment |
PaymentApi.notifyPendingTransactionOfStateChanged(Account account,
UUID paymentTransactionId,
boolean isSuccess,
CallContext context)
Transition a currently PENDING transaction into either a SUCCESS or a FAILURE
|
Payment |
PaymentApi.notifyPendingTransactionOfStateChangedWithPaymentControl(Account account,
UUID paymentTransactionId,
boolean isSuccess,
PaymentOptions paymentOptions,
CallContext context)
Transition a currently PENDING transaction into either a SUCCESS or a FAILURE
|
| Modifier and Type | Method and Description |
|---|---|
List<Payment> |
PaymentApi.getAccountPayments(UUID accountId,
boolean withPluginInfo,
Iterable<PluginProperty> properties,
TenantContext context) |
Pagination<Payment> |
PaymentApi.getPayments(Long offset,
Long limit,
boolean withPluginInfo,
Iterable<PluginProperty> properties,
TenantContext context)
Find all payments across all plugins
|
Pagination<Payment> |
PaymentApi.getPayments(Long offset,
Long limit,
String pluginName,
boolean withPluginInfo,
Iterable<PluginProperty> properties,
TenantContext context)
Find all payments in a given plugin
|
Pagination<Payment> |
PaymentApi.searchPayments(String searchKey,
Long offset,
Long limit,
boolean withPluginInfo,
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> |
PaymentApi.searchPayments(String searchKey,
Long offset,
Long limit,
String pluginName,
boolean withPluginInfo,
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AdminPaymentApi.fixPaymentTransactionState(Payment payment,
PaymentTransaction paymentTransaction,
TransactionStatus transactionStatus,
String lastSuccessPaymentState,
String currentPaymentStateName,
Iterable<PluginProperty> properties,
CallContext context)
Modify the state for a given PaymentTransaction and its associated Payment.
|
Copyright © 2010-2016. All Rights Reserved.