Package org.cyclos.entities.banking
Class VoucherConfiguration
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.banking.VoucherConfiguration
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasCurrency,HasNetwork,ProcessableForProxying,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class VoucherConfiguration extends ConfigurationEntity implements HasCurrency
A voucher configuration represents the system administration part of vouchers - which payment types are involved, as well as permissions for admins to manage voucher types from specific configurations
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description VoucherConfiguration()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
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, 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.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAccountName
public String getAccountName()
-
getActivationInterval
public TimeInterval getActivationInterval()
-
getBuyType
public PaymentTransferType getBuyType()
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrencyin interfaceHasCurrency
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getDaysBeforeExpirationToNotify
public Integer getDaysBeforeExpirationToNotify()
-
getGenerationAmount
public VoucherGenerationAmount getGenerationAmount()
-
getGenerationStatus
public VoucherGenerationStatus getGenerationStatus()
-
getMask
public String getMask()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPinLength
public Integer getPinLength()
-
getPinOnActivation
public VoucherPinOnActivation getPinOnActivation()
-
getPinUsage
public VoucherPinUsage getPinUsage()
-
getRedeemType
public PaymentTransferType getRedeemType()
-
getRefundType
public PaymentTransferType getRefundType()
-
getTopUpType
public PaymentTransferType getTopUpType()
-
isReserveAmount
public boolean isReserveAmount()
-
isShowPlainToken
public boolean isShowPlainToken()
-
isShowQrCode
public boolean isShowQrCode()
-
setAccountName
public void setAccountName(String accountName)
-
setActivationInterval
public void setActivationInterval(TimeInterval activationInterval)
-
setBuyType
public void setBuyType(PaymentTransferType buyType)
-
setCurrency
public void setCurrency(Currency currency)
-
setDaysBeforeExpirationToNotify
public void setDaysBeforeExpirationToNotify(Integer daysBeforeExpirationToNotify)
-
setGenerationAmount
public void setGenerationAmount(VoucherGenerationAmount generationAmount)
-
setGenerationStatus
public void setGenerationStatus(VoucherGenerationStatus generationStatus)
-
setMask
public void setMask(String mask)
-
setPinLength
public void setPinLength(Integer pinLength)
-
setPinOnActivation
public void setPinOnActivation(VoucherPinOnActivation pinOnActivation)
-
setPinUsage
public void setPinUsage(VoucherPinUsage pinUsage)
-
setRedeemType
public void setRedeemType(PaymentTransferType redeemType)
-
setRefundType
public void setRefundType(PaymentTransferType refundType)
-
setReserveAmount
public void setReserveAmount(boolean reserveAmount)
-
setShowPlainToken
public void setShowPlainToken(boolean showPlainToken)
-
setShowQrCode
public void setShowQrCode(boolean showQrCode)
-
setTopUpType
public void setTopUpType(PaymentTransferType topUpType)
-
-