jdollars.core
Interface ICreditCardAuthorizer


public interface ICreditCardAuthorizer

objects that implement this interface can perform credit card authorizations


Method Summary
 IAuthorizationResult authorize(ICreditCard cc, java.math.BigDecimal bdAmount, ICurrency currency, boolean bPerformAddressVerification, boolean bPerformCardVerification, IMerchantReferenceIdentifier ref)
           
 IAuthorizationReversalResult reverseAuthorization(IAuthorizationResult authResult)
           
 boolean supportsAuthorizationReversals()
           
 

Method Detail

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)