Class BuyVouchersDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.vouchers.CreateVouchersDTO
-
- org.cyclos.model.banking.vouchers.BaseBuyVouchersDTO
-
- org.cyclos.model.banking.vouchers.BuyVouchersDTO
-
- All Implemented Interfaces:
Serializable,ModelWithCustomValues<CustomFieldValueDTO>
public class BuyVouchersDTO extends BaseBuyVouchersDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,BuyVouchersDTO>GIFT-
Fields inherited from class org.cyclos.model.banking.vouchers.BaseBuyVouchersDTO
PAYMENT_CUSTOM_VALUES, USER
-
Fields inherited from class org.cyclos.model.banking.vouchers.CreateVouchersDTO
AMOUNT, CONFIRMATION_PASSWORD, COUNT, CUSTOM_VALUES, TYPE
-
-
Constructor Summary
Constructors Constructor Description BuyVouchersDTO()BuyVouchersDTO(Property<T,? super BuyVouchersDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanisGift()voidsetGift(boolean gift)-
Methods inherited from class org.cyclos.model.banking.vouchers.BaseBuyVouchersDTO
getPaymentCustomValues, getUser, setPaymentCustomValues, setUser
-
Methods inherited from class org.cyclos.model.banking.vouchers.CreateVouchersDTO
getAmount, getConfirmationPassword, getCount, getCustomValues, getType, setAmount, setConfirmationPassword, setCount, setCustomValues, setType
-
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
-
GIFT
public static final BasicProperty<Boolean,BuyVouchersDTO> GIFT
-
-
Constructor Detail
-
BuyVouchersDTO
public BuyVouchersDTO()
-
BuyVouchersDTO
public BuyVouchersDTO(Property<T,? super BuyVouchersDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBaseBuyVouchersDTO
-
isGift
public boolean isGift()
-
setGift
public void setGift(boolean gift)
-
-