Class PaymentAccountSummary
- java.lang.Object
-
- com.broadleafcommerce.customer.domain.PaymentAccountSummary
-
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,com.broadleafcommerce.data.tracking.core.policy.Owned
,Serializable
@Deprecated(since="1.7.2", forRemoval=true) public class PaymentAccountSummary extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware, 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 usingSavedPaymentMethodSummary
in PaymentTransactionServices to manage saved payment methods.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaymentAccountSummary()
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.String
getAccountType()
Deprecated, for removal: This API element is subject to removal in a future version.This represents the type of payment that is associated with this account.String
getAddressLine1()
Deprecated, for removal: This API element is subject to removal in a future version.Primary address information associated with this payment account, typically street name and building number.String
getAddressLine2()
Deprecated, for removal: This API element is subject to removal in a future version.Secondary address information associated with this payment account, typically apartment, suite, or unit number.String
getAddressLine3()
Deprecated, for removal: This API element is subject to removal in a future version.Tertiary address information associated with this payment account, typically for international addresses.String
getCardType()
Deprecated, for removal: This API element is subject to removal in a future version.The specific card type, i.e.String
getCity()
Deprecated, for removal: This API element is subject to removal in a future version.The city, town or village of this billing address.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
getContextState()
Deprecated, for removal: This API element is subject to removal in a future version.A subset ofTracking
information to expose the context state for this object.String
getCountry()
Deprecated, for removal: This API element is subject to removal in a future version.The country for this billing address.String
getCounty()
Deprecated, for removal: This API element is subject to removal in a future version.The county of this billing address.CustomerRef
getCustomerRef()
Deprecated, for removal: This API element is subject to removal in a future version.The customer associated with this payment account.Map<String,String>
getDisplayAttributes()
Deprecated, for removal: This API element is subject to removal in a future version.General use map to capture any display properties for the PaymentString
getDisplayName()
Deprecated, for removal: This API element is subject to removal in a future version.The user-friendly name provided for the payment account.Integer
getExpirationMonth()
Deprecated, for removal: This API element is subject to removal in a future version.The month the payment gateway account associated with this payment account will expire.Integer
getExpirationYear()
Deprecated, for removal: This API element is subject to removal in a future version.The year the payment gateway account associated with this payment account will expire.String
getFullName()
Deprecated, for removal: This API element is subject to removal in a future version.The combined names of the individual at this billing address.String
getGatewayType()
Deprecated, for removal: This API element is subject to removal in a future version.The payment gateway associated with this payment account.String
getId()
Deprecated, for removal: This API element is subject to removal in a future version.The context ID of the payment account.Instant
getLastTransactionDateTime()
Deprecated, for removal: This API element is subject to removal in a future version.The timestamp of the last successful transaction made by this payment account.String
getLastTransactionResultCode()
Deprecated, for removal: This API element is subject to removal in a future version.The result code returned from the gateway on the last successful transaction.String
getMaskedAccountNumber()
Deprecated, for removal: This API element is subject to removal in a future version.Partial information about the payment account, e.g.String
getNameOnAccount()
Deprecated, for removal: This API element is subject to removal in a future version.The name associated with this payment account.String
getOriginatingPaymentId()
Deprecated, for removal: This API element is subject to removal in a future version.ThePayment.getId()
that this payment account was created from.String
getOwnerIdentifier()
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.The primaryphone number
for this billing address.Phone
getPhoneSecondary()
Deprecated, for removal: This API element is subject to removal in a future version.The secondaryphone number
for this billing address.String
getPostalCode()
Deprecated, for removal: This API element is subject to removal in a future version.Postal code or ZIP code for this billing address.String
getStateProvinceRegion()
Deprecated, for removal: This API element is subject to removal in a future version.The state, province or region of this address.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.Whether this account is deactivated.void
setAccountType(String accountType)
Deprecated, for removal: This API element is subject to removal in a future version.This represents the type of payment that is associated with this account.void
setAddressLine1(String addressLine1)
Deprecated, for removal: This API element is subject to removal in a future version.Primary address information associated with this payment account, typically street name and building number.void
setAddressLine2(String addressLine2)
Deprecated, for removal: This API element is subject to removal in a future version.Secondary address information associated with this payment account, typically apartment, suite, or unit number.void
setAddressLine3(String addressLine3)
Deprecated, for removal: This API element is subject to removal in a future version.Tertiary address information associated with this payment account, typically for international addresses.void
setCardType(String cardType)
Deprecated, for removal: This API element is subject to removal in a future version.The specific card type, i.e.void
setCity(String city)
Deprecated, for removal: This API element is subject to removal in a future version.The city, town or village of this billing address.void
setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
Deprecated, for removal: This API element is subject to removal in a future version.A subset ofTracking
information to expose the context state for this object.void
setCountry(String country)
Deprecated, for removal: This API element is subject to removal in a future version.The country for this billing address.void
setCounty(String county)
Deprecated, for removal: This API element is subject to removal in a future version.The county of this billing address.void
setCustomerRef(CustomerRef customerRef)
Deprecated, for removal: This API element is subject to removal in a future version.The customer associated with this payment account.void
setDeactivated(boolean deactivated)
Deprecated, for removal: This API element is subject to removal in a future version.Whether this account is deactivated.void
setDisplayAttributes(Map<String,String> displayAttributes)
Deprecated, for removal: This API element is subject to removal in a future version.General use map to capture any display properties for the Paymentvoid
setDisplayName(String displayName)
Deprecated, for removal: This API element is subject to removal in a future version.The user-friendly name provided for the payment account.void
setExpirationMonth(Integer expirationMonth)
Deprecated, for removal: This API element is subject to removal in a future version.The month the payment gateway account associated with this payment account will expire.void
setExpirationYear(Integer expirationYear)
Deprecated, for removal: This API element is subject to removal in a future version.The year the payment gateway account associated with this payment account will expire.void
setFullName(String fullName)
Deprecated, for removal: This API element is subject to removal in a future version.The combined names of the individual at this billing address.void
setGatewayType(String gatewayType)
Deprecated, for removal: This API element is subject to removal in a future version.The payment gateway associated with this payment account.void
setId(String id)
Deprecated, for removal: This API element is subject to removal in a future version.The context ID of the payment account.void
setLastTransactionDateTime(Instant lastTransactionDateTime)
Deprecated, for removal: This API element is subject to removal in a future version.The timestamp of the last successful transaction made by this payment account.void
setLastTransactionResultCode(String lastTransactionResultCode)
Deprecated, for removal: This API element is subject to removal in a future version.The result code returned from the gateway on the last successful transaction.void
setMaskedAccountNumber(String maskedAccountNumber)
Deprecated, for removal: This API element is subject to removal in a future version.Partial information about the payment account, e.g.void
setNameOnAccount(String nameOnAccount)
Deprecated, for removal: This API element is subject to removal in a future version.The name associated with this payment account.void
setOriginatingPaymentId(String originatingPaymentId)
Deprecated, for removal: This API element is subject to removal in a future version.ThePayment.getId()
that this payment account was created from.void
setPhonePrimary(Phone phonePrimary)
Deprecated, for removal: This API element is subject to removal in a future version.The primaryphone number
for this billing address.void
setPhoneSecondary(Phone phoneSecondary)
Deprecated, for removal: This API element is subject to removal in a future version.The secondaryphone number
for this billing address.void
setPostalCode(String postalCode)
Deprecated, for removal: This API element is subject to removal in a future version.Postal code or ZIP code for this billing address.void
setStateProvinceRegion(String stateProvinceRegion)
Deprecated, for removal: This API element is subject to removal in a future version.The state, province or region of this address.String
toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getOwnerIdentifier
public String getOwnerIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOwnerIdentifier
in interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
getId
public String getId()
Deprecated, for removal: This API element is subject to removal in a future version.The context ID of the payment account.- Returns:
- the context ID of the payment account
-
getCustomerRef
public CustomerRef getCustomerRef()
Deprecated, for removal: This API element is subject to removal in a future version.The customer associated with this payment account.- Returns:
- the customer linked to the payment account
-
getOriginatingPaymentId
public String getOriginatingPaymentId()
Deprecated, for removal: This API element is subject to removal in a future version.ThePayment.getId()
that this payment account was created from. This is typically populated when a multi-use payment token is produced by executing a transaction against a single-use token via a checkout interaction.- Returns:
- The
Payment.getId()
that this payment account was created from
-
getDisplayName
public String getDisplayName()
Deprecated, for removal: This API element is subject to removal in a future version.The user-friendly name provided for the payment account.- Returns:
- the display name of the payment account
-
getAccountType
public String getAccountType()
Deprecated, for removal: This API element is subject to removal in a future version.This represents the type of payment that is associated with this account.- Returns:
- the account type of the payment account
-
getCardType
public String getCardType()
Deprecated, for removal: This API element is subject to removal in a future version.The specific card type, i.e. Visa, Mastercard, Discover, etc.- Returns:
- the card type of the payment account
-
getGatewayType
public String getGatewayType()
Deprecated, for removal: This API element is subject to removal in a future version.The payment gateway associated with this payment account.- Returns:
- the payment token gateway associated with the payment account
-
getDisplayAttributes
public Map<String,String> getDisplayAttributes()
Deprecated, for removal: This API element is subject to removal in a future version.General use map to capture any display properties for the Payment- Returns:
- General use map to capture any display properties for the Payment
-
getMaskedAccountNumber
public String getMaskedAccountNumber()
Deprecated, for removal: This API element is subject to removal in a future version.Partial information about the payment account, e.g. last four numbers of a credit card.- Returns:
-
getNameOnAccount
public String getNameOnAccount()
Deprecated, for removal: This API element is subject to removal in a future version.The name associated with this payment account.- Returns:
- the name on the payment account
-
getExpirationMonth
public Integer getExpirationMonth()
Deprecated, for removal: This API element is subject to removal in a future version.The month the payment gateway account associated with this payment account will expire.- Returns:
- the expiration month of the payment account
-
getExpirationYear
public Integer getExpirationYear()
Deprecated, for removal: This API element is subject to removal in a future version.The year the payment gateway account associated with this payment account will expire.- Returns:
- the expiration year of the payment account
-
getFullName
public String getFullName()
Deprecated, for removal: This API element is subject to removal in a future version.The combined names of the individual at this billing address. It is considered better UX to use a full name field in place of separate first and last name fields.- Returns:
- The combined names of the individual at this address
-
getAddressLine1
public String getAddressLine1()
Deprecated, for removal: This API element is subject to removal in a future version.Primary address information associated with this payment account, typically street name and building number.- Returns:
- the first address line for the payment account
-
getAddressLine2
public String getAddressLine2()
Deprecated, for removal: This API element is subject to removal in a future version.Secondary address information associated with this payment account, typically apartment, suite, or unit number.- Returns:
- the second address line for the payment account
-
getAddressLine3
public String getAddressLine3()
Deprecated, for removal: This API element is subject to removal in a future version.Tertiary address information associated with this payment account, typically for international addresses.- Returns:
- Tertiary address information, typically for international addresses.
-
getCity
public String getCity()
Deprecated, for removal: This API element is subject to removal in a future version.The city, town or village of this billing address.- Returns:
- The city, town or village of this address.
-
getCounty
public String getCounty()
Deprecated, for removal: This API element is subject to removal in a future version.The county of this billing address.- Returns:
- The county of this address.
-
getStateProvinceRegion
public String getStateProvinceRegion()
Deprecated, for removal: This API element is subject to removal in a future version.The state, province or region of this address.- Returns:
- The state, province or region of this address.
-
getCountry
public String getCountry()
Deprecated, for removal: This API element is subject to removal in a future version.The country for this billing address.- Returns:
- The country for this address.
-
getPostalCode
public String getPostalCode()
Deprecated, for removal: This API element is subject to removal in a future version.Postal code or ZIP code for this billing address.- Returns:
- Postal code or ZIP code for this address.
-
getPhonePrimary
public Phone getPhonePrimary()
Deprecated, for removal: This API element is subject to removal in a future version.The primaryphone number
for this billing address.- Returns:
- The primary
phone number
for this address.
-
getPhoneSecondary
public Phone getPhoneSecondary()
Deprecated, for removal: This API element is subject to removal in a future version.The secondaryphone number
for this billing address.- Returns:
- The secondary
phone number
for this address.
-
getLastTransactionDateTime
public Instant getLastTransactionDateTime()
Deprecated, for removal: This API element is subject to removal in a future version.The timestamp of the last successful transaction made by this payment account.- Returns:
- the last successful transaction date and time of the payment account
-
getLastTransactionResultCode
public String getLastTransactionResultCode()
Deprecated, for removal: This API element is subject to removal in a future version.The result code returned from the gateway on the last successful transaction.- Returns:
- the result code from the last successful transaction for this payment account
-
isDeactivated
public boolean isDeactivated()
Deprecated, for removal: This API element is subject to removal in a future version.Whether this account is deactivated.- Returns:
- Whether this account is deactivated.
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
Deprecated, for removal: This API element is subject to removal in a future version.A subset ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of
Tracking
information to expose the context state for this object.
-
setId
public void setId(String id)
Deprecated, for removal: This API element is subject to removal in a future version.The context ID of the payment account.- Parameters:
id
- the context ID of the payment account
-
setCustomerRef
public void setCustomerRef(CustomerRef customerRef)
Deprecated, for removal: This API element is subject to removal in a future version.The customer associated with this payment account.- Parameters:
customerRef
- the customer linked to the payment account
-
setOriginatingPaymentId
public void setOriginatingPaymentId(String originatingPaymentId)
Deprecated, for removal: This API element is subject to removal in a future version.ThePayment.getId()
that this payment account was created from. This is typically populated when a multi-use payment token is produced by executing a transaction against a single-use token via a checkout interaction.- Parameters:
originatingPaymentId
- ThePayment.getId()
that this payment account was created from
-
setDisplayName
public void setDisplayName(String displayName)
Deprecated, for removal: This API element is subject to removal in a future version.The user-friendly name provided for the payment account.- Parameters:
displayName
- the display name of the payment account
-
setAccountType
public void setAccountType(String accountType)
Deprecated, for removal: This API element is subject to removal in a future version.This represents the type of payment that is associated with this account.- Parameters:
accountType
- the account type of the payment account
-
setCardType
public void setCardType(String cardType)
Deprecated, for removal: This API element is subject to removal in a future version.The specific card type, i.e. Visa, Mastercard, Discover, etc.- Parameters:
cardType
- the card type of the payment account
-
setGatewayType
public void setGatewayType(String gatewayType)
Deprecated, for removal: This API element is subject to removal in a future version.The payment gateway associated with this payment account.- Parameters:
gatewayType
- the payment token gateway associated with the payment account
-
setDisplayAttributes
public void setDisplayAttributes(Map<String,String> displayAttributes)
Deprecated, for removal: This API element is subject to removal in a future version.General use map to capture any display properties for the Payment- Parameters:
displayAttributes
- General use map to capture any display properties for the Payment
-
setMaskedAccountNumber
public void setMaskedAccountNumber(String maskedAccountNumber)
Deprecated, for removal: This API element is subject to removal in a future version.Partial information about the payment account, e.g. last four numbers of a credit card.- Parameters:
maskedAccountNumber
-
-
setNameOnAccount
public void setNameOnAccount(String nameOnAccount)
Deprecated, for removal: This API element is subject to removal in a future version.The name associated with this payment account.- Parameters:
nameOnAccount
- the name on the payment account
-
setExpirationMonth
public void setExpirationMonth(Integer expirationMonth)
Deprecated, for removal: This API element is subject to removal in a future version.The month the payment gateway account associated with this payment account will expire.- Parameters:
expirationMonth
- the expiration month of the payment account
-
setExpirationYear
public void setExpirationYear(Integer expirationYear)
Deprecated, for removal: This API element is subject to removal in a future version.The year the payment gateway account associated with this payment account will expire.- Parameters:
expirationYear
- the expiration year of the payment account
-
setFullName
public void setFullName(String fullName)
Deprecated, for removal: This API element is subject to removal in a future version.The combined names of the individual at this billing address. It is considered better UX to use a full name field in place of separate first and last name fields.- Parameters:
fullName
- The combined names of the individual at this address
-
setAddressLine1
public void setAddressLine1(String addressLine1)
Deprecated, for removal: This API element is subject to removal in a future version.Primary address information associated with this payment account, typically street name and building number.- Parameters:
addressLine1
- the first address line for the payment account
-
setAddressLine2
public void setAddressLine2(String addressLine2)
Deprecated, for removal: This API element is subject to removal in a future version.Secondary address information associated with this payment account, typically apartment, suite, or unit number.- Parameters:
addressLine2
- the second address line for the payment account
-
setAddressLine3
public void setAddressLine3(String addressLine3)
Deprecated, for removal: This API element is subject to removal in a future version.Tertiary address information associated with this payment account, typically for international addresses.- Parameters:
addressLine3
- Tertiary address information, typically for international addresses.
-
setCity
public void setCity(String city)
Deprecated, for removal: This API element is subject to removal in a future version.The city, town or village of this billing address.- Parameters:
city
- The city, town or village of this address.
-
setCounty
public void setCounty(String county)
Deprecated, for removal: This API element is subject to removal in a future version.The county of this billing address.- Parameters:
county
- The county of this address.
-
setStateProvinceRegion
public void setStateProvinceRegion(String stateProvinceRegion)
Deprecated, for removal: This API element is subject to removal in a future version.The state, province or region of this address.- Parameters:
stateProvinceRegion
- The state, province or region of this address.
-
setCountry
public void setCountry(String country)
Deprecated, for removal: This API element is subject to removal in a future version.The country for this billing address.- Parameters:
country
- The country for this address.
-
setPostalCode
public void setPostalCode(String postalCode)
Deprecated, for removal: This API element is subject to removal in a future version.Postal code or ZIP code for this billing address.- Parameters:
postalCode
- Postal code or ZIP code for this address.
-
setPhonePrimary
public void setPhonePrimary(Phone phonePrimary)
Deprecated, for removal: This API element is subject to removal in a future version.The primaryphone number
for this billing address.- Parameters:
phonePrimary
- The primaryphone number
for this address.
-
setPhoneSecondary
public void setPhoneSecondary(Phone phoneSecondary)
Deprecated, for removal: This API element is subject to removal in a future version.The secondaryphone number
for this billing address.- Parameters:
phoneSecondary
- The secondaryphone number
for this address.
-
setLastTransactionDateTime
public void setLastTransactionDateTime(Instant lastTransactionDateTime)
Deprecated, for removal: This API element is subject to removal in a future version.The timestamp of the last successful transaction made by this payment account.- Parameters:
lastTransactionDateTime
- the last successful transaction date and time of the payment account
-
setLastTransactionResultCode
public void setLastTransactionResultCode(String lastTransactionResultCode)
Deprecated, for removal: This API element is subject to removal in a future version.The result code returned from the gateway on the last successful transaction.- Parameters:
lastTransactionResultCode
- the result code from the last successful transaction for this payment account
-
setDeactivated
public void setDeactivated(boolean deactivated)
Deprecated, for removal: This API element is subject to removal in a future version.Whether this account is deactivated.- Parameters:
deactivated
- Whether this account is deactivated.
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
Deprecated, for removal: This API element is subject to removal in a future version.A subset ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-
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.
-
-