@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()
CreditAccount
getId
in interface CreditAccount
public void setId(Long id)
CreditAccount
setId
in interface CreditAccount
public Long getVersion()
CreditAccount
getVersion
in interface CreditAccount
public String getAccountNumber()
CreditAccount
getAccountNumber
in interface CreditAccount
public void setAccountNumber(String accountNumber)
CreditAccount
setAccountNumber
in interface CreditAccount
public org.broadleafcommerce.common.money.Money getBalance()
CreditAccount
getBalance
in interface CreditAccount
public void setBalance(org.broadleafcommerce.common.money.Money balance)
CreditAccount
setBalance
in interface CreditAccount
public org.broadleafcommerce.common.currency.domain.BroadleafCurrency getCurrency()
CreditAccount
getCurrency
in interface CreditAccount
public void setCurrency(org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
CreditAccount
setCurrency
in interface CreditAccount
public List<CreditAccountEvent> getCreditAccountEvents()
CreditAccount
getCreditAccountEvents
in interface CreditAccount
public void setCreditAccountEvents(List<CreditAccountEvent> creditAccountEvents)
CreditAccount
setCreditAccountEvents
in interface CreditAccount
Copyright © 2019. All rights reserved.