Class VoucherTransactionPreviewVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.vouchers.VoucherTransactionPreviewVO
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RedeemVoucherPreviewVO,TopUpVoucherPreviewVO
public abstract class VoucherTransactionPreviewVO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BigDecimal,VoucherTransactionPreviewVO>AMOUNTstatic StringCLASS_NAMEstatic BasicProperty<String,VoucherTransactionPreviewVO>TOKENstatic BasicProperty<VoucherTypeDetailedVO,VoucherTransactionPreviewVO>TYPEstatic BasicProperty<UserVO,VoucherTransactionPreviewVO>USER
-
Constructor Summary
Constructors Constructor Description VoucherTransactionPreviewVO()VoucherTransactionPreviewVO(Property<T,? super VoucherTransactionPreviewVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()BigDecimalgetAmount()StringgetToken()VoucherTypeDetailedVOgetType()UserVOgetUser()voidsetAmount(BigDecimal amount)voidsetToken(String token)voidsetType(VoucherTypeDetailedVO type)voidsetUser(UserVO user)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, className, 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
-
AMOUNT
public static final BasicProperty<BigDecimal,VoucherTransactionPreviewVO> AMOUNT
-
TOKEN
public static final BasicProperty<String,VoucherTransactionPreviewVO> TOKEN
-
TYPE
public static final BasicProperty<VoucherTypeDetailedVO,VoucherTransactionPreviewVO> TYPE
-
USER
public static final BasicProperty<UserVO,VoucherTransactionPreviewVO> USER
-
-
Constructor Detail
-
VoucherTransactionPreviewVO
public VoucherTransactionPreviewVO()
-
VoucherTransactionPreviewVO
public VoucherTransactionPreviewVO(Property<T,? super VoucherTransactionPreviewVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getType
public VoucherTypeDetailedVO getType()
-
setType
public void setType(VoucherTypeDetailedVO type)
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-