public interface InvoiceRequestProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
PaymentStatus |
authorize(InvoiceRequestInfo pInvoiceInfo)
Authorize the use of a invoice for payment.
|
PaymentStatus |
credit(InvoiceRequestInfo pInvoiceInfo)
Process refunds/credits on payments made by invoice as a new order
|
PaymentStatus |
credit(InvoiceRequestInfo pInvoiceInfo,
PaymentStatus pStatus)
Process refunds/credits on payments made by invoice.
|
PaymentStatus |
debit(InvoiceRequestInfo pInvoiceInfo,
PaymentStatus pStatus)
Process payment by invoice.
|
static final java.lang.String CLASS_VERSION
PaymentStatus authorize(InvoiceRequestInfo pInvoiceInfo)
pInvoiceRequestInfo
- the InvoiceRequestInfo that contains authorization dataPaymentStatus debit(InvoiceRequestInfo pInvoiceInfo, PaymentStatus pStatus)
pInvoiceRequestInfo
- the InvoiceRequestInfo that contains debit datapStatus
- the PaymentStatus object that contains information about the
transaction. This will be the object that was returned by the
last call to authorize().PaymentStatus credit(InvoiceRequestInfo pInvoiceInfo, PaymentStatus pStatus)
pInvoiceRequestInfo
- the InvoiceRequestInfo that contains credit datapStatus
- the PaymentStatus object that contains information about the
transaction. This will be the object that was returned by the
last call to debit().PaymentStatus credit(InvoiceRequestInfo pInvoiceInfo)
pInvoiceRequestInfo
- the InvoiceRequestInfo that contains credit data