public static final class KnownAmountBondPaymentPeriod.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<KnownAmountBondPaymentPeriod>
KnownAmountBondPaymentPeriod.| Modifier and Type | Method and Description |
|---|---|
KnownAmountBondPaymentPeriod |
build() |
KnownAmountBondPaymentPeriod.Builder |
endDate(LocalDate endDate)
Sets the end date of the payment period.
|
Object |
get(String propertyName) |
KnownAmountBondPaymentPeriod.Builder |
payment(Payment payment)
Sets the payment.
|
KnownAmountBondPaymentPeriod.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
KnownAmountBondPaymentPeriod.Builder |
set(String propertyName,
Object newValue) |
KnownAmountBondPaymentPeriod.Builder |
startDate(LocalDate startDate)
Sets the start date of the payment period.
|
String |
toString() |
KnownAmountBondPaymentPeriod.Builder |
unadjustedEndDate(LocalDate unadjustedEndDate)
Sets the unadjusted end date.
|
KnownAmountBondPaymentPeriod.Builder |
unadjustedStartDate(LocalDate unadjustedStartDate)
Sets the unadjusted start date.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<KnownAmountBondPaymentPeriod>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<KnownAmountBondPaymentPeriod>public KnownAmountBondPaymentPeriod.Builder set(String propertyName, Object newValue)
public KnownAmountBondPaymentPeriod.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<KnownAmountBondPaymentPeriod>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<KnownAmountBondPaymentPeriod>public KnownAmountBondPaymentPeriod build()
public KnownAmountBondPaymentPeriod.Builder payment(Payment payment)
This includes the payment date and amount. If the schedule adjusts for business days, then the date is the adjusted date.
payment - the new value, not nullpublic KnownAmountBondPaymentPeriod.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 KnownAmountBondPaymentPeriod.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 KnownAmountBondPaymentPeriod.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 KnownAmountBondPaymentPeriod.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 String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<KnownAmountBondPaymentPeriod>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.