Class CreditAccountRef
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.payment.CreditAccountRef
-
- All Implemented Interfaces:
Serializable
public class CreditAccountRef extends Object implements Serializable
The reference to the credit account.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreditAccountRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAccountNumber()
Generated code that can be used to reference the credit account.String
getId()
The credit account's id.String
getOwningUserRef()
The reference to the user that owns this credit account.String
getOwningUserType()
Describes the owning user type of the credit account.String
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
setId(String id)
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
setType(String type)
The type of this credit account.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
The credit account's id.- Returns:
- The credit account's id.
-
getType
public String 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
public String getAccountNumber()
Generated code that can be used to reference the credit account.- Returns:
- The account number.
-
getOwningUserType
public String 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", "BLC_ACCOUNT" or "ANONYMOUS".- Returns:
- The type describing the owning user of the credit account
-
getOwningUserRef
public String 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
public void setId(String id)
The credit account's id.- Parameters:
id
- The credit account's id.
-
setType
public void setType(String type)
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
public void setAccountNumber(String accountNumber)
Generated code that can be used to reference the credit account.- Parameters:
accountNumber
- The account number.
-
setOwningUserType
public void setOwningUserType(String owningUserType)
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", "BLC_ACCOUNT" or "ANONYMOUS".- Parameters:
owningUserType
- The type describing the owning user of the credit account
-
setOwningUserRef
public void setOwningUserRef(String owningUserRef)
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.
-
canEqual
protected boolean canEqual(Object other)
-
-