public static final class OvernightInArrearsCapletFloorletPeriod.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightInArrearsCapletFloorletPeriod>
OvernightInArrearsCapletFloorletPeriod.public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<OvernightInArrearsCapletFloorletPeriod>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightInArrearsCapletFloorletPeriod>public OvernightInArrearsCapletFloorletPeriod.Builder set(String propertyName, Object newValue)
public OvernightInArrearsCapletFloorletPeriod.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<OvernightInArrearsCapletFloorletPeriod>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightInArrearsCapletFloorletPeriod>public OvernightInArrearsCapletFloorletPeriod build()
public OvernightInArrearsCapletFloorletPeriod.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 OvernightInArrearsCapletFloorletPeriod.Builder notional(double notional)
The notional amount applicable during the period.
The currency of the notional is specified by currency.
notional - the new valuepublic OvernightInArrearsCapletFloorletPeriod.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 OvernightInArrearsCapletFloorletPeriod.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 OvernightInArrearsCapletFloorletPeriod.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 OvernightInArrearsCapletFloorletPeriod.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 OvernightInArrearsCapletFloorletPeriod.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 OvernightInArrearsCapletFloorletPeriod.Builder paymentDate(LocalDate paymentDate)
If the schedule adjusts for business days, then this is the adjusted date.
paymentDate - the new value, not nullpublic OvernightInArrearsCapletFloorletPeriod.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 OvernightInArrearsCapletFloorletPeriod.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 OvernightInArrearsCapletFloorletPeriod.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<OvernightInArrearsCapletFloorletPeriod>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.