Class PaymentPreviewVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.transactions.TransactionPreviewVO
-
- org.cyclos.model.banking.transactions.BasePaymentPreviewVO
-
- org.cyclos.model.banking.transactions.BaseInternalPaymentPreviewVO
-
- org.cyclos.model.banking.transactions.PaymentPreviewVO
-
- All Implemented Interfaces:
Serializable,HasRates
public class PaymentPreviewVO extends BaseInternalPaymentPreviewVO implements HasRates
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BigDecimal,PaymentPreviewVO>A_RATEstatic StringCLASS_NAMEstatic BasicProperty<BigDecimal,PaymentPreviewVO>D_RATEstatic ListProperty<TransferFeePreviewVO,PaymentPreviewVO>FEESstatic BasicProperty<CurrencyAmountDTO,PaymentPreviewVO>MAIN_AMOUNTstatic BasicProperty<PerformPaymentDTO,PaymentPreviewVO>PAYMENTstatic BasicProperty<BigDecimal,PaymentPreviewVO>PREVIOUS_D_RATEstatic BasicProperty<BigDecimal,PaymentPreviewVO>TRANSFER_D_RATE-
Fields inherited from class org.cyclos.model.banking.transactions.BaseInternalPaymentPreviewVO
PENDING_AUTHORIZATION, TO_ACCOUNT
-
Fields inherited from class org.cyclos.model.banking.transactions.BasePaymentPreviewVO
CONFIRMATION_MESSAGE, CONFIRMATION_PASSWORD_INPUT, FROM_ACCOUNT, SKIP_CONFIRMATION, TOTAL_AMOUNT
-
-
Constructor Summary
Constructors Constructor Description PaymentPreviewVO()PaymentPreviewVO(Property<T,? super PaymentPreviewVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()BigDecimalgetARate()BigDecimalgetDRate()List<TransferFeePreviewVO>getFees()CurrencyAmountDTOgetMainAmount()PerformPaymentDTOgetPayment()BigDecimalgetPreviousDRate()BigDecimalgetTransferDRate()voidsetARate(BigDecimal ARate)voidsetDRate(BigDecimal DRate)voidsetFees(List<TransferFeePreviewVO> fees)voidsetMainAmount(CurrencyAmountDTO mainAmount)voidsetPayment(PerformPaymentDTO payment)voidsetPreviousDRate(BigDecimal previousDRate)voidsetTransferDRate(BigDecimal transferDRate)-
Methods inherited from class org.cyclos.model.banking.transactions.BaseInternalPaymentPreviewVO
getToAccount, isPendingAuthorization, setPendingAuthorization, setToAccount
-
Methods inherited from class org.cyclos.model.banking.transactions.BasePaymentPreviewVO
getConfirmationMessage, getConfirmationPasswordInput, getFromAccount, getTotalAmount, isSkipConfirmation, setConfirmationMessage, setConfirmationPasswordInput, setFromAccount, setSkipConfirmation, setTotalAmount
-
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
-
A_RATE
public static final BasicProperty<BigDecimal,PaymentPreviewVO> A_RATE
-
D_RATE
public static final BasicProperty<BigDecimal,PaymentPreviewVO> D_RATE
-
FEES
public static final ListProperty<TransferFeePreviewVO,PaymentPreviewVO> FEES
-
MAIN_AMOUNT
public static final BasicProperty<CurrencyAmountDTO,PaymentPreviewVO> MAIN_AMOUNT
-
PAYMENT
public static final BasicProperty<PerformPaymentDTO,PaymentPreviewVO> PAYMENT
-
PREVIOUS_D_RATE
public static final BasicProperty<BigDecimal,PaymentPreviewVO> PREVIOUS_D_RATE
-
TRANSFER_D_RATE
public static final BasicProperty<BigDecimal,PaymentPreviewVO> TRANSFER_D_RATE
-
-
Constructor Detail
-
PaymentPreviewVO
public PaymentPreviewVO()
-
PaymentPreviewVO
public PaymentPreviewVO(Property<T,? super PaymentPreviewVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBaseInternalPaymentPreviewVO
-
getARate
public BigDecimal getARate()
-
setARate
public void setARate(BigDecimal ARate)
-
getDRate
public BigDecimal getDRate()
-
setDRate
public void setDRate(BigDecimal DRate)
-
getFees
public List<TransferFeePreviewVO> getFees()
-
setFees
public void setFees(List<TransferFeePreviewVO> fees)
-
getMainAmount
public CurrencyAmountDTO getMainAmount()
-
setMainAmount
public void setMainAmount(CurrencyAmountDTO mainAmount)
-
getPayment
public PerformPaymentDTO getPayment()
-
setPayment
public void setPayment(PerformPaymentDTO payment)
-
getPreviousDRate
public BigDecimal getPreviousDRate()
-
setPreviousDRate
public void setPreviousDRate(BigDecimal previousDRate)
-
getTransferDRate
public BigDecimal getTransferDRate()
-
setTransferDRate
public void setTransferDRate(BigDecimal transferDRate)
-
-