| Package | Description |
|---|---|
| org.killbill.billing.entitlement.api | |
| org.killbill.billing.payment.api | |
| org.killbill.billing.payment.plugin.api |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionApi.addBlockingState(BlockingState blockingState,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Add a
BlockingState
The date is interpreted by the system to be in the timezone specified at the Account |
java.util.UUID |
EntitlementApi.addEntitlement(java.util.UUID bundleId,
PlanPhaseSpecifier spec,
java.util.List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate entitlementEffectiveDate,
org.joda.time.LocalDate billingEffectiveDate,
boolean isMigrated,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Adds an ADD_ON|STANDALONE entitlement to previously created entitlement.
|
Entitlement |
Entitlement.cancelEntitlementWithDate(org.joda.time.LocalDate effectiveDate,
boolean overrideBillingEffectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Cancels the
Entitlement at the specified date. |
Entitlement |
Entitlement.cancelEntitlementWithDateOverrideBillingPolicy(org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Cancels the
Entitlement at the specified date
After this operation, the existing object becomes stale. |
Entitlement |
Entitlement.cancelEntitlementWithPolicy(Entitlement.EntitlementActionPolicy policy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Cancel the
Entitlement with a policy. |
Entitlement |
Entitlement.cancelEntitlementWithPolicyOverrideBillingPolicy(Entitlement.EntitlementActionPolicy policy,
BillingActionPolicy billingPolicy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Cancels the
Entitlement at the specified date and overrides the default billing policy. |
Entitlement |
Entitlement.changePlan(PlanPhaseSpecifier spec,
java.util.List<PlanPhasePriceOverride> overrides,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Change
Entitlement plan using default policy. |
Entitlement |
Entitlement.changePlanOverrideBillingPolicy(PlanPhaseSpecifier spec,
java.util.List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Change
Entitlement plan at the specified date and overrides the billing policy. |
Entitlement |
Entitlement.changePlanWithDate(PlanPhaseSpecifier spec,
java.util.List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Change
Entitlement plan at the specified date. |
java.util.UUID |
EntitlementApi.createBaseEntitlement(java.util.UUID accountId,
PlanPhaseSpecifier spec,
java.lang.String externalKey,
java.util.List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate entitlementEffectiveDate,
org.joda.time.LocalDate billingEffectiveDate,
boolean isMigrated,
boolean renameCancelledBundleIfExist,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Create a new entitlement for that account.
|
java.util.List<java.util.UUID> |
EntitlementApi.createBaseEntitlementsWithAddOns(java.util.UUID accountId,
java.lang.Iterable<BaseEntitlementWithAddOnsSpecifier> baseEntitlementWithAddOnsSpecifier,
boolean renameCancelledBundleIfExist,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Create multiple new entitlements with addOn entitlements for that account.
|
void |
EntitlementApi.pause(java.util.UUID bundleId,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Will pause all entitlements associated with the base entitlement.
|
void |
EntitlementApi.resume(java.util.UUID bundleId,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Will resume all entitlements associated with the base entitlement.
|
java.util.UUID |
EntitlementApi.transferEntitlements(java.util.UUID sourceAccountId,
java.util.UUID destAccountId,
java.lang.String externalKey,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Transfer all the
Entitlement For the source account and matching the external key to the destination account. |
java.util.UUID |
EntitlementApi.transferEntitlementsOverrideBillingPolicy(java.util.UUID sourceAccountId,
java.util.UUID destAccountId,
java.lang.String externalKey,
org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Transfer all the
Entitlement for the source account and matching the external key to the destination account. |
void |
Entitlement.uncancelEntitlement(java.lang.Iterable<PluginProperty> properties,
CallContext context)
Removes a pending future cancellation on an entitlement.
|
void |
Entitlement.undoChangePlan(java.lang.Iterable<PluginProperty> properties,
CallContext context) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PluginProperty> |
PaymentAttempt.getPluginProperties() |
java.util.List<PluginProperty> |
PaymentMethodPlugin.getProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.util.UUID |
PaymentApi.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 |
PaymentApi.addPaymentMethodWithPaymentControl(Account account,
java.lang.String paymentMethodExternalKey,
java.lang.String pluginName,
boolean setDefault,
PaymentMethodPlugin paymentMethodInfo,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context) |
HostedPaymentPageFormDescriptor |
PaymentGatewayApi.buildFormDescriptor(Account account,
java.util.UUID paymentMethodId,
java.lang.Iterable<PluginProperty> customFields,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Build metadata for the client to create a redirect form
|
HostedPaymentPageFormDescriptor |
PaymentGatewayApi.buildFormDescriptor(Account account,
java.util.UUID paymentMethodId,
java.lang.Iterable<PluginProperty> customFields,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Build metadata for the client to create a redirect form
|
HostedPaymentPageFormDescriptor |
PaymentGatewayApi.buildFormDescriptorWithPaymentControl(Account account,
java.util.UUID paymentMethodId,
java.lang.Iterable<PluginProperty> customFields,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Build metadata for the client to create a redirect form
|
HostedPaymentPageFormDescriptor |
PaymentGatewayApi.buildFormDescriptorWithPaymentControl(Account account,
java.util.UUID paymentMethodId,
java.lang.Iterable<PluginProperty> customFields,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Build metadata for the client to create a redirect form
|
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.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
|
void |
PaymentApi.deletePaymentMethod(Account account,
java.util.UUID paymentMethodId,
boolean deleteDefaultPaymentMethodWithAutoPayOff,
boolean forceDefaultPaymentMethodDeletion,
java.lang.Iterable<PluginProperty> properties,
CallContext context) |
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.
|
java.util.List<PaymentMethod> |
PaymentApi.getAccountPaymentMethods(java.util.UUID accountId,
boolean includedInactive,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
java.util.List<Payment> |
PaymentApi.getAccountPayments(java.util.UUID accountId,
boolean withPluginInfo,
boolean withAttempts,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
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) |
PaymentMethod |
PaymentApi.getPaymentMethodByExternalKey(java.lang.String paymentMethodExternalKey,
boolean includedInactive,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
PaymentMethod |
PaymentApi.getPaymentMethodById(java.util.UUID paymentMethodId,
boolean includedInactive,
boolean withPluginInfo,
java.lang.Iterable<PluginProperty> properties,
TenantContext context) |
Pagination<PaymentMethod> |
PaymentApi.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> |
PaymentApi.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> |
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
|
GatewayNotification |
PaymentGatewayApi.processNotification(java.lang.String notification,
java.lang.String pluginName,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Process a notification from the gateway
This potentially does more than just deserialize the payload.
|
GatewayNotification |
PaymentGatewayApi.processNotificationWithPaymentControl(java.lang.String notification,
java.lang.String pluginName,
java.lang.Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Process a notification from the gateway
This potentially does more than just deserialize the payload.
|
java.util.List<PaymentMethod> |
PaymentApi.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> |
PaymentApi.refreshPaymentMethods(Account account,
java.lang.String pluginName,
java.lang.Iterable<PluginProperty> properties,
CallContext context) |
Pagination<PaymentMethod> |
PaymentApi.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> |
PaymentApi.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> |
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.
|
void |
PaymentApi.setDefaultPaymentMethod(Account account,
java.util.UUID paymentMethodId,
java.lang.Iterable<PluginProperty> properties,
CallContext context) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PluginProperty> |
HostedPaymentPageFormDescriptor.getFormFields() |
java.util.List<PluginProperty> |
HostedPaymentPageFormDescriptor.getProperties() |
java.util.List<PluginProperty> |
PaymentTransactionInfoPlugin.getProperties() |
java.util.List<PluginProperty> |
GatewayNotification.getProperties() |
Copyright © 2010-2018. All Rights Reserved.