Class 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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String lastTransactionResultCode
      Deprecated, 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 boolean canEqual​(Object other)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean equals​(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      org.modelmapper.ModelMapper fromMe()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getAccountType()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getAddressLine1()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getAddressLine2()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getAddressLine3()
      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.
       
      String getCardType()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getCity()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getContextId()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getCountry()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getCounty()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getCustomerId()
      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.
       
      String getDisplayName()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Integer getExpirationMonth()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Integer getExpirationYear()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getFullName()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getGatewayType()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Instant getLastTransactionDateTime()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getLastTransactionResultCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getMaskedAccountNumber()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getNameOnAccount()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getOriginatingPaymentId()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getOwnerIdentifier()
      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.
       
      Phone getPhonePrimary()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Phone getPhoneSecondary()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getPostalCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String getStateProvinceRegion()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean isDeactivated()
      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 setCity​(String city)
      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 toMe()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • 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 Detail

      • JpaPaymentAccount

        public JpaPaymentAccount()
        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:
        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.
      • 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()
      • 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:
        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:
        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()
      • 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()
      • 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:
        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