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.Owned
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.7.2, in favor of using JpaSavedPaymentMethod in PaymentTransactionServices to manage saved payment methods.
Persistent counterpart to a PaymentAccount for use with a Jpa datastore.
Author:
Marie Standeven (marieStandeven)
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.modelmapper.ModelMapper
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setAccountType(String accountType)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setAddressLine1(String addressLine1)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setAddressLine2(String addressLine2)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setAddressLine3(String addressLine3)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setCardType(String cardType)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setContextId(String contextId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setCountry(String country)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setCounty(String county)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setCustomerId(String customerId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDeactivated(boolean deactivated)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDisplayAttributes(Map<String,String> displayAttributes)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDisplayName(String displayName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setExpirationMonth(Integer expirationMonth)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setExpirationYear(Integer expirationYear)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setFullName(String fullName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setGatewayType(String gatewayType)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setLastTransactionDateTime(Instant lastTransactionDateTime)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setLastTransactionResultCode(String lastTransactionResultCode)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setMaskedAccountNumber(String maskedAccountNumber)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setNameOnAccount(String nameOnAccount)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setOriginatingPaymentId(String originatingPaymentId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPaymentGatewayProperties(Map<String,Object> paymentGatewayProperties)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPhonePrimary(Phone phonePrimary)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPhoneSecondary(Phone phoneSecondary)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPostalCode(String postalCode)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setStateProvinceRegion(String stateProvinceRegion)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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.
     
    org.modelmapper.ModelMapper
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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

    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
  • Field Details

  • Constructor Details

    • JpaPaymentAccount

      public JpaPaymentAccount()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • fromMe

      public org.modelmapper.ModelMapper fromMe()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      fromMe in interface com.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:
      toMe in interface com.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:
      getBusinessDomainType in interface com.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:
      getOwnerIdentifier in interface com.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:
      getContextId in interface com.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:
    • getDisplayName

      public String getDisplayName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getNameOnAccount

      public String getNameOnAccount()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getAccountType

      public String getAccountType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getMaskedAccountNumber

      public String getMaskedAccountNumber()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getCardType

      public String getCardType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getGatewayType

      public String getGatewayType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getPaymentGatewayProperties

      public Map<String,Object> getPaymentGatewayProperties()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getDisplayAttributes

      public Map<String,String> getDisplayAttributes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getExpirationMonth

      public Integer getExpirationMonth()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getExpirationYear

      public Integer getExpirationYear()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getFullName

      public String getFullName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getAddressLine1

      public String getAddressLine1()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getAddressLine2

      public String getAddressLine2()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getAddressLine3

      public String getAddressLine3()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getCity

      public String getCity()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getCounty

      public String getCounty()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getStateProvinceRegion

      public String getStateProvinceRegion()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getCountry

      public String getCountry()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getPostalCode

      public String getPostalCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getPhonePrimary

      public Phone getPhonePrimary()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getPhoneSecondary

      public Phone getPhoneSecondary()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getLastTransactionDateTime

      public Instant getLastTransactionDateTime()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • getLastTransactionResultCode

      public String getLastTransactionResultCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • isDeactivated

      public boolean isDeactivated()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • 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:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
      Returns:
      the Tracking information 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:
      setContextId in interface com.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:
    • setDisplayName

      public void setDisplayName(String displayName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setNameOnAccount

      public void setNameOnAccount(String nameOnAccount)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setAccountType

      public void setAccountType(String accountType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setMaskedAccountNumber

      public void setMaskedAccountNumber(String maskedAccountNumber)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setCardType

      public void setCardType(String cardType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setGatewayType

      public void setGatewayType(String gatewayType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setPaymentGatewayProperties

      public void setPaymentGatewayProperties(Map<String,Object> paymentGatewayProperties)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setDisplayAttributes

      public void setDisplayAttributes(Map<String,String> displayAttributes)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setExpirationMonth

      public void setExpirationMonth(Integer expirationMonth)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setExpirationYear

      public void setExpirationYear(Integer expirationYear)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setFullName

      public void setFullName(String fullName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setAddressLine1

      public void setAddressLine1(String addressLine1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setAddressLine2

      public void setAddressLine2(String addressLine2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setAddressLine3

      public void setAddressLine3(String addressLine3)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setCity

      public void setCity(String city)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setCounty

      public void setCounty(String county)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setStateProvinceRegion

      public void setStateProvinceRegion(String stateProvinceRegion)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setCountry

      public void setCountry(String country)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setPostalCode

      public void setPostalCode(String postalCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setPhonePrimary

      public void setPhonePrimary(Phone phonePrimary)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setPhoneSecondary

      public void setPhoneSecondary(Phone phoneSecondary)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setLastTransactionDateTime

      public void setLastTransactionDateTime(Instant lastTransactionDateTime)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setLastTransactionResultCode

      public void setLastTransactionResultCode(String lastTransactionResultCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • setDeactivated

      public void setDeactivated(boolean deactivated)
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • 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:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
      Parameters:
      tracking - the Tracking information 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.
      Overrides:
      equals in class Object
    • 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.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object