Module com.aoindustries.web.struts
Class MakePaymentNewCardForm
java.lang.Object
org.apache.struts.action.ActionForm
com.aoindustries.web.struts.clientarea.accounting.CreditCardForm
com.aoindustries.web.struts.clientarea.accounting.AddCreditCardForm
com.aoindustries.web.struts.clientarea.accounting.MakePaymentNewCardForm
- All Implemented Interfaces:
Serializable
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapTransactionError(TransactionResult.ErrorCode errorCode) Maps CreditCardProcessor-specific errors to appropriate errors.voidreset(ActionMapping mapping, HttpServletRequest request) voidsetCurrency(String currency) voidsetPaymentAmount(String paymentAmount) voidsetStoreCard(String storeCard) validate(ActionMapping mapping, HttpServletRequest request) Methods inherited from class com.aoindustries.web.struts.clientarea.accounting.CreditCardForm
getAccount, getCardCode, getCardNumber, getCity, getCompanyName, getCountryCode, getDescription, getExpirationMonth, getExpirationYear, getFirstName, getLastName, getMaskedCardNumber, getPostalCode, getState, getStreetAddress1, getStreetAddress2, setAccount, setCardCode, setCardNumber, setCity, setCompanyName, setCountryCode, setDescription, setExpirationMonth, setExpirationYear, setFirstName, setLastName, setPostalCode, setState, setStreetAddress1, setStreetAddress2Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
-
Constructor Details
-
MakePaymentNewCardForm
public MakePaymentNewCardForm()
-
-
Method Details
-
reset
- Overrides:
resetin classCreditCardForm
-
getCurrency
-
setCurrency
-
getPaymentAmount
-
setPaymentAmount
-
getStoreCard
-
setStoreCard
-
validate
- Overrides:
validatein classAddCreditCardForm
-
mapTransactionError
Description copied from class:CreditCardFormMaps CreditCardProcessor-specific errors to appropriate errors.- Overrides:
mapTransactionErrorin classCreditCardForm- Returns:
- the
ActionErrorswith the mapping ornullif unable to map
-
