Class PostTradePartsDef.PostTradeFields

    • Method Detail

      • getTradeID

        @Nullable
        public @Nullable java.lang.String getTradeID()
        Returns:
        The unique id identifying the trade.
      • getOriginalAmount

        @Nullable
        public @Nullable java.math.BigDecimal getOriginalAmount()
        Returns:
        The original principal amount for the trade in capital increase.
      • 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.
      • getNumberOfDays

        @Nullable
        public @Nullable java.lang.String getNumberOfDays()
        Returns:
        The number of days between the start and maturity dates.
      • getInterestRate

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

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

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

        @Nullable
        public @Nullable java.lang.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].
      • getIncreasedAmount

        @Nullable
        public @Nullable java.math.BigDecimal getIncreasedAmount()
        Returns:
        The increased principal amount for the trade in capital increase.
      • getRolledAmount

        @Nullable
        public @Nullable java.math.BigDecimal getRolledAmount()
        Returns:
        The rolled principal amount for the trade in roll over.
      • getNoticePeriodDescription

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

        @Nullable
        public @Nullable java.lang.String getTOBOUser()
        Returns:
        The client who the trade is for.
      • getAccount

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

        @Nullable
        public @Nullable java.lang.Boolean getIsShariaTrade()
        Returns:
        Indicates whether the trade is a Sharia trade
      • 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 PostTradePartsDef.PostTradeFields from​(@NotNull
                                                                      @NotNull java.util.Map<java.lang.String,​java.lang.String> fields,
                                                                      @NotNull
                                                                      @NotNull java.lang.String fieldPrefix)