Class ResolvedBulletPaymentTrade.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBulletPaymentTrade>
-
- com.opengamma.strata.product.payment.ResolvedBulletPaymentTrade.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<ResolvedBulletPaymentTrade>
- Enclosing class:
- ResolvedBulletPaymentTrade
public static final class ResolvedBulletPaymentTrade.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBulletPaymentTrade>
The bean-builder forResolvedBulletPaymentTrade
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolvedBulletPaymentTrade
build()
Object
get(String propertyName)
ResolvedBulletPaymentTrade.Builder
info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.ResolvedBulletPaymentTrade.Builder
product(ResolvedBulletPayment product)
Sets the resolved bullet payment product.ResolvedBulletPaymentTrade.Builder
set(String propertyName, Object newValue)
ResolvedBulletPaymentTrade.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<ResolvedBulletPaymentTrade>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBulletPaymentTrade>
-
set
public ResolvedBulletPaymentTrade.Builder set(String propertyName, Object newValue)
-
set
public ResolvedBulletPaymentTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<ResolvedBulletPaymentTrade>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBulletPaymentTrade>
-
build
public ResolvedBulletPaymentTrade build()
-
info
public ResolvedBulletPaymentTrade.Builder info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.This allows additional information to be attached to the trade.
- Parameters:
info
- the new value, not null- Returns:
- this, for chaining, not null
-
product
public ResolvedBulletPaymentTrade.Builder product(ResolvedBulletPayment product)
Sets the resolved bullet payment product.The product captures the contracted financial details of the trade.
- Parameters:
product
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBulletPaymentTrade>
-
-