Class PostTradePartsDef.PostTradeDetailsUpdate

java.lang.Object
com.caplin.generated.motif.mm.posttrade.PostTradePartsDef.PostTradeDetailsUpdate
All Implemented Interfaces:
BuilderMessage, Message
Enclosing class:
PostTradePartsDef

public static final class PostTradePartsDef.PostTradeDetailsUpdate extends Object implements BuilderMessage
  • Method Details

    • getInterestRate

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

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

      @Nullable public @Nullable String getNoticePeriodDescription()
      Returns:
      The notice period description for the trade, sent as the raw display value or a translation token.
    • getTradingType

      @Nullable public @Nullable String getTradingType()
      Returns:
      The type of the trade. Supported types are [LOAN, DEPOSIT, CALL-DEPOSIT, TERM-DEPOSIT, FLEXI-NOTICE-DEPOSIT, TREASURY-BILL or GOVERNMENT-BOND].
    • getStartDate

      @Nullable public @Nullable LocalDate getStartDate()
      Returns:
      The start date of the trade.
    • getMaturityDate

      @Nullable public @Nullable LocalDate getMaturityDate()
      Returns:
      The maturity date of the trade.
    • getPrincipalAmount

      @Nullable public @Nullable BigDecimal getPrincipalAmount()
      Returns:
      Principal amount for the trade specified in the provided Currency.
    • getCurrency

      @Nullable public @Nullable String getCurrency()
      Returns:
      The currency in which the trade is made.
    • getIsShariaTrade

      @Nullable public @Nullable Boolean getIsShariaTrade()
      Returns:
      Indicates whether the trade is a Sharia trade
    • getAccount

      @Nullable public @Nullable String getAccount()
      Returns:
      The used account for the trade.
    • getIndicativeProfitRate

      @Nullable public @Nullable String getIndicativeProfitRate()
      Returns:
      Indicative profit rate on the given PrincipalAmount.
    • 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 PostTradePartsDef.PostTradeDetailsUpdate from(@NotNull @NotNull Map<String,String> fields)
    • from

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

      @NotNull public static @NotNull PostTradePartsDef.PostTradeDetailsUpdate.Builder newBuilder()