Toggle navigation
Home
org.killbill.billing.payment.api.Payment to org.killbill.billing.invoice.api.InvoicePayment
No. of Instances - 3
No. of Commits - 1
No. of Projects - {'killbill'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> External
Mapping:
Add or Remove Method invocation
paymentApi.createCreditWithPaymentControl(account,externalPaymentMethodId,null,json.getAmount(),account.getCurrency(),json.getEffectiveDate(),paymentExternalKey,transactionExternalKey,pluginPropertiesForExternalRefund,createInvoicePaymentControlPluginApiPaymentOptions(true),callContext)
to
invoicePaymentApi.createCreditForInvoice(isAdjusted,adjustments,account,paymentId,paymentMethodId,null,json.getAmount(),account.getCurrency(),json.getEffectiveDate(),paymentExternalKey,transactionExternalKey,pluginProperties,createInvoicePaymentControlPluginApiPaymentOptions(true),callContext)
paymentApi.createRefundWithPaymentControl(account,payment.getId(),json.getAmount(),account.getCurrency(),json.getEffectiveDate(),transactionExternalKey,pluginProperties,createInvoicePaymentControlPluginApiPaymentOptions(false),callContext)
to
invoicePaymentApi.createRefundForInvoice(isAdjusted,adjustments,account,payment.getId(),json.getAmount(),account.getCurrency(),json.getEffectiveDate(),transactionExternalKey,pluginProperties,createInvoicePaymentControlPluginApiPaymentOptions(false),callContext)