Package com.opengamma.strata.product.fx
Interface FxOptionTrade
-
- All Superinterfaces:
CalculationTarget
,FxTrade
,PortfolioItem
,ProductTrade
,Trade
- All Known Implementing Classes:
FxSingleBarrierOptionTrade
,FxVanillaOptionTrade
public interface FxOptionTrade extends FxTrade
A foreign exchange option trade such as a FxVanillaOptionTrade.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FxOptionProduct
getProduct()
Gets the underlying product that was agreed when the trade occurred.-
Methods inherited from interface com.opengamma.strata.product.PortfolioItem
getId
-
-
-
-
Method Detail
-
getProduct
FxOptionProduct getProduct()
Description copied from interface:ProductTrade
Gets the underlying product that was agreed when the trade occurred.The product captures the contracted financial details of the trade.
- Specified by:
getProduct
in interfaceFxTrade
- Specified by:
getProduct
in interfaceProductTrade
- Returns:
- the product
-
-