public interface GiftCertificateProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
GiftCertificateStatus |
authorize(GiftCertificateInfo pGiftCertificateInfo)
Authorize the gift certificate
|
GiftCertificateStatus |
credit(GiftCertificateInfo pGiftCertificateInfo)
Credit the amount on the gift certificate without a previous debit.
|
GiftCertificateStatus |
credit(GiftCertificateInfo pGiftCertificateInfo,
PaymentStatus pStatus)
Credit the amount on the gift certificate after debiting.
|
GiftCertificateStatus |
debit(GiftCertificateInfo pGiftCertificateInfo,
PaymentStatus pStatus)
Debit the amount on the gift certificate after authorization
|
GiftCertificateStatus |
expireAuthorization(GiftCertificateInfo pGiftCertificateInfo)
Expire a gift certificate authorization
|
static final java.lang.String CLASS_VERSION
GiftCertificateStatus authorize(GiftCertificateInfo pGiftCertificateInfo)
pGiftCertificateInfo
- the GiftCertificateInfo reference which contains all the authorization dataGiftCertificateStatus expireAuthorization(GiftCertificateInfo pGiftCertificateInfo)
pGiftCertificateInfo
- the GiftCertificateInfo reference which contains all the authorization expiration dataGiftCertificateStatus debit(GiftCertificateInfo pGiftCertificateInfo, PaymentStatus pStatus)
pGiftCertificateInfo
- the GiftCertificateInfo 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().GiftCertificateStatus credit(GiftCertificateInfo pGiftCertificateInfo, PaymentStatus pStatus)
pGiftCertificateInfo
- the GiftCertificateInfo 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().GiftCertificateStatus credit(GiftCertificateInfo pGiftCertificateInfo)
pGiftCertificateInfo
- the GiftCertificateInfo reference which contains all the credit data