Class BuyVoucherPreviewVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.vouchers.BasicVoucherData
-
- org.cyclos.model.banking.vouchers.BasicVoucherDataWithConfirmationPassword
-
- org.cyclos.model.banking.vouchers.BuyVoucherPreviewVO
-
- All Implemented Interfaces:
Serializable
public class BuyVoucherPreviewVO extends BasicVoucherDataWithConfirmationPassword
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<UserVO,BuyVoucherPreviewVO>OWNERstatic BasicProperty<BaseBuyVouchersDTO,BuyVoucherPreviewVO>PARAMSstatic BasicProperty<PaymentPreviewVO,BuyVoucherPreviewVO>PAYMENT_PREVIEWstatic BasicProperty<BigDecimal,BuyVoucherPreviewVO>TOTAL_AMOUNTstatic BasicProperty<VoucherTypeDetailedVO,BuyVoucherPreviewVO>TYPEstatic BasicProperty<UserVO,BuyVoucherPreviewVO>USER-
Fields inherited from class org.cyclos.model.banking.vouchers.BasicVoucherDataWithConfirmationPassword
CONFIRMATION_PASSWORD_INPUT
-
-
Constructor Summary
Constructors Constructor Description BuyVoucherPreviewVO()BuyVoucherPreviewVO(Property<T,? super BuyVoucherPreviewVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()UserVOgetOwner()BaseBuyVouchersDTOgetParams()PaymentPreviewVOgetPaymentPreview()BigDecimalgetTotalAmount()VoucherTypeDetailedVOgetType()UserVOgetUser()voidsetOwner(UserVO owner)voidsetParams(BaseBuyVouchersDTO params)voidsetPaymentPreview(PaymentPreviewVO paymentPreview)voidsetTotalAmount(BigDecimal totalAmount)voidsetType(VoucherTypeDetailedVO type)voidsetUser(UserVO user)-
Methods inherited from class org.cyclos.model.banking.vouchers.BasicVoucherDataWithConfirmationPassword
getConfirmationPasswordInput, setConfirmationPasswordInput
-
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
-
OWNER
public static final BasicProperty<UserVO,BuyVoucherPreviewVO> OWNER
-
PARAMS
public static final BasicProperty<BaseBuyVouchersDTO,BuyVoucherPreviewVO> PARAMS
-
PAYMENT_PREVIEW
public static final BasicProperty<PaymentPreviewVO,BuyVoucherPreviewVO> PAYMENT_PREVIEW
-
TOTAL_AMOUNT
public static final BasicProperty<BigDecimal,BuyVoucherPreviewVO> TOTAL_AMOUNT
-
TYPE
public static final BasicProperty<VoucherTypeDetailedVO,BuyVoucherPreviewVO> TYPE
-
USER
public static final BasicProperty<UserVO,BuyVoucherPreviewVO> USER
-
-
Constructor Detail
-
BuyVoucherPreviewVO
public BuyVoucherPreviewVO()
-
BuyVoucherPreviewVO
public BuyVoucherPreviewVO(Property<T,? super BuyVoucherPreviewVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBasicVoucherDataWithConfirmationPassword
-
getOwner
public UserVO getOwner()
-
setOwner
public void setOwner(UserVO owner)
-
getParams
public BaseBuyVouchersDTO getParams()
-
setParams
public void setParams(BaseBuyVouchersDTO params)
-
getPaymentPreview
public PaymentPreviewVO getPaymentPreview()
-
setPaymentPreview
public void setPaymentPreview(PaymentPreviewVO paymentPreview)
-
getTotalAmount
public BigDecimal getTotalAmount()
-
setTotalAmount
public void setTotalAmount(BigDecimal totalAmount)
-
getType
public VoucherTypeDetailedVO getType()
- Overrides:
getTypein classBasicVoucherData
-
setType
public void setType(VoucherTypeDetailedVO type)
- Overrides:
setTypein classBasicVoucherData
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-