public static final class BillSecurity.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BillSecurity>
BillSecurity.| Modifier and Type | Method and Description |
|---|---|
BillSecurity |
build() |
BillSecurity.Builder |
dayCount(DayCount dayCount)
Sets the day count convention applicable.
|
Object |
get(String propertyName) |
BillSecurity.Builder |
info(SecurityInfo info)
Sets the standard security information.
|
BillSecurity.Builder |
legalEntityId(LegalEntityId legalEntityId)
Sets the legal entity identifier.
|
BillSecurity.Builder |
notional(AdjustablePayment notional)
Sets the adjustable notional payment of the bill notional, the amount must be positive.
|
BillSecurity.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
BillSecurity.Builder |
set(String propertyName,
Object newValue) |
BillSecurity.Builder |
settlementDateOffset(DaysAdjustment settlementDateOffset)
Sets the number of days between valuation date and settlement date.
|
String |
toString() |
BillSecurity.Builder |
yieldConvention(BillYieldConvention yieldConvention)
Sets yield convention.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<BillSecurity>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BillSecurity>public BillSecurity.Builder set(String propertyName, Object newValue)
public BillSecurity.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<BillSecurity>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BillSecurity>public BillSecurity build()
public BillSecurity.Builder info(SecurityInfo info)
This includes the security identifier.
info - the new value, not nullpublic BillSecurity.Builder notional(AdjustablePayment notional)
notional - the new value, not nullpublic BillSecurity.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 BillSecurity.Builder yieldConvention(BillYieldConvention yieldConvention)
The convention defines how to convert from yield to price and inversely.
yieldConvention - the new value, not nullpublic BillSecurity.Builder legalEntityId(LegalEntityId legalEntityId)
This identifier is used for the legal entity that issues the bill.
legalEntityId - the new value, not nullpublic BillSecurity.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<BillSecurity>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.