public interface DRateTypeHandler extends TimeBasedRateTypeHandler<DRateParameters,DRateParametersDTO>
RATE_SCALE| Modifier and Type | Method and Description |
|---|---|
void |
applyMaturityPolicyChangesForFrom(TransferType transferType,
java.math.BigDecimal amount,
org.cyclos.impl.banking.RatesData originalRates,
org.cyclos.impl.banking.FromRatesData result)
applies the maturity policy to the result parameter.
|
void |
toEntity(TransferType tt,
DRateCreationValueForTransferTypeDTO dto)
Sets the DRateCreationValueForTransferType from the dto to the transferType entity.
|
convert, convert, getInitValueapplyIncomingTransfer, calculateFromRates, complete, convert, convert, copy, getCreationValue, getEnableDate, getNullSafeRawRate, getRateParameters, getRateParameters, getRateParametersDTO, getRateType, isEnabled, isVisible, isVisibleToUser, nullAllAccountRates, resolveValidator, setRate, setRawRate, toEntityvoid applyMaturityPolicyChangesForFrom(TransferType transferType, java.math.BigDecimal amount, org.cyclos.impl.banking.RatesData originalRates, org.cyclos.impl.banking.FromRatesData result)
transferType - amount - the transfer amountoriginalRates - - the rates as they were before applying the transfer.result - - the FromRatesData object representing the results for the from account, after applying the
transfer.void toEntity(TransferType tt, DRateCreationValueForTransferTypeDTO dto)