public static final class KnownAmountNotionalSwapPaymentPeriod.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<KnownAmountNotionalSwapPaymentPeriod>
KnownAmountNotionalSwapPaymentPeriod.public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<KnownAmountNotionalSwapPaymentPeriod>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<KnownAmountNotionalSwapPaymentPeriod>public KnownAmountNotionalSwapPaymentPeriod.Builder set(String propertyName, Object newValue)
public KnownAmountNotionalSwapPaymentPeriod.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<KnownAmountNotionalSwapPaymentPeriod>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<KnownAmountNotionalSwapPaymentPeriod>public KnownAmountNotionalSwapPaymentPeriod build()
public KnownAmountNotionalSwapPaymentPeriod.Builder payment(Payment payment)
This includes the payment date and amount. If the schedule adjusts for business days, then the date is the adjusted date.
payment - the new value, not nullpublic KnownAmountNotionalSwapPaymentPeriod.Builder startDate(LocalDate startDate)
This is the first date in the period. If the schedule adjusts for business days, then this is the adjusted date.
startDate - the new value, not nullpublic KnownAmountNotionalSwapPaymentPeriod.Builder endDate(LocalDate endDate)
This is the last date in the period. If the schedule adjusts for business days, then this is the adjusted date.
endDate - the new value, not nullpublic KnownAmountNotionalSwapPaymentPeriod.Builder unadjustedStartDate(LocalDate unadjustedStartDate)
The start date before any business day adjustment is applied.
When building, this will default to the start date if not specified.
unadjustedStartDate - the new value, not nullpublic KnownAmountNotionalSwapPaymentPeriod.Builder unadjustedEndDate(LocalDate unadjustedEndDate)
The end date before any business day adjustment is applied.
When building, this will default to the end date if not specified.
unadjustedEndDate - the new value, not nullpublic KnownAmountNotionalSwapPaymentPeriod.Builder notionalAmount(CurrencyAmount notionalAmount)
The notional amount applicable during the period.
The currency of the notional is typically the same as currency.
However, if FX reset applies, the currency will differ.
notionalAmount - the new valuepublic KnownAmountNotionalSwapPaymentPeriod.Builder fxResetObservation(FxIndexObservation fxResetObservation)
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 payment currency and the currency of the notional must differ, and the currency pair must be that of the observation.
fxResetObservation - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<KnownAmountNotionalSwapPaymentPeriod>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.