Class JpaPaymentAccount
- java.lang.Object
-
- com.broadleafcommerce.customer.provider.jpa.domain.JpaPaymentAccount
-
- 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 JpaPaymentAccount 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, Serializable, com.broadleafcommerce.data.tracking.core.policy.Owned
Persistent counterpart to aPaymentAccount
for use with a Jpa datastore.- Author:
- Marie Standeven (marieStandeven)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
lastTransactionResultCode
-
Constructor Summary
Constructors Constructor Description JpaPaymentAccount()
-
Method Summary
-
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
-
-
-
-
Field Detail
-
lastTransactionResultCode
protected String lastTransactionResultCode
-
-
Method Detail
-
fromMe
public org.modelmapper.ModelMapper fromMe()
- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()
- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getOwnerIdentifier
public String getOwnerIdentifier()
- Specified by:
getOwnerIdentifier
in interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
getContextId
public String getContextId()
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getCustomerId
public String getCustomerId()
-
getDisplayName
public String getDisplayName()
- See Also:
PaymentAccount.getDisplayName()
-
getNameOnAccount
public String getNameOnAccount()
- See Also:
PaymentAccount.getNameOnAccount()
-
getAccountType
public String getAccountType()
- See Also:
PaymentAccount.getAccountType()
-
getMaskedAccountNumber
public String getMaskedAccountNumber()
- See Also:
PaymentAccount.getMaskedAccountNumber()
-
getCardType
public String getCardType()
- See Also:
PaymentAccount.getCardType()
-
getGatewayType
public String getGatewayType()
- See Also:
PaymentAccount.getGatewayType()
-
getDisplayAttributes
public Map<String,String> getDisplayAttributes()
- See Also:
PaymentAccount.getDisplayAttributes()
-
getExpirationMonth
public Integer getExpirationMonth()
- See Also:
PaymentAccount.getExpirationMonth()
-
getExpirationYear
public Integer getExpirationYear()
- See Also:
PaymentAccount.getExpirationYear()
-
getFullName
public String getFullName()
- See Also:
PaymentAccount.getFullName()
-
getAddressLine1
public String getAddressLine1()
- See Also:
PaymentAccount.getAddressLine1()
-
getAddressLine2
public String getAddressLine2()
- See Also:
PaymentAccount.getAddressLine2()
-
getAddressLine3
public String getAddressLine3()
- See Also:
PaymentAccount.getAddressLine3()
-
getCity
public String getCity()
- See Also:
PaymentAccount.getCity()
-
getCounty
public String getCounty()
- See Also:
PaymentAccount.getCounty()
-
getStateProvinceRegion
public String getStateProvinceRegion()
- See Also:
PaymentAccount.getStateProvinceRegion()
-
getCountry
public String getCountry()
- See Also:
PaymentAccount.getCountry()
-
getPostalCode
public String getPostalCode()
- See Also:
PaymentAccount.getPostalCode()
-
getPhonePrimary
public Phone getPhonePrimary()
- See Also:
PaymentAccount.getPhonePrimary()
-
getPhoneSecondary
public Phone getPhoneSecondary()
- See Also:
PaymentAccount.getPhoneSecondary()
-
getLastTransactionDateTime
public Instant getLastTransactionDateTime()
-
getLastTransactionResultCode
public String getLastTransactionResultCode()
-
isDeactivated
public boolean isDeactivated()
- See Also:
PaymentAccount.isDeactivated()
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the
Tracking
information for this relationship - See Also:
Tracking
-
setContextId
public void setContextId(String contextId)
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setCustomerId
public void setCustomerId(String customerId)
-
setDisplayName
public void setDisplayName(String displayName)
- See Also:
PaymentAccount.getDisplayName()
-
setNameOnAccount
public void setNameOnAccount(String nameOnAccount)
- See Also:
PaymentAccount.getNameOnAccount()
-
setAccountType
public void setAccountType(String accountType)
- See Also:
PaymentAccount.getAccountType()
-
setMaskedAccountNumber
public void setMaskedAccountNumber(String maskedAccountNumber)
- See Also:
PaymentAccount.getMaskedAccountNumber()
-
setCardType
public void setCardType(String cardType)
- See Also:
PaymentAccount.getCardType()
-
setGatewayType
public void setGatewayType(String gatewayType)
- See Also:
PaymentAccount.getGatewayType()
-
setPaymentGatewayProperties
public void setPaymentGatewayProperties(Map<String,Object> paymentGatewayProperties)
-
setDisplayAttributes
public void setDisplayAttributes(Map<String,String> displayAttributes)
- See Also:
PaymentAccount.getDisplayAttributes()
-
setExpirationMonth
public void setExpirationMonth(Integer expirationMonth)
- See Also:
PaymentAccount.getExpirationMonth()
-
setExpirationYear
public void setExpirationYear(Integer expirationYear)
- See Also:
PaymentAccount.getExpirationYear()
-
setFullName
public void setFullName(String fullName)
- See Also:
PaymentAccount.getFullName()
-
setAddressLine1
public void setAddressLine1(String addressLine1)
- See Also:
PaymentAccount.getAddressLine1()
-
setAddressLine2
public void setAddressLine2(String addressLine2)
- See Also:
PaymentAccount.getAddressLine2()
-
setAddressLine3
public void setAddressLine3(String addressLine3)
- See Also:
PaymentAccount.getAddressLine3()
-
setCity
public void setCity(String city)
- See Also:
PaymentAccount.getCity()
-
setCounty
public void setCounty(String county)
- See Also:
PaymentAccount.getCounty()
-
setStateProvinceRegion
public void setStateProvinceRegion(String stateProvinceRegion)
- See Also:
PaymentAccount.getStateProvinceRegion()
-
setCountry
public void setCountry(String country)
- See Also:
PaymentAccount.getCountry()
-
setPostalCode
public void setPostalCode(String postalCode)
- See Also:
PaymentAccount.getPostalCode()
-
setPhonePrimary
public void setPhonePrimary(Phone phonePrimary)
- See Also:
PaymentAccount.getPhonePrimary()
-
setPhoneSecondary
public void setPhoneSecondary(Phone phoneSecondary)
- See Also:
PaymentAccount.getPhoneSecondary()
-
setLastTransactionDateTime
public void setLastTransactionDateTime(Instant lastTransactionDateTime)
-
setLastTransactionResultCode
public void setLastTransactionResultCode(String lastTransactionResultCode)
-
setDeactivated
public void setDeactivated(boolean deactivated)
- See Also:
PaymentAccount.isDeactivated()
-
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>
- Parameters:
tracking
- theTracking
information for this relationship- See Also:
Tracking
-
canEqual
protected boolean canEqual(Object other)
-
-