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
|
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.
|
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 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 contextPaymentApiExceptionCopyright © 2010-2015. All Rights Reserved.