Class PerformVoucherTransactionDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.vouchers.VoucherTransactionDataParams
-
- org.cyclos.model.banking.vouchers.PerformVoucherTransactionDTO
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RedeemVoucherDTO,TopUpVoucherDTO
public abstract class PerformVoucherTransactionDTO extends VoucherTransactionDataParams
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BigDecimal,PerformVoucherTransactionDTO>AMOUNTstatic StringCLASS_NAMEstatic ListProperty<CustomFieldValueDTO,PerformVoucherTransactionDTO>PAYMENT_CUSTOM_VALUES-
Fields inherited from class org.cyclos.model.banking.vouchers.VoucherTransactionDataParams
TOKEN, USER
-
-
Constructor Summary
Constructors Constructor Description PerformVoucherTransactionDTO()PerformVoucherTransactionDTO(Property<T,? super PerformVoucherTransactionDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()BigDecimalgetAmount()List<CustomFieldValueDTO>getPaymentCustomValues()voidsetAmount(BigDecimal amount)voidsetPaymentCustomValues(List<CustomFieldValueDTO> paymentCustomValues)-
Methods inherited from class org.cyclos.model.banking.vouchers.VoucherTransactionDataParams
className, getToken, getUser, setToken, setUser
-
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
-
AMOUNT
public static final BasicProperty<BigDecimal,PerformVoucherTransactionDTO> AMOUNT
-
PAYMENT_CUSTOM_VALUES
public static final ListProperty<CustomFieldValueDTO,PerformVoucherTransactionDTO> PAYMENT_CUSTOM_VALUES
-
-
Constructor Detail
-
PerformVoucherTransactionDTO
public PerformVoucherTransactionDTO()
-
PerformVoucherTransactionDTO
public PerformVoucherTransactionDTO(Property<T,? super PerformVoucherTransactionDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classVoucherTransactionDataParams
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
getPaymentCustomValues
public List<CustomFieldValueDTO> getPaymentCustomValues()
-
setPaymentCustomValues
public void setPaymentCustomValues(List<CustomFieldValueDTO> paymentCustomValues)
-
-