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