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}) @Deprecated(since="1.7.2", forRemoval=true) 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.OwnedDeprecated, for removal: This API element is subject to removal in a future version.since 1.7.2, in favor of usingJpaSavedPaymentMethodin PaymentTransactionServices to manage saved payment methods.Persistent counterpart to aPaymentAccountfor use with a Jpa datastore.- Author:
- Marie Standeven (marieStandeven)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringlastTransactionResultCodeDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description JpaPaymentAccount()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(Object other)Deprecated, for removal: This API element is subject to removal in a future version.booleanequals(Object o)Deprecated, for removal: This API element is subject to removal in a future version.org.modelmapper.ModelMapperfromMe()Deprecated, for removal: This API element is subject to removal in a future version.StringgetAccountType()Deprecated, for removal: This API element is subject to removal in a future version.StringgetAddressLine1()Deprecated, for removal: This API element is subject to removal in a future version.StringgetAddressLine2()Deprecated, for removal: This API element is subject to removal in a future version.StringgetAddressLine3()Deprecated, for removal: This API element is subject to removal in a future version.Class<?>getBusinessDomainType()Deprecated, for removal: This API element is subject to removal in a future version.StringgetCardType()Deprecated, for removal: This API element is subject to removal in a future version.StringgetCity()Deprecated, for removal: This API element is subject to removal in a future version.StringgetContextId()Deprecated, for removal: This API element is subject to removal in a future version.StringgetCountry()Deprecated, for removal: This API element is subject to removal in a future version.StringgetCounty()Deprecated, for removal: This API element is subject to removal in a future version.StringgetCustomerId()Deprecated, for removal: This API element is subject to removal in a future version.Map<String,String>getDisplayAttributes()Deprecated, for removal: This API element is subject to removal in a future version.StringgetDisplayName()Deprecated, for removal: This API element is subject to removal in a future version.IntegergetExpirationMonth()Deprecated, for removal: This API element is subject to removal in a future version.IntegergetExpirationYear()Deprecated, for removal: This API element is subject to removal in a future version.StringgetFullName()Deprecated, for removal: This API element is subject to removal in a future version.StringgetGatewayType()Deprecated, for removal: This API element is subject to removal in a future version.InstantgetLastTransactionDateTime()Deprecated, for removal: This API element is subject to removal in a future version.StringgetLastTransactionResultCode()Deprecated, for removal: This API element is subject to removal in a future version.StringgetMaskedAccountNumber()Deprecated, for removal: This API element is subject to removal in a future version.StringgetNameOnAccount()Deprecated, for removal: This API element is subject to removal in a future version.StringgetOriginatingPaymentId()Deprecated, for removal: This API element is subject to removal in a future version.StringgetOwnerIdentifier()Deprecated, for removal: This API element is subject to removal in a future version.Map<String,Object>getPaymentGatewayProperties()Deprecated, for removal: This API element is subject to removal in a future version.PhonegetPhonePrimary()Deprecated, for removal: This API element is subject to removal in a future version.PhonegetPhoneSecondary()Deprecated, for removal: This API element is subject to removal in a future version.StringgetPostalCode()Deprecated, for removal: This API element is subject to removal in a future version.StringgetStateProvinceRegion()Deprecated, for removal: This API element is subject to removal in a future version.com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTrackinggetTracking()Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.booleanisDeactivated()Deprecated, for removal: This API element is subject to removal in a future version.voidsetAccountType(String accountType)Deprecated, for removal: This API element is subject to removal in a future version.voidsetAddressLine1(String addressLine1)Deprecated, for removal: This API element is subject to removal in a future version.voidsetAddressLine2(String addressLine2)Deprecated, for removal: This API element is subject to removal in a future version.voidsetAddressLine3(String addressLine3)Deprecated, for removal: This API element is subject to removal in a future version.voidsetCardType(String cardType)Deprecated, for removal: This API element is subject to removal in a future version.voidsetCity(String city)Deprecated, for removal: This API element is subject to removal in a future version.voidsetContextId(String contextId)Deprecated, for removal: This API element is subject to removal in a future version.voidsetCountry(String country)Deprecated, for removal: This API element is subject to removal in a future version.voidsetCounty(String county)Deprecated, for removal: This API element is subject to removal in a future version.voidsetCustomerId(String customerId)Deprecated, for removal: This API element is subject to removal in a future version.voidsetDeactivated(boolean deactivated)Deprecated, for removal: This API element is subject to removal in a future version.voidsetDisplayAttributes(Map<String,String> displayAttributes)Deprecated, for removal: This API element is subject to removal in a future version.voidsetDisplayName(String displayName)Deprecated, for removal: This API element is subject to removal in a future version.voidsetExpirationMonth(Integer expirationMonth)Deprecated, for removal: This API element is subject to removal in a future version.voidsetExpirationYear(Integer expirationYear)Deprecated, for removal: This API element is subject to removal in a future version.voidsetFullName(String fullName)Deprecated, for removal: This API element is subject to removal in a future version.voidsetGatewayType(String gatewayType)Deprecated, for removal: This API element is subject to removal in a future version.voidsetLastTransactionDateTime(Instant lastTransactionDateTime)Deprecated, for removal: This API element is subject to removal in a future version.voidsetLastTransactionResultCode(String lastTransactionResultCode)Deprecated, for removal: This API element is subject to removal in a future version.voidsetMaskedAccountNumber(String maskedAccountNumber)Deprecated, for removal: This API element is subject to removal in a future version.voidsetNameOnAccount(String nameOnAccount)Deprecated, for removal: This API element is subject to removal in a future version.voidsetOriginatingPaymentId(String originatingPaymentId)Deprecated, for removal: This API element is subject to removal in a future version.voidsetPaymentGatewayProperties(Map<String,Object> paymentGatewayProperties)Deprecated, for removal: This API element is subject to removal in a future version.voidsetPhonePrimary(Phone phonePrimary)Deprecated, for removal: This API element is subject to removal in a future version.voidsetPhoneSecondary(Phone phoneSecondary)Deprecated, for removal: This API element is subject to removal in a future version.voidsetPostalCode(String postalCode)Deprecated, for removal: This API element is subject to removal in a future version.voidsetStateProvinceRegion(String stateProvinceRegion)Deprecated, for removal: This API element is subject to removal in a future version.voidsetTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)Deprecated, for removal: This API element is subject to removal in a future version.org.modelmapper.ModelMappertoMe()Deprecated, for removal: This API element is subject to removal in a future version.StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.-
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
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
fromMe
public org.modelmapper.ModelMapper fromMe()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getOwnerIdentifier
public String getOwnerIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOwnerIdentifierin interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
getContextId
public String getContextId()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getCustomerId
public String getCustomerId()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getOriginatingPaymentId
public String getOriginatingPaymentId()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getOriginatingPaymentId()
-
getDisplayName
public String getDisplayName()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getDisplayName()
-
getNameOnAccount
public String getNameOnAccount()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getNameOnAccount()
-
getAccountType
public String getAccountType()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getAccountType()
-
getMaskedAccountNumber
public String getMaskedAccountNumber()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getMaskedAccountNumber()
-
getCardType
public String getCardType()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getCardType()
-
getGatewayType
public String getGatewayType()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getGatewayType()
-
getPaymentGatewayProperties
public Map<String,Object> getPaymentGatewayProperties()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getDisplayAttributes
public Map<String,String> getDisplayAttributes()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getDisplayAttributes()
-
getExpirationMonth
public Integer getExpirationMonth()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getExpirationMonth()
-
getExpirationYear
public Integer getExpirationYear()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getExpirationYear()
-
getFullName
public String getFullName()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getFullName()
-
getAddressLine1
public String getAddressLine1()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getAddressLine1()
-
getAddressLine2
public String getAddressLine2()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getAddressLine2()
-
getAddressLine3
public String getAddressLine3()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getAddressLine3()
-
getCity
public String getCity()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getCity()
-
getCounty
public String getCounty()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getCounty()
-
getStateProvinceRegion
public String getStateProvinceRegion()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getStateProvinceRegion()
-
getCountry
public String getCountry()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getCountry()
-
getPostalCode
public String getPostalCode()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getPostalCode()
-
getPhonePrimary
public Phone getPhonePrimary()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getPhonePrimary()
-
getPhoneSecondary
public Phone getPhoneSecondary()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getPhoneSecondary()
-
getLastTransactionDateTime
public Instant getLastTransactionDateTime()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getLastTransactionResultCode
public String getLastTransactionResultCode()
Deprecated, for removal: This API element is subject to removal in a future version.
-
isDeactivated
public boolean isDeactivated()
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.isDeactivated()
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable- Returns:
- the
Trackinginformation for this relationship - See Also:
Tracking
-
setContextId
public void setContextId(String contextId)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setCustomerId
public void setCustomerId(String customerId)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setOriginatingPaymentId
public void setOriginatingPaymentId(String originatingPaymentId)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getOriginatingPaymentId()
-
setDisplayName
public void setDisplayName(String displayName)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getDisplayName()
-
setNameOnAccount
public void setNameOnAccount(String nameOnAccount)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getNameOnAccount()
-
setAccountType
public void setAccountType(String accountType)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getAccountType()
-
setMaskedAccountNumber
public void setMaskedAccountNumber(String maskedAccountNumber)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getMaskedAccountNumber()
-
setCardType
public void setCardType(String cardType)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getCardType()
-
setGatewayType
public void setGatewayType(String gatewayType)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getGatewayType()
-
setPaymentGatewayProperties
public void setPaymentGatewayProperties(Map<String,Object> paymentGatewayProperties)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setDisplayAttributes
public void setDisplayAttributes(Map<String,String> displayAttributes)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getDisplayAttributes()
-
setExpirationMonth
public void setExpirationMonth(Integer expirationMonth)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getExpirationMonth()
-
setExpirationYear
public void setExpirationYear(Integer expirationYear)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getExpirationYear()
-
setFullName
public void setFullName(String fullName)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getFullName()
-
setAddressLine1
public void setAddressLine1(String addressLine1)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getAddressLine1()
-
setAddressLine2
public void setAddressLine2(String addressLine2)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getAddressLine2()
-
setAddressLine3
public void setAddressLine3(String addressLine3)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getAddressLine3()
-
setCity
public void setCity(String city)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getCity()
-
setCounty
public void setCounty(String county)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getCounty()
-
setStateProvinceRegion
public void setStateProvinceRegion(String stateProvinceRegion)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getStateProvinceRegion()
-
setCountry
public void setCountry(String country)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getCountry()
-
setPostalCode
public void setPostalCode(String postalCode)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getPostalCode()
-
setPhonePrimary
public void setPhonePrimary(Phone phonePrimary)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getPhonePrimary()
-
setPhoneSecondary
public void setPhoneSecondary(Phone phoneSecondary)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.getPhoneSecondary()
-
setLastTransactionDateTime
public void setLastTransactionDateTime(Instant lastTransactionDateTime)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setLastTransactionResultCode
public void setLastTransactionResultCode(String lastTransactionResultCode)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setDeactivated
public void setDeactivated(boolean deactivated)
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
PaymentAccount.isDeactivated()
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>- Parameters:
tracking- theTrackinginformation for this relationship- See Also:
Tracking
-
equals
public boolean equals(Object o)
Deprecated, for removal: This API element is subject to removal in a future version.
-
canEqual
protected boolean canEqual(Object other)
Deprecated, for removal: This API element is subject to removal in a future version.
-
hashCode
public int hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-