Module com.aoindustries.web.struts
Class CreditCardForm
java.lang.Object
org.apache.struts.action.ActionForm
com.aoindustries.web.struts.clientarea.accounting.CreditCardForm
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AddCreditCardForm
,EditCreditCardForm
- 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 TypeMethodDescriptiongetCity()
getState()
mapTransactionError
(TransactionResult.ErrorCode errorCode) Maps CreditCardProcessor-specific errors to appropriate errors.void
reset
(ActionMapping mapping, HttpServletRequest request) void
setAccount
(String account) void
setCardCode
(String cardCode) void
setCardNumber
(String cardNumber) void
void
setCompanyName
(String companyName) void
setCountryCode
(String countryCode) void
setDescription
(String description) void
setExpirationMonth
(String expirationMonth) void
setExpirationYear
(String expirationYear) void
setFirstName
(String firstName) void
setLastName
(String lastName) void
setPostalCode
(String postalCode) void
void
setStreetAddress1
(String streetAddress1) void
setStreetAddress2
(String streetAddress2) validate
(ActionMapping mapping, HttpServletRequest request) Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
-
Constructor Details
-
CreditCardForm
protected CreditCardForm()
-
-
Method Details
-
reset
- Overrides:
reset
in classActionForm
-
getCardNumber
-
setCardNumber
-
getMaskedCardNumber
-
getExpirationMonth
-
setExpirationMonth
-
getExpirationYear
-
setExpirationYear
-
getCardCode
-
setCardCode
-
getAccount
-
setAccount
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getCompanyName
-
setCompanyName
-
getStreetAddress1
-
setStreetAddress1
-
getStreetAddress2
-
setStreetAddress2
-
getCity
-
setCity
-
getState
-
setState
-
getPostalCode
-
setPostalCode
-
getCountryCode
-
setCountryCode
-
getDescription
-
setDescription
-
validate
- Overrides:
validate
in classActionForm
-
mapTransactionError
Maps CreditCardProcessor-specific errors to appropriate errors.- Returns:
- the
ActionErrors
with the mapping ornull
if unable to map
-