com.elasticpath.domain.payment
Interface CreditCardPaymentGateway

All Superinterfaces:
EpDomain, PaymentGateway, java.io.Serializable, Transient
All Known Implementing Classes:
AbstractCreditCardPaymentGatewayImpl, AuthorizeNetPaymentGatewayImpl, CyberSourcePaymentGatewayImpl, NullPaymentGatewayImpl, PayflowProPaymentGatewayImpl

public interface CreditCardPaymentGateway
extends PaymentGateway

Represents a credit card payment processing gateway such as Verisign or Cybersource.


Method Summary
 java.util.List getSupportedCardTypes()
          Get the card types supported by this payment gateway.
 void setSupportedCardTypes(java.util.List cardTypes)
          Set the card types supported by this payment gateway.
 void setValidateCvv2(boolean validate)
          Set whether the payment gateway should validate the Cvv2.
 boolean validateCvv2()
          True if this gateway will validate the Cvv2 (Security Code).
 
Methods inherited from interface com.elasticpath.domain.payment.PaymentGateway
capture, getName, getPaymentType, getProperties, getSupportedCurrencies, preAuthorize, refund, reversePreAuthorization, sale, setName, setProperties, setSupportedCurrencies, voidCaptureOrCredit
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getSupportedCardTypes

java.util.List getSupportedCardTypes()
Get the card types supported by this payment gateway.

Returns:
a List of card type strings (e.g. VISA)

setSupportedCardTypes

void setSupportedCardTypes(java.util.List cardTypes)
Set the card types supported by this payment gateway.

Parameters:
cardTypes - a List of card type strings (e.g. VISA)

setValidateCvv2

void setValidateCvv2(boolean validate)
Set whether the payment gateway should validate the Cvv2.

Parameters:
validate - true if the payment gateway should validate the Cvv2.

validateCvv2

boolean validateCvv2()
True if this gateway will validate the Cvv2 (Security Code).

Returns:
True if this gateway will validate the Cvv2 (Security Code)