public static final class ResolvedBill.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBill>
ResolvedBill.| Modifier and Type | Method and Description |
|---|---|
ResolvedBill |
build() |
ResolvedBill.Builder |
dayCount(DayCount dayCount)
Sets the day count convention applicable.
|
Object |
get(String propertyName) |
ResolvedBill.Builder |
legalEntityId(LegalEntityId legalEntityId)
Sets the legal entity identifier.
|
ResolvedBill.Builder |
notional(Payment notional)
Sets the notional payment of the bill notional, the amount must be positive.
|
ResolvedBill.Builder |
securityId(SecurityId securityId)
Sets the security identifier.
|
ResolvedBill.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ResolvedBill.Builder |
set(String propertyName,
Object newValue) |
ResolvedBill.Builder |
settlementDateOffset(DaysAdjustment settlementDateOffset)
Sets the number of days between valuation date and settlement date.
|
String |
toString() |
ResolvedBill.Builder |
yieldConvention(BillYieldConvention yieldConvention)
Sets yield convention.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedBill>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBill>public ResolvedBill.Builder set(String propertyName, Object newValue)
public ResolvedBill.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedBill>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBill>public ResolvedBill build()
public ResolvedBill.Builder securityId(SecurityId securityId)
This identifier uniquely identifies the security within the system.
securityId - the new value, not nullpublic ResolvedBill.Builder notional(Payment notional)
notional - the new value, not nullpublic ResolvedBill.Builder dayCount(DayCount dayCount)
The conversion from dates to a numerical value is made based on this day count.
dayCount - the new value, not nullpublic ResolvedBill.Builder yieldConvention(BillYieldConvention yieldConvention)
The convention defines how to convert from yield to price and inversely.
yieldConvention - the new value, not nullpublic ResolvedBill.Builder legalEntityId(LegalEntityId legalEntityId)
This identifier is used for the legal entity that issues the bill.
legalEntityId - the new value, not nullpublic ResolvedBill.Builder settlementDateOffset(DaysAdjustment settlementDateOffset)
It is usually one business day for US and UK bills and two days for Euroland government bills.
settlementDateOffset - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBill>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.