Class QuotePartsDef.CommonFields

java.lang.Object
com.caplin.generated.motif.mm.rates.QuotePartsDef.CommonFields
All Implemented Interfaces:
BuilderMessage, Message
Enclosing class:
QuotePartsDef

public static final class QuotePartsDef.CommonFields extends Object implements BuilderMessage
  • Method Details

    • getLoanQuoteID

      @Nullable public @Nullable String getLoanQuoteID()
      Returns:
      Unique id for a loan quote, used to determine which quote has been used for trade execution.
    • getDepositQuoteID

      @Nullable public @Nullable String getDepositQuoteID()
      Returns:
      Unique id for a deposit quote, used to determine which quote has been used for trade execution.
    • getLoanInterestRate

      @Nullable public @Nullable BigDecimal getLoanInterestRate()
      Returns:
      Interest rate on loaning the given PrincipalAmount.
    • getInterestRateDPS

      @Nullable public @Nullable BigDecimal getInterestRateDPS()
      Returns:
      The precision for a specified InterestRate.
    • getDepositInterestRate

      @Nullable public @Nullable BigDecimal getDepositInterestRate()
      Returns:
      Interest rate on depositing the given PrincipalAmount.
    • getDepositClientInterestRate

      @Nullable public @Nullable BigDecimal getDepositClientInterestRate()
      Returns:
      Client interest rate on depositing the given PrincipalAmount.
    • getLoanInterestAmount

      @Nullable public @Nullable BigDecimal getLoanInterestAmount()
      Returns:
      Interest amount (specified in the provided Currency) calculated from the loan interest rate and principal amount
    • getDepositInterestAmount

      @Nullable public @Nullable BigDecimal getDepositInterestAmount()
      Returns:
      Interest amount (specified in the provided Currency) calculated from the deposit interest rate and principal amount
    • getLoanPrincipalPlusInterest

      @Nullable public @Nullable BigDecimal getLoanPrincipalPlusInterest()
      Returns:
      Composite amount between principal amount and loan interest amount.
    • getDepositPrincipalPlusInterest

      @Nullable public @Nullable BigDecimal getDepositPrincipalPlusInterest()
      Returns:
      Composite amount between principal amount and deposit interest amount.
    • getOverallTimeout

      @Nullable public @Nullable Integer getOverallTimeout()
      Returns:
      The amount in seconds in which the trade will expire.
    • getRemainingTimeOutMillis

      @Nullable public @Nullable Integer getRemainingTimeOutMillis()
      Returns:
      The number of milliseconds remaining of the OverallTimeOut before this stream is timed out. This is not present for standard price updates.
    • getFields

      @NotNull public @NotNull Map<String,String> getFields()
      Specified by:
      getFields in interface Message
    • getFieldFlags

      @NotNull public @NotNull Map<String,Collection<String>> getFieldFlags()
      Specified by:
      getFieldFlags in interface BuilderMessage
      Returns:
      Get the flags for all fields.
    • getFlagFields

      @NotNull public @NotNull Map<String,Collection<String>> getFlagFields()
      Specified by:
      getFlagFields in interface BuilderMessage
      Returns:
      Get the fields for all flags.
    • toString

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

      @NotNull public static @NotNull QuotePartsDef.CommonFields from(@NotNull @NotNull Map<String,String> fields)
    • from

      @NotNull public static @NotNull QuotePartsDef.CommonFields from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
    • newBuilder

      @NotNull public static @NotNull QuotePartsDef.CommonFields.Builder newBuilder()