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
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PostTradePartsDef.PostTradeDetailsUpdate
static @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 String
static @NotNull PostTradePartsDef.PostTradeDetailsUpdate.Builder
@NotNull String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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.
-
getPrincipalAmount
- Returns:
- Principal amount for 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:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFields
in 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
-