public interface PaymentGatewayApi extends KillbillApi
| Modifier and Type | Method and Description |
|---|---|
HostedPaymentPageFormDescriptor |
buildFormDescriptor(Account account,
UUID paymentMethodId,
Iterable<PluginProperty> customFields,
Iterable<PluginProperty> properties,
CallContext context)
Build metadata for the client to create a redirect form
|
HostedPaymentPageFormDescriptor |
buildFormDescriptorWithPaymentControl(Account account,
UUID paymentMethodId,
Iterable<PluginProperty> customFields,
Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Build metadata for the client to create a redirect form
|
GatewayNotification |
processNotification(String notification,
String pluginName,
Iterable<PluginProperty> properties,
CallContext context)
Process a notification from the gateway
This potentially does more than just deserialize the payload.
|
GatewayNotification |
processNotificationWithPaymentControl(String notification,
String pluginName,
Iterable<PluginProperty> properties,
PaymentOptions paymentOptions,
CallContext context)
Process a notification from the gateway
This potentially does more than just deserialize the payload.
|
HostedPaymentPageFormDescriptor buildFormDescriptor(Account account, UUID paymentMethodId, Iterable<PluginProperty> customFields, Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
account - accountcustomFields - form fieldsproperties - custom properties for the gatewaycontext - call contextPaymentApiExceptionHostedPaymentPageFormDescriptor buildFormDescriptorWithPaymentControl(Account account, UUID paymentMethodId, Iterable<PluginProperty> customFields, Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
account - accountcustomFields - form fieldsproperties - custom properties for the gatewaypaymentOptions - options to control payment behaviorcontext - call contextPaymentApiExceptionGatewayNotification processNotification(String notification, String pluginName, Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
notification - serialized notification objectpluginName - the payment plugin nameproperties - custom properties for the gatewaycontext - call contextPaymentApiExceptionGatewayNotification processNotificationWithPaymentControl(String notification, String pluginName, Iterable<PluginProperty> properties, PaymentOptions paymentOptions, CallContext context) throws PaymentApiException
notification - serialized notification objectpluginName - the payment plugin nameproperties - custom properties for the gatewaypaymentOptions - options to control payment behaviorcontext - call contextPaymentApiExceptionCopyright © 2010-2016. All Rights Reserved.