Class AddressBookAddressForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.customer.order.BillingAddressForm
com.softslate.commerce.customer.order.AddressesForm
com.softslate.commerce.customer.order.AddressBookAddressForm
- All Implemented Interfaces:
Serializable
- Author:
- Jason McWilliams
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate boolean(package private) static org.apache.commons.logging.Logprivate static final longprivate StringFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidIf this forms deliveryUseBilling property is set, copies billing properties to delivery properties.voidcopyBillingToDelivery(boolean fromBilling) describeAddressType(String addressType) getCity()booleangetNotes()getOther()getState()voidsetAddress1(String address1) voidsetAddress2(String address2) voidvoidsetCountry(String country) voidsetCustomerAddressID(String customerAddressID) voidvoidvoidvoidvoidvoidvoidvoidsetFirstName(String firstName) voidsetIsBilling(boolean isBilling) voidsetLastName(String lastName) voidvoidsetOrganization(String organization) voidvoidvoidvoidsetPostalCode(String postalCode) voidvoidsetUseForBilling(String useForBilling) org.apache.struts.action.ActionErrorsvalidate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Methods inherited from class com.softslate.commerce.customer.order.AddressesForm
getDeliveryAddress1, getDeliveryAddress2, getDeliveryCity, getDeliveryCountry, getDeliveryEmail1, getDeliveryEmail2, getDeliveryExtra1, getDeliveryExtra2, getDeliveryExtra3, getDeliveryExtra4, getDeliveryExtra5, getDeliveryFirstName, getDeliveryLastName, getDeliveryNotes, getDeliveryOrganization, getDeliveryOther, getDeliveryPhone1, getDeliveryPhone2, getDeliveryPostalCode, getDeliveryState, getDeliveryUseBilling, isDeliveryFieldValid, prepareStateAndOtherFields, prepareStateAndOtherFields, setDeliveryAddress1, setDeliveryAddress2, setDeliveryCity, setDeliveryCountry, setDeliveryEmail1, setDeliveryEmail2, setDeliveryExtra1, setDeliveryExtra2, setDeliveryExtra3, setDeliveryExtra4, setDeliveryExtra5, setDeliveryFirstName, setDeliveryLastName, setDeliveryNotes, setDeliveryOrganization, setDeliveryOther, setDeliveryPhone1, setDeliveryPhone2, setDeliveryPostalCode, setDeliveryState, setDeliveryUseBilling, validateDeliveryFields, validateDeliveryStateFieldMethods inherited from class com.softslate.commerce.customer.order.BillingAddressForm
doesCountryAllowOtherStates, getBillingAddress1, getBillingAddress2, getBillingCity, getBillingCountry, getBillingEmail1, getBillingEmail2, getBillingExtra1, getBillingExtra2, getBillingExtra3, getBillingExtra4, getBillingExtra5, getBillingFirstName, getBillingLastName, getBillingNotes, getBillingOrganization, getBillingOther, getBillingPhone1, getBillingPhone2, getBillingPostalCode, getBillingState, getCsrfToken, isBillingFieldValid, isOtherState, setBillingAddress1, setBillingAddress2, setBillingCity, setBillingCountry, setBillingEmail1, setBillingEmail2, setBillingExtra1, setBillingExtra2, setBillingExtra3, setBillingExtra4, setBillingExtra5, setBillingFirstName, setBillingLastName, setBillingNotes, setBillingOrganization, setBillingOther, setBillingPhone1, setBillingPhone2, setBillingPostalCode, setBillingState, setCsrfToken, stateAndCountryMatch, validateBillingFields, validateBillingStateFieldMethods inherited from class com.softslate.commerce.customer.core.BaseForm
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, html5OrXhtml, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, setUserMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
customerAddressID
-
useForBilling
-
isBilling
private boolean isBilling
-
-
Constructor Details
-
AddressBookAddressForm
public AddressBookAddressForm()
-
-
Method Details
-
getUseForBilling
-
setUseForBilling
-
getCustomerAddressID
-
setCustomerAddressID
-
getIsBilling
public boolean getIsBilling() -
setIsBilling
public void setIsBilling(boolean isBilling) -
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) - Overrides:
validatein classAddressesForm
-
copyBillingToDelivery
public void copyBillingToDelivery()Description copied from class:AddressesFormIf this forms deliveryUseBilling property is set, copies billing properties to delivery properties.- Overrides:
copyBillingToDeliveryin classAddressesForm
-
copyBillingToDelivery
public void copyBillingToDelivery(boolean fromBilling) -
describeAddressType
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getOrganization
-
setOrganization
-
getAddress1
-
setAddress1
-
getAddress2
-
setAddress2
-
getCity
-
setCity
-
getState
-
setState
-
getOther
-
setOther
-
getPostalCode
-
setPostalCode
-
getCountry
-
setCountry
-
getPhone1
-
setPhone1
-
getPhone2
-
setPhone2
-
getEmail1
-
setEmail1
-
getEmail2
-
setEmail2
-
getExtra1
-
setExtra1
-
getExtra2
-
setExtra2
-
getExtra3
-
setExtra3
-
getExtra4
-
setExtra4
-
getExtra5
-
setExtra5
-
getNotes
-
setNotes
-