public interface NotionalPaymentPeriod extends SwapPaymentPeriod
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 SwapPaymentPeriod to require that the period is based on a notional amount.
Implementations must be immutable and thread-safe beans.
| Modifier and Type | Method and Description |
|---|---|
Optional<FxIndexObservation> |
getFxResetObservation()
Gets the FX reset observation, optional.
|
CurrencyAmount |
getNotionalAmount()
The notional amount, positive if receiving, negative if paying.
|
adjustPaymentDate, collectIndices, getCurrency, getEndDate, getPaymentDate, getStartDateCurrencyAmount getNotionalAmount()
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.
Optional<FxIndexObservation> getFxResetObservation()
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.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.