public static final class BulletPayment.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BulletPayment>
BulletPayment.| Modifier and Type | Method and Description |
|---|---|
BulletPayment |
build() |
BulletPayment.Builder |
date(AdjustableDate date)
Sets the date that the payment is made.
|
Object |
get(String propertyName) |
BulletPayment.Builder |
payReceive(PayReceive payReceive)
Sets whether the payment is to be paid or received.
|
BulletPayment.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
BulletPayment.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
BulletPayment.Builder |
value(CurrencyAmount value)
Sets the amount of the payment.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<BulletPayment>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BulletPayment>public BulletPayment.Builder set(String propertyName, Object newValue)
public BulletPayment.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<BulletPayment>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BulletPayment>public BulletPayment build()
public BulletPayment.Builder payReceive(PayReceive payReceive)
A value of 'Pay' implies that the amount is paid to the counterparty. A value of 'Receive' implies that the amount is received from the counterparty.
payReceive - the new value, not nullpublic BulletPayment.Builder value(CurrencyAmount value)
The amount is unsigned, with the direction implied by payReceive.
value - the new value, not nullpublic BulletPayment.Builder date(AdjustableDate date)
This date should normally be a valid business day.
date - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BulletPayment>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.