jdollars.core
Interface ICreditCardAuthorizer
- public interface ICreditCardAuthorizer
objects that implement this interface can
perform credit card authorizations
authorize
public IAuthorizationResult authorize(ICreditCard cc,
java.math.BigDecimal bdAmount,
ICurrency currency,
boolean bPerformAddressVerification,
boolean bPerformCardVerification,
IMerchantReferenceIdentifier ref)
throws CardExpiredException,
InsufficientFundsException,
InvalidCreditCardNumberException,
AuthorizationDeclinedException,
AddressVerificationFailedException,
CardReportedLostException,
CardReportedStolenException,
CallException
supportsAuthorizationReversals
public boolean supportsAuthorizationReversals()
reverseAuthorization
public IAuthorizationReversalResult reverseAuthorization(IAuthorizationResult authResult)