Class CreditAccountRef
java.lang.Object
com.broadleafcommerce.cartoperation.domain.payment.CreditAccountRef
- All Implemented Interfaces:
Serializable
The reference to the credit account.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Generated code that can be used to reference the credit account.getId()
The credit account's id.The reference to the user that owns this credit account.Describes the owning user type of the credit account.getType()
The type of this credit account.int
hashCode()
void
setAccountNumber
(String accountNumber) Generated code that can be used to reference the credit account.void
The credit account's id.void
setOwningUserRef
(String owningUserRef) The reference to the user that owns this credit account.void
setOwningUserType
(String owningUserType) Describes the owning user type of the credit account.void
The type of this credit account.toString()
-
Constructor Details
-
CreditAccountRef
public CreditAccountRef()
-
-
Method Details
-
getId
The credit account's id.- Returns:
- The credit account's id.
-
getType
The type of this credit account. By default, it can be "STORE_CREDIT", "ACCOUNT_CREDIT" or "GIFT_CARD".- Returns:
- The type of this credit account.
-
getAccountNumber
Generated code that can be used to reference the credit account.- Returns:
- The account number.
-
getOwningUserType
Describes the owning user type of the credit account. For example, the credit account could belong to a customer, anonymous user or an account, therefore this value might be BLC_CUSTOMER, ANONYMOUS_USER_EMAIL, ANONYMOUS_USER_PHONE, or BLC_ACCOUNT.- Returns:
- The type describing the owning user of the credit account
-
getOwningUserRef
The reference to the user that owns this credit account. For example, this may be a customer id, an account id, or the anonymous user's email address.- Returns:
- The reference to the user that owns this credit account.
-
setId
The credit account's id.- Parameters:
id
- The credit account's id.
-
setType
The type of this credit account. By default, it can be "STORE_CREDIT", "ACCOUNT_CREDIT" or "GIFT_CARD".- Parameters:
type
- The type of this credit account.
-
setAccountNumber
Generated code that can be used to reference the credit account.- Parameters:
accountNumber
- The account number.
-
setOwningUserType
Describes the owning user type of the credit account. For example, the credit account could belong to a customer, anonymous user or an account, therefore this value might be BLC_CUSTOMER, ANONYMOUS_USER_EMAIL, ANONYMOUS_USER_PHONE, or BLC_ACCOUNT.- Parameters:
owningUserType
- The type describing the owning user of the credit account
-
setOwningUserRef
The reference to the user that owns this credit account. For example, this may be a customer id, an account id, or the anonymous user's email address.- Parameters:
owningUserRef
- The reference to the user that owns this credit account.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-