Class TradeDetailsPartsDef.TradeDetailsFields

    • Method Detail

      • getCurrency

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

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

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

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

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

        @Nullable
        public @Nullable java.math.BigDecimal getInterestAmount()
        Returns:
        Interest amount (specified in the provided Currency) calculated from the interest rate and principal amount
      • getFields

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.lang.String> getFields()
        Specified by:
        getFields in interface Message
      • getFieldFlags

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

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

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

        @NotNull
        public static @NotNull TradeDetailsPartsDef.TradeDetailsFields from​(@NotNull
                                                                            @NotNull java.util.Map<java.lang.String,​java.lang.String> fields,
                                                                            @NotNull
                                                                            @NotNull java.lang.String fieldPrefix)