java.lang.Object
org.apache.struts.action.ActionForm
com.aoindustries.web.struts.clientarea.accounting.CreditCardForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AddCreditCardForm, EditCreditCardForm

public abstract class CreditCardForm extends ActionForm implements Serializable
Author:
AO Industries, Inc.
See Also:
  • Constructor Details

    • CreditCardForm

      protected CreditCardForm()
  • Method Details

    • reset

      public void reset(ActionMapping mapping, HttpServletRequest request)
      Overrides:
      reset in class ActionForm
    • getCardNumber

      public String getCardNumber()
    • setCardNumber

      public void setCardNumber(String cardNumber)
    • getMaskedCardNumber

      public String getMaskedCardNumber()
    • getExpirationMonth

      public String getExpirationMonth()
    • setExpirationMonth

      public void setExpirationMonth(String expirationMonth)
    • getExpirationYear

      public String getExpirationYear()
    • setExpirationYear

      public void setExpirationYear(String expirationYear)
    • getCardCode

      public String getCardCode()
    • setCardCode

      public void setCardCode(String cardCode)
    • getAccount

      public String getAccount()
    • setAccount

      public void setAccount(String account)
    • getFirstName

      public String getFirstName()
    • setFirstName

      public void setFirstName(String firstName)
    • getLastName

      public String getLastName()
    • setLastName

      public void setLastName(String lastName)
    • getCompanyName

      public String getCompanyName()
    • setCompanyName

      public void setCompanyName(String companyName)
    • getStreetAddress1

      public String getStreetAddress1()
    • setStreetAddress1

      public void setStreetAddress1(String streetAddress1)
    • getStreetAddress2

      public String getStreetAddress2()
    • setStreetAddress2

      public void setStreetAddress2(String streetAddress2)
    • getCity

      public String getCity()
    • setCity

      public void setCity(String city)
    • getState

      public String getState()
    • setState

      public void setState(String state)
    • getPostalCode

      public String getPostalCode()
    • setPostalCode

      public void setPostalCode(String postalCode)
    • getCountryCode

      public String getCountryCode()
    • setCountryCode

      public void setCountryCode(String countryCode)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • validate

      public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
      Overrides:
      validate in class ActionForm
    • mapTransactionError

      public ActionErrors mapTransactionError(TransactionResult.ErrorCode errorCode)
      Maps CreditCardProcessor-specific errors to appropriate errors.
      Returns:
      the ActionErrors with the mapping or null if unable to map