@Entity public class CreditAccountImpl extends Object implements CreditAccount, CreditAccountAdminPresentation
| Modifier and Type | Class and Description |
|---|---|
static class |
CreditAccountImpl.Presentation |
CreditAccountAdminPresentation.FieldOrder, CreditAccountAdminPresentation.GroupName, CreditAccountAdminPresentation.GroupOrder, CreditAccountAdminPresentation.TabName, CreditAccountAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
accountNumber |
protected BigDecimal |
balance |
protected List<CreditAccountEvent> |
creditAccountEvents |
protected org.broadleafcommerce.common.currency.domain.BroadleafCurrency |
currency |
protected Long |
id |
protected Long |
version |
| Constructor and Description |
|---|
CreditAccountImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountNumber()
Gets the account number.
|
org.broadleafcommerce.common.money.Money |
getBalance()
Gets the balance.
|
List<CreditAccountEvent> |
getCreditAccountEvents()
Gets a list of all CreditAccountEvents attached to the CreditAccount.
|
org.broadleafcommerce.common.currency.domain.BroadleafCurrency |
getCurrency()
Gets the Currency.
|
Long |
getId()
Gets the id.
|
Long |
getVersion()
Retrieves the version set by Hibernate.
|
void |
setAccountNumber(String accountNumber)
Sets the account number.
|
void |
setBalance(org.broadleafcommerce.common.money.Money balance)
Sets the account balance.
|
void |
setCreditAccountEvents(List<CreditAccountEvent> creditAccountEvents)
Sets a list of the CreditAccountEvents to the CreditAccount.
|
void |
setCurrency(org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
Sets the currency.
|
void |
setId(Long id)
Sets the id.
|
protected Long id
protected Long version
protected String accountNumber
protected BigDecimal balance
protected org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency
protected List<CreditAccountEvent> creditAccountEvents
public Long getId()
CreditAccountgetId in interface CreditAccountpublic void setId(Long id)
CreditAccountsetId in interface CreditAccountpublic Long getVersion()
CreditAccountgetVersion in interface CreditAccountpublic String getAccountNumber()
CreditAccountgetAccountNumber in interface CreditAccountpublic void setAccountNumber(String accountNumber)
CreditAccountsetAccountNumber in interface CreditAccountpublic org.broadleafcommerce.common.money.Money getBalance()
CreditAccountgetBalance in interface CreditAccountpublic void setBalance(org.broadleafcommerce.common.money.Money balance)
CreditAccountsetBalance in interface CreditAccountpublic org.broadleafcommerce.common.currency.domain.BroadleafCurrency getCurrency()
CreditAccountgetCurrency in interface CreditAccountpublic void setCurrency(org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
CreditAccountsetCurrency in interface CreditAccountpublic List<CreditAccountEvent> getCreditAccountEvents()
CreditAccountgetCreditAccountEvents in interface CreditAccountpublic void setCreditAccountEvents(List<CreditAccountEvent> creditAccountEvents)
CreditAccountsetCreditAccountEvents in interface CreditAccountCopyright © 2019. All rights reserved.