Class PostTradePartsDef.PostTradeFields
java.lang.Object
com.caplin.generated.motif.mm.posttrade.PostTradePartsDef.PostTradeFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- PostTradePartsDef
public static final class PostTradePartsDef.PostTradeFields
extends Object
implements BuilderMessage
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PostTradePartsDef.PostTradeFields
static @NotNull PostTradePartsDef.PostTradeFields
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable BigDecimal
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable Boolean
@Nullable LocalDate
@Nullable String
@Nullable String
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable LocalDate
@Nullable String
@Nullable String
@Nullable String
static @NotNull PostTradePartsDef.PostTradeFields.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
-
getTradeID
- Returns:
- The unique id identifying the trade.
-
getOriginalAmount
- Returns:
- The original principal amount for the trade in capital increase.
-
getPrincipalAmount
- Returns:
- Principal amount for the trade specified in the provided Currency.
-
getStartDate
- Returns:
- The start date of the trade.
-
getMaturityDate
- Returns:
- The maturity date of the trade.
-
getNumberOfDays
- Returns:
- The number of days between the start and maturity dates.
-
getInterestRate
- Returns:
- Interest rate on the given PrincipalAmount.
-
getInterestRateDPS
- Returns:
- The precision for a specified InterestRate.
-
getCurrency
- Returns:
- The currency in which the trade is made.
-
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
- Returns:
- The increased principal amount for the trade in capital increase.
-
getRolledAmount
- Returns:
- The rolled principal amount for the trade in roll over.
-
getNoticePeriodDescription
- Returns:
- The notice period description for the trade, sent as the raw display value or a translation token.
-
getTOBOUser
- Returns:
- The client who the trade is for.
-
getAccount
- Returns:
- The used account for the trade.
-
getIsShariaTrade
- Returns:
- Indicates whether the trade is a Sharia trade
-
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.PostTradeFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull PostTradePartsDef.PostTradeFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-