Package com.opengamma.strata.product.fra
Class FraTrade.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FraTrade>
-
- com.opengamma.strata.product.fra.FraTrade.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FraTrade
build()
Object
get(String propertyName)
FraTrade.Builder
info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.FraTrade.Builder
product(Fra product)
Sets the FRA product that was agreed when the trade occurred.FraTrade.Builder
set(String propertyName, Object newValue)
FraTrade.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
-
-
-
Method Detail
-
set
public FraTrade.Builder set(String propertyName, Object newValue)
-
set
public FraTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
-
build
public FraTrade build()
-
info
public FraTrade.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 FraTrade.Builder product(Fra product)
Sets the FRA product that was agreed when the trade occurred.The product captures the contracted financial details of the trade.
- Parameters:
product
- the new value, not null- Returns:
- this, for chaining, not null
-
-