public static final class BulletPaymentTrade.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BulletPaymentTrade>
BulletPaymentTrade
.Modifier and Type | Method and Description |
---|---|
BulletPaymentTrade |
build() |
Object |
get(String propertyName) |
BulletPaymentTrade.Builder |
info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.
|
BulletPaymentTrade.Builder |
product(BulletPayment product)
Sets the product that was agreed when the trade occurred.
|
BulletPaymentTrade.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
BulletPaymentTrade.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get
in interface org.joda.beans.BeanBuilder<BulletPaymentTrade>
get
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BulletPaymentTrade>
public BulletPaymentTrade.Builder set(String propertyName, Object newValue)
public BulletPaymentTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set
in interface org.joda.beans.BeanBuilder<BulletPaymentTrade>
set
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BulletPaymentTrade>
public BulletPaymentTrade build()
public BulletPaymentTrade.Builder info(TradeInfo info)
This allows additional information to be attached to the trade.
info
- the new value, not nullpublic BulletPaymentTrade.Builder product(BulletPayment product)
The product captures the contracted financial details of the trade.
product
- the new value, not nullpublic String toString()
toString
in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BulletPaymentTrade>
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.