Package org.cyclos.entities.banking
Class PendingUserAccount
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.banking.PendingUserAccount
-
- All Implemented Interfaces:
Cloneable,HasCurrency,IAccount,IUserAccount,HasNetwork,ProcessableForProxying,UserPrincipal,IEntity
@Entity public class PendingUserAccount extends NetworkedEntity implements IUserAccount
Contains configurations for a user account yet to be created
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description PendingUserAccount()PendingUserAccount(Long id, User user, UserAccountType type, String number, boolean active, BigDecimal creditLimit, BigDecimal upperCreditLimit, boolean upperCreditLimitFromProduct)PendingUserAccount(User user, UserAccountType accountType)PendingUserAccount(User user, UserAccountType accountType, String number)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAccountRatesId()BigDecimalgetCreditLimit()CurrencygetCurrency()NetworkgetNetwork()Returns the network this entity belongs toStringgetNumber()BigDecimalgetPaymentAmountLimit()BigDecimalgetPaymentAmountPerDayLimit()BigDecimalgetPaymentAmountPerMonthLimit()BigDecimalgetPaymentAmountPerWeekLimit()BigDecimalgetPaymentAmountPerYearLimit()UserAccountTypegetType()BigDecimalgetUpperCreditLimit()UsergetUser()booleanisActive()booleanisUpperCreditLimitFromProduct()voidsetAccountRatesId(Long accountRatesId)voidsetActive(boolean active)voidsetCreditLimit(BigDecimal creditLimit)voidsetNumber(String number)voidsetType(UserAccountType type)voidsetUpperCreditLimit(BigDecimal upperCreditLimit)voidsetUpperCreditLimitFromProduct(boolean upperCreditLimitFromProduct)voidsetUser(User user)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.banking.HasCurrency
round, withCurrency
-
Methods inherited from interface org.cyclos.entities.HasNetwork
isGlobal
-
Methods inherited from interface org.cyclos.entities.banking.IUserAccount
getAccessClient, getAccountType, getBasicUser, getCustomFieldValue, getMobilePhone, getNegativeSince, getOwner, getPrincipal, getPrincipalType, getToken, getTrustedDevice, isCreditLimitFromProduct
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Constructor Detail
-
PendingUserAccount
public PendingUserAccount()
-
PendingUserAccount
public PendingUserAccount(Long id, User user, UserAccountType type, String number, boolean active, BigDecimal creditLimit, BigDecimal upperCreditLimit, boolean upperCreditLimitFromProduct)
-
PendingUserAccount
public PendingUserAccount(User user, UserAccountType accountType)
-
PendingUserAccount
public PendingUserAccount(User user, UserAccountType accountType, String number)
-
-
Method Detail
-
getAccountRatesId
public Long getAccountRatesId()
- Specified by:
getAccountRatesIdin interfaceIAccount
-
getCreditLimit
public BigDecimal getCreditLimit()
- Specified by:
getCreditLimitin interfaceIAccount
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrencyin interfaceHasCurrency
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPaymentAmountLimit
public BigDecimal getPaymentAmountLimit()
- Specified by:
getPaymentAmountLimitin interfaceIUserAccount
-
getPaymentAmountPerDayLimit
public BigDecimal getPaymentAmountPerDayLimit()
- Specified by:
getPaymentAmountPerDayLimitin interfaceIUserAccount
-
getPaymentAmountPerMonthLimit
public BigDecimal getPaymentAmountPerMonthLimit()
- Specified by:
getPaymentAmountPerMonthLimitin interfaceIUserAccount
-
getPaymentAmountPerWeekLimit
public BigDecimal getPaymentAmountPerWeekLimit()
- Specified by:
getPaymentAmountPerWeekLimitin interfaceIUserAccount
-
getPaymentAmountPerYearLimit
public BigDecimal getPaymentAmountPerYearLimit()
- Specified by:
getPaymentAmountPerYearLimitin interfaceIUserAccount
-
getType
public UserAccountType getType()
- Specified by:
getTypein interfaceIAccount- Specified by:
getTypein interfaceIUserAccount
-
getUpperCreditLimit
public BigDecimal getUpperCreditLimit()
- Specified by:
getUpperCreditLimitin interfaceIAccount
-
getUser
public User getUser()
- Specified by:
getUserin interfaceIUserAccount
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceIUserAccount
-
isUpperCreditLimitFromProduct
public boolean isUpperCreditLimitFromProduct()
- Specified by:
isUpperCreditLimitFromProductin interfaceIUserAccount
-
setAccountRatesId
public void setAccountRatesId(Long accountRatesId)
- Specified by:
setAccountRatesIdin interfaceIAccount
-
setActive
public void setActive(boolean active)
- Specified by:
setActivein interfaceIUserAccount
-
setCreditLimit
public void setCreditLimit(BigDecimal creditLimit)
- Specified by:
setCreditLimitin interfaceIAccount
-
setType
public void setType(UserAccountType type)
-
setUpperCreditLimit
public void setUpperCreditLimit(BigDecimal upperCreditLimit)
- Specified by:
setUpperCreditLimitin interfaceIAccount
-
setUpperCreditLimitFromProduct
public void setUpperCreditLimitFromProduct(boolean upperCreditLimitFromProduct)
-
setUser
public void setUser(User user)
-
-