Class JpaCustomerAddress
java.lang.Object
com.broadleafcommerce.customer.provider.jpa.domain.JpaCustomerAddress
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware,com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable,com.broadleafcommerce.data.tracking.core.policy.Owned,com.broadleafcommerce.data.tracking.core.Trackable,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>,Serializable
@Entity
@TrackableExtension({TENANT,CUSTOMER_CONTEXT})
public class JpaCustomerAddress
extends Object
implements com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.policy.Owned
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanorg.modelmapper.ModelMapperfromMe()Class<?>getCity()getName()com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTrackinginthashCode()booleanisActive()booleanbooleanvoidsetActive(boolean isActive) voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) voidsetAddressLine1(String addressLine1) voidsetAddressLine2(String addressLine2) voidsetAddressLine3(String addressLine3) voidvoidsetCompanyName(String companyName) voidsetContextId(String contextId) voidsetCountry(String country) voidvoidsetCustomerId(String customerId) voidsetDefaultBillingAddress(boolean defaultBillingAddress) voidsetDefaultShippingAddress(boolean defaultShippingAddress) voidsetEmailAddress(String emailAddress) voidsetFirstName(String firstName) voidsetFullName(String fullName) voidsetLastName(String lastName) voidvoidsetPhoneFax(Phone phoneFax) voidsetPhonePrimary(Phone phonePrimary) voidsetPhoneSecondary(Phone phoneSecondary) voidsetPostalCode(String postalCode) voidsetStateProvinceRegion(String stateProvinceRegion) voidsetTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking) org.modelmapper.ModelMappertoMe()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMeMethods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationStateMethods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getDisplay, getNotificationStates, getNotificationStates, setNotificationStatesMethods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable
setTracking
-
Constructor Details
-
JpaCustomerAddress
public JpaCustomerAddress()
-
-
Method Details
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getOwnerIdentifier
- Specified by:
getOwnerIdentifierin interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
getContextId
- Specified by:
getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getCustomerId
-
getName
- See Also:
-
isDefaultShippingAddress
public boolean isDefaultShippingAddress() -
isDefaultBillingAddress
public boolean isDefaultBillingAddress() -
getFirstName
- See Also:
-
getLastName
- See Also:
-
getFullName
- See Also:
-
getEmailAddress
- See Also:
-
getCompanyName
- See Also:
-
getAddressLine1
- See Also:
-
getAddressLine2
- See Also:
-
getAddressLine3
- See Also:
-
getCity
- See Also:
-
getCounty
- See Also:
-
getStateProvinceRegion
- See Also:
-
getCountry
- See Also:
-
getPostalCode
- See Also:
-
getPhonePrimary
- See Also:
-
getPhoneSecondary
- See Also:
-
getPhoneFax
- See Also:
-
isActive
public boolean isActive()- See Also:
-
getAdditionalAttributes
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setCustomerId
-
setName
- See Also:
-
setDefaultShippingAddress
public void setDefaultShippingAddress(boolean defaultShippingAddress) -
setDefaultBillingAddress
public void setDefaultBillingAddress(boolean defaultBillingAddress) -
setFirstName
- See Also:
-
setLastName
- See Also:
-
setFullName
- See Also:
-
setEmailAddress
- See Also:
-
setCompanyName
- See Also:
-
setAddressLine1
- See Also:
-
setAddressLine2
- See Also:
-
setAddressLine3
- See Also:
-
setCity
- See Also:
-
setCounty
- See Also:
-
setStateProvinceRegion
- See Also:
-
setCountry
- See Also:
-
setPostalCode
- See Also:
-
setPhonePrimary
- See Also:
-
setPhoneSecondary
- See Also:
-
setPhoneFax
- See Also:
-
setActive
public void setActive(boolean isActive) - See Also:
-
setAdditionalAttributes
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking) - Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-