|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StoreCreditProcessor
This class defines an interface for store credit processing. It has three methods for submitting transactions to a store credit processing system. They are authorize, debit, and credit. Any class which implements this class must provide implementations for each of these methods.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
| Method Summary | |
|---|---|
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 |
| Field Detail |
|---|
static final java.lang.String CLASS_VERSION
| Method Detail |
|---|
StoreCreditStatus authorize(StoreCreditInfo pStoreCreditInfo)
pStoreCreditInfo - the StoreCreditInfo reference which contains all the authorization data
StoreCreditStatus expireAuthorization(StoreCreditInfo pStoreCreditInfo)
pStoreCreditInfo - the StoreCreditInfo reference which contains all the authorization expiration data
StoreCreditStatus 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||