Class PerformVoucherTransactionData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.vouchers.BasicVoucherData
-
- org.cyclos.model.banking.vouchers.PerformVoucherTransactionData
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RedeemVoucherData,TopUpVoucherData
public abstract class PerformVoucherTransactionData extends BasicVoucherData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BigDecimal,PerformVoucherTransactionData>AMOUNTstatic StringCLASS_NAMEstatic ListProperty<CustomFieldDetailedVO,PerformVoucherTransactionData>PAYMENT_CUSTOM_FIELDSstatic BasicProperty<Boolean,PerformVoucherTransactionData>SHOULD_PREVIEWstatic BasicProperty<String,PerformVoucherTransactionData>TOKENstatic BasicProperty<UserVO,PerformVoucherTransactionData>USER-
Fields inherited from class org.cyclos.model.banking.vouchers.BasicVoucherData
TYPE
-
-
Constructor Summary
Constructors Constructor Description PerformVoucherTransactionData()PerformVoucherTransactionData(Property<T,? super PerformVoucherTransactionData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()BigDecimalgetAmount()List<CustomFieldDetailedVO>getPaymentCustomFields()StringgetToken()UserVOgetUser()booleanisShouldPreview()voidsetAmount(BigDecimal amount)voidsetPaymentCustomFields(List<CustomFieldDetailedVO> paymentCustomFields)voidsetShouldPreview(boolean shouldPreview)voidsetToken(String token)voidsetUser(UserVO user)-
Methods inherited from class org.cyclos.model.banking.vouchers.BasicVoucherData
getType, setType
-
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,PerformVoucherTransactionData> AMOUNT
-
PAYMENT_CUSTOM_FIELDS
public static final ListProperty<CustomFieldDetailedVO,PerformVoucherTransactionData> PAYMENT_CUSTOM_FIELDS
-
SHOULD_PREVIEW
public static final BasicProperty<Boolean,PerformVoucherTransactionData> SHOULD_PREVIEW
-
TOKEN
public static final BasicProperty<String,PerformVoucherTransactionData> TOKEN
-
USER
public static final BasicProperty<UserVO,PerformVoucherTransactionData> USER
-
-
Constructor Detail
-
PerformVoucherTransactionData
public PerformVoucherTransactionData()
-
PerformVoucherTransactionData
public PerformVoucherTransactionData(Property<T,? super PerformVoucherTransactionData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBasicVoucherData
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
getPaymentCustomFields
public List<CustomFieldDetailedVO> getPaymentCustomFields()
-
setPaymentCustomFields
public void setPaymentCustomFields(List<CustomFieldDetailedVO> paymentCustomFields)
-
isShouldPreview
public boolean isShouldPreview()
-
setShouldPreview
public void setShouldPreview(boolean shouldPreview)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-