Package org.killbill.billing.payment.api
Interface AdminPaymentApi
-
- All Superinterfaces:
KillbillApi
public interface AdminPaymentApi extends KillbillApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfixPaymentTransactionState(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.
-
-
-
Method Detail
-
fixPaymentTransactionState
void fixPaymentTransactionState(Payment payment, PaymentTransaction paymentTransaction, TransactionStatus transactionStatus, String lastSuccessPaymentState, String currentPaymentStateName, Iterable<PluginProperty> properties, CallContext context) throws PaymentApiException
Modify the state for a given PaymentTransaction and its associated Payment. Should ONLY be used for admin purpose when data is corrupted and will require special privileges.- Parameters:
payment- the payment whose state will be updatedpaymentTransaction- the paymentTransaction whose state will be updatedtransactionStatus- the new transactionStatuslastSuccessPaymentState- the new lastSuccessPaymentStatecurrentPaymentStateName- the new currentPaymentStateNameproperties- plugin propertiescontext- a valid context- Throws:
PaymentApiException
-
-