Class VoucherConfigurationData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<VoucherConfigurationDTO>
-
- org.cyclos.model.banking.voucherconfigurations.VoucherConfigurationData
-
- All Implemented Interfaces:
Serializable
public class VoucherConfigurationData extends EntityData<VoucherConfigurationDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ListProperty<TransferTypeVO,VoucherConfigurationData>BUY_TYPESstatic StringCLASS_NAMEstatic ListProperty<TransferTypeVO,VoucherConfigurationData>REDEEM_TYPESstatic ListProperty<TransferTypeVO,VoucherConfigurationData>REFUND_TYPESstatic ListProperty<TransferTypeVO,VoucherConfigurationData>TOP_UP_TYPESstatic BasicProperty<String,VoucherConfigurationData>VOUCHER_INFO_URL-
Fields inherited from class org.cyclos.model.EntityData
CAN_VIEW_HISTORY_LOG, CONFIRMATION_PASSWORD_INPUT, DTO, EDITABLE, LOG_TYPE, REMOVABLE, TRANSLATED_PROPERTY_TYPES, TRANSLATED_VALUES
-
-
Constructor Summary
Constructors Constructor Description VoucherConfigurationData()VoucherConfigurationData(Property<T,? super VoucherConfigurationData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<TransferTypeVO>getBuyTypes()List<TransferTypeVO>getRedeemTypes()List<TransferTypeVO>getRefundTypes()List<TransferTypeVO>getTopUpTypes()StringgetVoucherInfoUrl()voidsetBuyTypes(List<TransferTypeVO> buyTypes)voidsetRedeemTypes(List<TransferTypeVO> redeemTypes)voidsetRefundTypes(List<TransferTypeVO> refundTypes)voidsetTopUpTypes(List<TransferTypeVO> topUpTypes)voidsetVoucherInfoUrl(String voucherInfoUrl)-
Methods inherited from class org.cyclos.model.EntityData
getConfirmationPasswordInput, getDto, getLogType, getTranslatedPropertyTypes, getTranslatedValues, isCanViewHistoryLog, isEditable, isRemovable, setCanViewHistoryLog, setConfirmationPasswordInput, setDto, setEditable, setLogType, setRemovable, setTranslatedPropertyTypes, setTranslatedValues
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
BUY_TYPES
public static final ListProperty<TransferTypeVO,VoucherConfigurationData> BUY_TYPES
-
REDEEM_TYPES
public static final ListProperty<TransferTypeVO,VoucherConfigurationData> REDEEM_TYPES
-
REFUND_TYPES
public static final ListProperty<TransferTypeVO,VoucherConfigurationData> REFUND_TYPES
-
TOP_UP_TYPES
public static final ListProperty<TransferTypeVO,VoucherConfigurationData> TOP_UP_TYPES
-
VOUCHER_INFO_URL
public static final BasicProperty<String,VoucherConfigurationData> VOUCHER_INFO_URL
-
-
Constructor Detail
-
VoucherConfigurationData
public VoucherConfigurationData()
-
VoucherConfigurationData
public VoucherConfigurationData(Property<T,? super VoucherConfigurationData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityData<VoucherConfigurationDTO>
-
getBuyTypes
public List<TransferTypeVO> getBuyTypes()
-
setBuyTypes
public void setBuyTypes(List<TransferTypeVO> buyTypes)
-
getRedeemTypes
public List<TransferTypeVO> getRedeemTypes()
-
setRedeemTypes
public void setRedeemTypes(List<TransferTypeVO> redeemTypes)
-
getRefundTypes
public List<TransferTypeVO> getRefundTypes()
-
setRefundTypes
public void setRefundTypes(List<TransferTypeVO> refundTypes)
-
getTopUpTypes
public List<TransferTypeVO> getTopUpTypes()
-
setTopUpTypes
public void setTopUpTypes(List<TransferTypeVO> topUpTypes)
-
getVoucherInfoUrl
public String getVoucherInfoUrl()
-
setVoucherInfoUrl
public void setVoucherInfoUrl(String voucherInfoUrl)
-
-