Class ResolvedFxSwapTrade.Builder

  • All Implemented Interfaces:
    org.joda.beans.BeanBuilder<ResolvedFxSwapTrade>
    Enclosing class:
    ResolvedFxSwapTrade

    public static final class ResolvedFxSwapTrade.Builder
    extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedFxSwapTrade>
    The bean-builder for ResolvedFxSwapTrade.
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String propertyName)
        Specified by:
        get in interface org.joda.beans.BeanBuilder<ResolvedFxSwapTrade>
        Overrides:
        get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedFxSwapTrade>
      • info

        public ResolvedFxSwapTrade.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 ResolvedFxSwapTrade.Builder product​(ResolvedFxSwap product)
        Sets the resolved FX swap 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 java.lang.String toString()
        Overrides:
        toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedFxSwapTrade>