| Package | Description |
|---|---|
| org.killbill.billing.payment.api |
| Modifier and Type | Method and Description |
|---|---|
Payment |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.createChargebackReversal(Account account,
java.util.UUID paymentId,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
CallContext context)
Reverse a chargeback
|
Payment |
PaymentApi.createChargebackReversalWithPaymentControl(Account account,
java.util.UUID paymentId,
org.joda.time.DateTime effectiveDate,
java.lang.String paymentTransactionExternalKey,
PaymentOptions paymentOptions,
CallContext context)
Reverse a chargeback
|
Payment |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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 |
PaymentApi.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
|
Payment |
PaymentApi.getPayment(java.util.UUID paymentId,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Payment |
PaymentApi.getPaymentByExternalKey(java.lang.String paymentExternalKey,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Payment |
PaymentApi.getPaymentByTransactionId(java.util.UUID transactionId,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Payment |
PaymentApi.notifyPendingTransactionOfStateChanged(Account account,
java.util.UUID paymentTransactionId,
boolean isSuccess,
CallContext context)
Transition a currently PENDING transaction into either a SUCCESS or a FAILURE
|
Payment |
PaymentApi.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
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Payment> |
PaymentApi.getAccountPayments(java.util.UUID accountId,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Pagination<Payment> |
PaymentApi.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> |
PaymentApi.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
|
Pagination<Payment> |
PaymentApi.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> |
PaymentApi.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AdminPaymentApi.fixPaymentTransactionState(Payment payment,
PaymentTransaction paymentTransaction,
TransactionStatus transactionStatus,
java.lang.String lastSuccessPaymentState,
java.lang.String currentPaymentStateName,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Modify the state for a given PaymentTransaction and its associated Payment.
|
Copyright © 2010-2018. All Rights Reserved.