Class TopUpVoucherDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.vouchers.VoucherTransactionDataParams
-
- org.cyclos.model.banking.vouchers.PerformVoucherTransactionDTO
-
- org.cyclos.model.banking.vouchers.TopUpVoucherDTO
-
- All Implemented Interfaces:
Serializable,ModelWithCustomValues<CustomFieldValueDTO>
public class TopUpVoucherDTO extends PerformVoucherTransactionDTO implements ModelWithCustomValues<CustomFieldValueDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,TopUpVoucherDTO>CONFIRMATION_PASSWORDstatic ListProperty<CustomFieldValueDTO,TopUpVoucherDTO>CUSTOM_VALUESstatic BasicProperty<String,TopUpVoucherDTO>EMAILstatic BasicProperty<String,TopUpVoucherDTO>MOBILE_PHONEstatic BasicProperty<String,TopUpVoucherDTO>PINstatic BasicProperty<String,TopUpVoucherDTO>PIN_CONFIRMATION-
Fields inherited from class org.cyclos.model.banking.vouchers.PerformVoucherTransactionDTO
AMOUNT, PAYMENT_CUSTOM_VALUES
-
Fields inherited from class org.cyclos.model.banking.vouchers.VoucherTransactionDataParams
TOKEN, USER
-
-
Constructor Summary
Constructors Constructor Description TopUpVoucherDTO()TopUpVoucherDTO(Property<T,? super TopUpVoucherDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetConfirmationPassword()List<CustomFieldValueDTO>getCustomValues()StringgetEmail()StringgetMobilePhone()StringgetPin()StringgetPinConfirmation()voidsetConfirmationPassword(String confirmationPassword)voidsetCustomValues(List<CustomFieldValueDTO> customValues)voidsetEmail(String email)voidsetMobilePhone(String mobilePhone)voidsetPin(String pin)voidsetPinConfirmation(String pinConfirmation)-
Methods inherited from class org.cyclos.model.banking.vouchers.PerformVoucherTransactionDTO
getAmount, getPaymentCustomValues, setAmount, setPaymentCustomValues
-
Methods inherited from class org.cyclos.model.banking.vouchers.VoucherTransactionDataParams
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
-
CONFIRMATION_PASSWORD
public static final BasicProperty<String,TopUpVoucherDTO> CONFIRMATION_PASSWORD
-
CUSTOM_VALUES
public static final ListProperty<CustomFieldValueDTO,TopUpVoucherDTO> CUSTOM_VALUES
-
EMAIL
public static final BasicProperty<String,TopUpVoucherDTO> EMAIL
-
MOBILE_PHONE
public static final BasicProperty<String,TopUpVoucherDTO> MOBILE_PHONE
-
PIN
public static final BasicProperty<String,TopUpVoucherDTO> PIN
-
PIN_CONFIRMATION
public static final BasicProperty<String,TopUpVoucherDTO> PIN_CONFIRMATION
-
-
Constructor Detail
-
TopUpVoucherDTO
public TopUpVoucherDTO()
-
TopUpVoucherDTO
public TopUpVoucherDTO(Property<T,? super TopUpVoucherDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classPerformVoucherTransactionDTO
-
getConfirmationPassword
public String getConfirmationPassword()
-
setConfirmationPassword
public void setConfirmationPassword(String confirmationPassword)
-
getCustomValues
public List<CustomFieldValueDTO> getCustomValues()
- Specified by:
getCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
setCustomValues
public void setCustomValues(List<CustomFieldValueDTO> customValues)
- Specified by:
setCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
getMobilePhone
public String getMobilePhone()
-
setMobilePhone
public void setMobilePhone(String mobilePhone)
-
getPin
public String getPin()
-
setPin
public void setPin(String pin)
-
getPinConfirmation
public String getPinConfirmation()
-
setPinConfirmation
public void setPinConfirmation(String pinConfirmation)
-
className
public String className()
- Overrides:
classNamein classVoucherTransactionDataParams
-
-