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 FraTradebuild()Objectget(String propertyName)FraTrade.Builderinfo(TradeInfo info)Sets the additional trade information, defaulted to an empty instance.FraTrade.Builderproduct(Fra product)Sets the FRA product that was agreed when the trade occurred.FraTrade.Builderset(String propertyName, Object newValue)FraTrade.Builderset(org.joda.beans.MetaProperty<?> property, Object value)StringtoString()
-
-
-
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
-
-