public interface InStorePaymentProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
PaymentStatus |
authorize(InStorePaymentInfo pInStorePaymentInfo)
Authorize the use of in store payment.
|
PaymentStatus |
credit(InStorePaymentInfo pInStorePaymentInfo)
Process refunds/credits on payments made by in store payment as a new order
|
PaymentStatus |
credit(InStorePaymentInfo pInStorePaymentInfo,
PaymentStatus pStatus)
Process refunds/credits on payments made by in store payment.
|
PaymentStatus |
debit(InStorePaymentInfo pInStorePaymentInfo,
PaymentStatus pStatus)
Process payment by in store payment.
|
static final java.lang.String CLASS_VERSION
PaymentStatus authorize(InStorePaymentInfo pInStorePaymentInfo)
pInStorePaymentInfo
- the InStorePaymentInfo that contains authorization dataPaymentStatus debit(InStorePaymentInfo pInStorePaymentInfo, PaymentStatus pStatus)
pInStorePaymentInfo
- the InStorePaymentInfo 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(InStorePaymentInfo pInStorePaymentInfo, PaymentStatus pStatus)
pInStorePaymentInfo
- the InStorePaymentInfo 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(InStorePaymentInfo pInStorePaymentInfo)
pInStorePaymentInfo
- the InStorePaymentInfo that contains credit data