Class QuotePartsDef.SalesSwapQuoteFields.Builder

    • Method Detail

      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setTraderSwapAskPoints

        @NotNull
        public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapAskPoints​(@NotNull
                                                                                          @NotNull java.math.BigDecimal traderSwapAskPoints)
        Parameters:
        traderSwapAskPoints - e.g. 0.004894
        Returns:
        The swap ask points with no client margins applied to them.
      • setTraderSwapAskPoints

        @NotNull
        public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapAskPoints​(@NotNull
                                                                                          @NotNull java.lang.String traderSwapAskPoints)
        Parameters:
        traderSwapAskPoints - e.g. 0.004894
        Returns:
        The swap ask points with no client margins applied to them.
      • setDefaultSwapAskMargin

        @NotNull
        public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setDefaultSwapAskMargin​(@NotNull
                                                                                           @NotNull java.math.BigDecimal defaultSwapAskMargin)
        Parameters:
        defaultSwapAskMargin - e.g. 0.000040
        Returns:
        The default swap margin to be applied to the ask side: L1_DefaultFwdBidMargin + L2_DefaultFwdAskMargin
      • setDefaultSwapAskMargin

        @NotNull
        public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setDefaultSwapAskMargin​(@NotNull
                                                                                           @NotNull java.lang.String defaultSwapAskMargin)
        Parameters:
        defaultSwapAskMargin - e.g. 0.000040
        Returns:
        The default swap margin to be applied to the ask side: L1_DefaultFwdBidMargin + L2_DefaultFwdAskMargin
      • setTraderSwapBidPoints

        @NotNull
        public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapBidPoints​(@NotNull
                                                                                          @NotNull java.math.BigDecimal traderSwapBidPoints)
        Parameters:
        traderSwapBidPoints - e.g. 0.004211
        Returns:
        The swap bid points with no client margins applied to them.
      • setTraderSwapBidPoints

        @NotNull
        public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapBidPoints​(@NotNull
                                                                                          @NotNull java.lang.String traderSwapBidPoints)
        Parameters:
        traderSwapBidPoints - e.g. 0.004211
        Returns:
        The swap bid points with no client margins applied to them.
      • setDefaultSwapBidMargin

        @NotNull
        public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setDefaultSwapBidMargin​(@NotNull
                                                                                           @NotNull java.math.BigDecimal defaultSwapBidMargin)
        Parameters:
        defaultSwapBidMargin - e.g. 0.000040
        Returns:
        The default swap margin to be applied to the bid side: L1_DefaultFwdAskMargin + L2_DefaultFwdBidMargin
      • setDefaultSwapBidMargin

        @NotNull
        public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setDefaultSwapBidMargin​(@NotNull
                                                                                           @NotNull java.lang.String defaultSwapBidMargin)
        Parameters:
        defaultSwapBidMargin - e.g. 0.000040
        Returns:
        The default swap margin to be applied to the bid side: L1_DefaultFwdAskMargin + L2_DefaultFwdBidMargin