Interface ProductTrade

    • Method Detail

      • getProduct

        Product getProduct()
        Gets the underlying product that was agreed when the trade occurred.

        The product captures the contracted financial details of the trade.

        Returns:
        the product
      • withInfo

        ProductTrade withInfo​(TradeInfo info)
        Returns an instance with the specified info.
        Specified by:
        withInfo in interface Trade
        Parameters:
        info - the new info
        Returns:
        the instance with the specified info