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
-
Method Summary
Modifier and TypeMethodDescriptionmapTransactionError
(TransactionResult.ErrorCode errorCode) Maps CreditCardProcessor-specific errors to appropriate errors.void
reset
(ActionMapping mapping, HttpServletRequest request) void
setCurrency
(String currency) void
setPaymentAmount
(String paymentAmount) void
setStoreCard
(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, setStreetAddress2
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
-
Constructor Details
-
MakePaymentNewCardForm
public MakePaymentNewCardForm()
-
-
Method Details
-
reset
- Overrides:
reset
in classCreditCardForm
-
getCurrency
-
setCurrency
-
getPaymentAmount
-
setPaymentAmount
-
getStoreCard
-
setStoreCard
-
validate
- Overrides:
validate
in classAddCreditCardForm
-
mapTransactionError
Description copied from class:CreditCardForm
Maps CreditCardProcessor-specific errors to appropriate errors.- Overrides:
mapTransactionError
in classCreditCardForm
- Returns:
- the
ActionErrors
with the mapping ornull
if unable to map
-