Package org.cyclos.entities.users
Class OperatorGroupPaymentType
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.users.OperatorGroupPaymentType
-
- All Implemented Interfaces:
Cloneable,HasCurrency,HasNetwork,ProcessableForProxying,IEntity
@Entity public class OperatorGroupPaymentType extends NetworkedEntity implements HasCurrency
Contains the relationship between an operator group and a user account type
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description OperatorGroupPaymentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurrencygetCurrency()OperatorGroupgetGroup()BigDecimalgetMaxAmountPerDay()NetworkgetNetwork()Returns the network this entity belongs toPaymentTransferTypegetPaymentType()booleanisAuthorize()booleanisEnabled()booleanisRequiresAuthorization()voidsetAuthorize(boolean authorize)voidsetEnabled(boolean enabled)voidsetGroup(OperatorGroup group)voidsetMaxAmountPerDay(BigDecimal maxAmountPerDay)voidsetPaymentType(PaymentTransferType paymentType)voidsetRequiresAuthorization(boolean requiresAuthorization)-
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.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrencyin interfaceHasCurrency
-
getGroup
public OperatorGroup getGroup()
-
getMaxAmountPerDay
public BigDecimal getMaxAmountPerDay()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPaymentType
public PaymentTransferType getPaymentType()
-
isAuthorize
public boolean isAuthorize()
-
isEnabled
public boolean isEnabled()
-
isRequiresAuthorization
public boolean isRequiresAuthorization()
-
setAuthorize
public void setAuthorize(boolean authorize)
-
setEnabled
public void setEnabled(boolean enabled)
-
setGroup
public void setGroup(OperatorGroup group)
-
setMaxAmountPerDay
public void setMaxAmountPerDay(BigDecimal maxAmountPerDay)
-
setPaymentType
public void setPaymentType(PaymentTransferType paymentType)
-
setRequiresAuthorization
public void setRequiresAuthorization(boolean requiresAuthorization)
-
-