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