- All Superinterfaces:
public interface NotionalPaymentPeriod extends SwapPaymentPeriodA period over which interest is accrued with a single payment calculated using a notional.
This is a single payment period within a swap leg. The amount of the payment is defined by implementations of this interface. It is typically based on a rate of interest.
This interface imposes few restrictions on the payment periods. It extends
SwapPaymentPeriodto require that the period is based on a notional amount.
Implementations must be immutable and thread-safe beans.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
getFxResetObservation()Gets the FX reset observation, optional.
getNotionalAmount()The notional amount, positive if receiving, negative if paying.
CurrencyAmount getNotionalAmount()The notional amount, positive if receiving, negative if paying.
This is the notional amount applicable during the period. The currency may differ from that returned by
SwapPaymentPeriod.getCurrency(), for example if the swap contains an FX reset.
- the notional amount of the period
java.util.Optional<FxIndexObservation> getFxResetObservation()Gets the FX reset observation, optional.
This property is used when the defined amount of the notional is specified in a currency other than the currency of the swap leg. When this occurs, the notional amount has to be converted using an FX rate to the swap leg currency.
The FX reset definition must be valid. The currency of the period and the currency of the notional must differ, and the currency pair must be that of the observation.
- the optional FX reset observation