com.aoindustries.website.clientarea.accounting
Class MakePaymentNewCardForm

java.lang.Object
  extended by ActionForm
      extended by com.aoindustries.website.clientarea.accounting.CreditCardForm
          extended by com.aoindustries.website.clientarea.accounting.AddCreditCardForm
              extended by com.aoindustries.website.clientarea.accounting.MakePaymentNewCardForm
All Implemented Interfaces:
java.io.Serializable

public class MakePaymentNewCardForm
extends AddCreditCardForm
implements java.io.Serializable

Author:
AO Industries, Inc.

Constructor Summary
MakePaymentNewCardForm()
           
 
Method Summary
 java.lang.String getPaymentAmount()
           
 java.lang.String getStoreCard()
           
 ActionErrors mapTransactionError(com.aoindustries.creditcards.TransactionResult.ErrorCode errorCode)
          Maps CreditCardProcessor-specific errors to appropriate errors.
 void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void setPaymentAmount(java.lang.String paymentAmount)
           
 void setStoreCard(java.lang.String storeCard)
           
 ActionErrors validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class com.aoindustries.website.clientarea.accounting.AddCreditCardForm
getCardNumber, getExpirationMonth, getExpirationYear, setCardNumber, setExpirationMonth, setExpirationYear
 
Methods inherited from class com.aoindustries.website.clientarea.accounting.CreditCardForm
getAccounting, getCity, getCompanyName, getCountryCode, getCustomerTaxId, getDescription, getEmail, getFax, getFirstName, getLastName, getPhone, getPostalCode, getSerialVersionUID, getState, getStreetAddress1, getStreetAddress2, setAccounting, setCity, setCompanyName, setCountryCode, setCustomerTaxId, setDescription, setEmail, setFax, setFirstName, setLastName, setPhone, setPostalCode, setState, setStreetAddress1, setStreetAddress2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MakePaymentNewCardForm

public MakePaymentNewCardForm()
Method Detail

reset

public void reset(ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Overrides:
reset in class AddCreditCardForm

getPaymentAmount

public java.lang.String getPaymentAmount()

setPaymentAmount

public void setPaymentAmount(java.lang.String paymentAmount)

getStoreCard

public java.lang.String getStoreCard()

setStoreCard

public void setStoreCard(java.lang.String storeCard)

validate

public ActionErrors validate(ActionMapping mapping,
                             javax.servlet.http.HttpServletRequest request)
Overrides:
validate in class AddCreditCardForm

mapTransactionError

public ActionErrors mapTransactionError(com.aoindustries.creditcards.TransactionResult.ErrorCode errorCode)
Description copied from class: CreditCardForm
Maps CreditCardProcessor-specific errors to appropriate errors.

Overrides:
mapTransactionError in class AddCreditCardForm
Returns:
the ActionErrors with the mapping or null if unable to map