Class BlotterPartsDef.MissedTradeLegFields.Builder

java.lang.Object
com.caplin.generated.motif.fx.blotter.BlotterPartsDef.MissedTradeLegFields.Builder
Enclosing class:
BlotterPartsDef.MissedTradeLegFields

public static final class BlotterPartsDef.MissedTradeLegFields.Builder extends Object
  • Method Details

    • addField

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
    • build

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields build()
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object
    • setAmount

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAmount(@NotNull @NotNull BigDecimal amount)
      Returns:
      The amount of a trade or order in the DealtCurrency.
    • setAmount

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAmount(@NotNull @NotNull String amount)
      Returns:
      The amount of a trade or order in the DealtCurrency.
    • setStartDate

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setStartDate(@NotNull @NotNull String startDate)
      Parameters:
      startDate - e.g. 20150620
      Returns:
      The date of which the time option becomes active from.
    • setSettlementDate

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setSettlementDate(@NotNull @NotNull String settlementDate)
      Parameters:
      settlementDate - e.g. 20160314
      Returns:
      The date on which the two currencies in the FX trade are exchanged. Can be a tenor or a broken date, i.e. SPOT or 20160314.
    • setAllInBidRate

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInBidRate(@NotNull @NotNull BigDecimal allInBidRate)
      Parameters:
      allInBidRate - e.g. 1.091790
      Returns:
      The bid rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.
    • setAllInBidRate

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInBidRate(@NotNull @NotNull String allInBidRate)
      Parameters:
      allInBidRate - e.g. 1.091790
      Returns:
      The bid rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.
    • setAllInAskRate

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInAskRate(@NotNull @NotNull BigDecimal allInAskRate)
      Parameters:
      allInAskRate - e.g. 1.091790
      Returns:
      The ask rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.
    • setAllInAskRate

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInAskRate(@NotNull @NotNull String allInAskRate)
      Parameters:
      allInAskRate - e.g. 1.091790
      Returns:
      The ask rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.
    • setAllInAskMargin

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInAskMargin(@NotNull @NotNull BigDecimal allInAskMargin)
      Parameters:
      allInAskMargin - e.g. 1.091790
      Returns:
      This field represents the all-in bid rate, with client margin applied to it
    • setAllInAskMargin

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInAskMargin(@NotNull @NotNull String allInAskMargin)
      Parameters:
      allInAskMargin - e.g. 1.091790
      Returns:
      This field represents the all-in bid rate, with client margin applied to it
    • setAllInBidMargin

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInBidMargin(@NotNull @NotNull BigDecimal allInBidMargin)
      Parameters:
      allInBidMargin - e.g. 1.091790
      Returns:
      This field represents the all-in bid rate, with client margin applied to it
    • setAllInBidMargin

      @NotNull public @NotNull BlotterPartsDef.MissedTradeLegFields.Builder setAllInBidMargin(@NotNull @NotNull String allInBidMargin)
      Parameters:
      allInBidMargin - e.g. 1.091790
      Returns:
      This field represents the all-in bid rate, with client margin applied to it