public interface StoreCreditProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
StoreCreditStatus |
authorize(StoreCreditInfo pStoreCreditInfo)
Authorize the store credit
|
StoreCreditStatus |
credit(StoreCreditInfo pStoreCreditInfo)
Credit the amount on the store credit without a previous debit.
|
StoreCreditStatus |
credit(StoreCreditInfo pStoreCreditInfo,
PaymentStatus pStatus)
Credit the amount on the store credit after debiting.
|
StoreCreditStatus |
debit(StoreCreditInfo pStoreCreditInfo,
PaymentStatus pStatus)
Debit the amount on the store credit after authorization
|
StoreCreditStatus |
expireAuthorization(StoreCreditInfo pStoreCreditInfo)
Expire a store credit authorization
|
static final java.lang.String CLASS_VERSION
StoreCreditStatus authorize(StoreCreditInfo pStoreCreditInfo)
pStoreCreditInfo
- the StoreCreditInfo reference which contains all the authorization dataStoreCreditStatus expireAuthorization(StoreCreditInfo pStoreCreditInfo)
pStoreCreditInfo
- the StoreCreditInfo reference which contains all the authorization expiration dataStoreCreditStatus debit(StoreCreditInfo pStoreCreditInfo, PaymentStatus pStatus)
pStoreCreditInfo
- the StoreCreditInfo reference which contains all the debit datapStatus
- the PaymentStatus object which contains information about the transaction. This
should be the object which was returned from authorize().StoreCreditStatus credit(StoreCreditInfo pStoreCreditInfo, PaymentStatus pStatus)
pStoreCreditInfo
- the StoreCreditInfo reference which contains all the credit datapStatus
- the PaymentStatus object which contains information about the transaction. This
should be the object which was returned from debit().StoreCreditStatus credit(StoreCreditInfo pStoreCreditInfo)
pStoreCreditInfo
- the StoreCreditInfo reference which contains all the credit data