public static final class OvernightInArrearsCapletFloorletBinaryPeriod.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightInArrearsCapletFloorletBinaryPeriod>
OvernightInArrearsCapletFloorletBinaryPeriod.public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<OvernightInArrearsCapletFloorletBinaryPeriod>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightInArrearsCapletFloorletBinaryPeriod>public OvernightInArrearsCapletFloorletBinaryPeriod.Builder set(String propertyName, Object newValue)
public OvernightInArrearsCapletFloorletBinaryPeriod.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<OvernightInArrearsCapletFloorletBinaryPeriod>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightInArrearsCapletFloorletBinaryPeriod>public OvernightInArrearsCapletFloorletBinaryPeriod build()
public OvernightInArrearsCapletFloorletBinaryPeriod.Builder currency(Currency currency)
The amounts of the notional are usually expressed in terms of this currency, however they can be converted from amounts in a different currency.
currency - the new value, not nullpublic OvernightInArrearsCapletFloorletBinaryPeriod.Builder amount(double amount)
The currency of the notional is specified by currency.
amount - the new valuepublic OvernightInArrearsCapletFloorletBinaryPeriod.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 OvernightInArrearsCapletFloorletBinaryPeriod.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 OvernightInArrearsCapletFloorletBinaryPeriod.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 OvernightInArrearsCapletFloorletBinaryPeriod.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 OvernightInArrearsCapletFloorletBinaryPeriod.Builder yearFraction(double yearFraction)
The value is usually calculated using a DayCount which may be different to that of the index.
Typically the value will be close to 1 for one year and close to 0.5 for six months.
The fraction may be greater than 1, but not less than 0.
yearFraction - the new valuepublic OvernightInArrearsCapletFloorletBinaryPeriod.Builder paymentDate(LocalDate paymentDate)
If the schedule adjusts for business days, then this is the adjusted date.
paymentDate - the new value, not nullpublic OvernightInArrearsCapletFloorletBinaryPeriod.Builder caplet(Double caplet)
This defines the strike value of a caplet.
If the period is not a caplet, this field will be absent.
caplet - the new valuepublic OvernightInArrearsCapletFloorletBinaryPeriod.Builder floorlet(Double floorlet)
This defines the strike value of a floorlet.
If the period is not a floorlet, this field will be absent.
floorlet - the new valuepublic OvernightInArrearsCapletFloorletBinaryPeriod.Builder overnightRate(OvernightCompoundedRateComputation overnightRate)
The value of the period is based on this overnight compounded rate.
overnightRate - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightInArrearsCapletFloorletBinaryPeriod>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.