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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PostTradePartsDef.PostTradeDetailsUpdatestatic @NotNull PostTradePartsDef.PostTradeDetailsUpdate@Nullable String@Nullable String@NotNull Map<String,Collection<String>> @NotNull Map<String,Collection<String>> @Nullable String@Nullable BigDecimal@Nullable BigDecimal@Nullable Boolean@Nullable LocalDate@Nullable String@Nullable BigDecimal@Nullable LocalDate@Nullable Stringstatic @NotNull PostTradePartsDef.PostTradeDetailsUpdate.Builder@NotNull StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getInterestRate
- Returns:
- Interest rate on the given PrincipalAmount.
-
getInterestRateDPS
- Returns:
- The precision for a specified InterestRate.
-
getNoticePeriodDescription
- Returns:
- The notice period description for the trade, sent as the raw display value or a translation token.
-
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
- Returns:
- The start date of the trade.
-
getMaturityDate
- Returns:
- The maturity date of the trade.
-
getRemainingAmount
- Returns:
- The remaining amount on the trade specified in the provided Currency.
-
getCurrency
- Returns:
- The currency in which the trade is made.
-
getIsShariaTrade
- Returns:
- Indicates whether the trade is a Sharia trade
-
getAccount
- Returns:
- The used account for the trade.
-
getIndicativeProfitRate
- Returns:
- Indicative profit rate on the given PrincipalAmount.
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlagsin interfaceBuilderMessage- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFieldsin interfaceBuilderMessage- Returns:
- Get the fields for all flags.
-
toString
-
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
-