public static final class CommitmentAdjustment.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CommitmentAdjustment>
CommitmentAdjustment
.Modifier and Type | Method and Description |
---|---|
CommitmentAdjustment.Builder |
amount(com.opengamma.strata.basics.currency.CurrencyAmount amount)
Sets the contract event global amount.
|
CommitmentAdjustment |
build() |
CommitmentAdjustment.Builder |
effectiveDate(java.time.LocalDate effectiveDate)
Sets the effective date of the event.
|
Object |
get(String propertyName) |
CommitmentAdjustment.Builder |
pik(boolean pik)
Sets flag indicating that this adjustment represents a capitalization from a PIK accrual.
|
CommitmentAdjustment.Builder |
refusalAllowed(boolean refusalAllowed)
Sets if true, indicates a non-prorata adjustment, e.g.
|
CommitmentAdjustment.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
CommitmentAdjustment.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get
in interface org.joda.beans.BeanBuilder<CommitmentAdjustment>
get
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CommitmentAdjustment>
public CommitmentAdjustment.Builder set(String propertyName, Object newValue)
public CommitmentAdjustment.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set
in interface org.joda.beans.BeanBuilder<CommitmentAdjustment>
set
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CommitmentAdjustment>
public CommitmentAdjustment build()
public CommitmentAdjustment.Builder effectiveDate(java.time.LocalDate effectiveDate)
effectiveDate
- the new value, not nullpublic CommitmentAdjustment.Builder amount(com.opengamma.strata.basics.currency.CurrencyAmount amount)
amount
- the new valuepublic CommitmentAdjustment.Builder pik(boolean pik)
pik
- the new valuepublic CommitmentAdjustment.Builder refusalAllowed(boolean refusalAllowed)
refusalAllowed
- the new valuepublic String toString()
toString
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CommitmentAdjustment>
Copyright © 2018. All rights reserved.