public static final class ResolvedIborFixingDeposit.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborFixingDeposit>
ResolvedIborFixingDeposit.| Modifier and Type | Method and Description |
|---|---|
ResolvedIborFixingDeposit |
build() |
ResolvedIborFixingDeposit.Builder |
currency(Currency currency)
Sets the primary currency.
|
ResolvedIborFixingDeposit.Builder |
endDate(LocalDate endDate)
Sets the end date of the deposit.
|
ResolvedIborFixingDeposit.Builder |
fixedRate(double fixedRate)
Sets the fixed rate of interest.
|
ResolvedIborFixingDeposit.Builder |
floatingRate(IborRateComputation floatingRate)
Sets the floating rate of interest.
|
Object |
get(String propertyName) |
ResolvedIborFixingDeposit.Builder |
notional(double notional)
Sets the notional amount.
|
ResolvedIborFixingDeposit.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ResolvedIborFixingDeposit.Builder |
set(String propertyName,
Object newValue) |
ResolvedIborFixingDeposit.Builder |
startDate(LocalDate startDate)
Sets the start date of the deposit.
|
String |
toString() |
ResolvedIborFixingDeposit.Builder |
yearFraction(double yearFraction)
Sets the year fraction between the start and end date.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedIborFixingDeposit>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborFixingDeposit>public ResolvedIborFixingDeposit.Builder set(String propertyName, Object newValue)
public ResolvedIborFixingDeposit.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedIborFixingDeposit>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborFixingDeposit>public ResolvedIborFixingDeposit build()
public ResolvedIborFixingDeposit.Builder currency(Currency currency)
This is the currency of the deposit and the currency that payment is made in. The data model permits this currency to differ from that of the index, however the two are typically the same.
currency - the new value, not nullpublic ResolvedIborFixingDeposit.Builder notional(double notional)
The amount that is deposited. It is a positive signed amount if the deposit is 'Buy', and a negative signed amount if the deposit is 'Sell'.
The currency of the notional is specified by currency.
notional - the new valuepublic ResolvedIborFixingDeposit.Builder startDate(LocalDate startDate)
This is the first date that interest accrues.
This is an adjusted date, which should be a valid business day
startDate - the new value, not nullpublic ResolvedIborFixingDeposit.Builder endDate(LocalDate endDate)
This is the last day that interest accrues. This date must be after the start date.
This is an adjusted date, which should be a valid business day
endDate - the new value, not nullpublic ResolvedIborFixingDeposit.Builder yearFraction(double yearFraction)
The value is usually calculated using a DayCount.
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 ResolvedIborFixingDeposit.Builder fixedRate(double fixedRate)
fixedRate - the new valuepublic ResolvedIborFixingDeposit.Builder floatingRate(IborRateComputation floatingRate)
The floating rate to be paid is based on this index. It will be a well known market index such as 'GBP-LIBOR-3M'.
floatingRate - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborFixingDeposit>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.