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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
getCity()
getName()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking
int
hashCode()
boolean
isActive()
boolean
boolean
void
setActive
(boolean isActive) void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) void
setAddressLine1
(String addressLine1) void
setAddressLine2
(String addressLine2) void
setAddressLine3
(String addressLine3) void
void
setCompanyName
(String companyName) void
setContextId
(String contextId) void
setCountry
(String country) void
void
setCustomerId
(String customerId) void
setDefaultBillingAddress
(boolean defaultBillingAddress) void
setDefaultShippingAddress
(boolean defaultShippingAddress) void
setEmailAddress
(String emailAddress) void
setFirstName
(String firstName) void
setFullName
(String fullName) void
setLastName
(String lastName) void
void
setPhoneFax
(Phone phoneFax) void
setPhonePrimary
(Phone phonePrimary) void
setPhoneSecondary
(Phone phoneSecondary) void
setPostalCode
(String postalCode) void
setStateProvinceRegion
(String stateProvinceRegion) void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking) org.modelmapper.ModelMapper
toMe()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
Methods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getDisplay, getNotificationStates, getNotificationStates, setNotificationStates
Methods 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:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getOwnerIdentifier
- Specified by:
getOwnerIdentifier
in interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
getContextId
- Specified by:
getContextId
in 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:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
- Specified by:
setContextId
in 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:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-