Class TradeConfPartsDef.CommonTradeConfirmationFields
java.lang.Object
com.caplin.generated.motif.mm.tradeconfirmation.TradeConfPartsDef.CommonTradeConfirmationFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradeConfPartsDef
public static final class TradeConfPartsDef.CommonTradeConfirmationFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeConfPartsDef.CommonTradeConfirmationFields
static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable Boolean
@Nullable Boolean
@Nullable Boolean
@Nullable Boolean
@Nullable Boolean
@Nullable Boolean
@Nullable Boolean
@Nullable String
@Nullable Instant
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable BigDecimal
getFees()
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable Boolean
@Nullable String
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable Boolean
@Nullable LocalDate
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable String
@Nullable String
@Nullable LocalDate
@Nullable String
@Nullable String
getTags()
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields.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
-
getTOBOUser
- Returns:
- The client who the trade is for.
-
getTraderUsername
- Returns:
- The name of the trader providing the price to the user, or NO_TRADER if there is none.
-
getAccount
- Returns:
- The used account for the trade.
-
getAction
- Returns:
- Withdraw or deposit for Call Deposit.
-
getCallAccount
- Returns:
- The account which is being withdrawn from or deposited to.
-
getCurrency
- Returns:
- The currency in which the trade is made.
-
getMaturityDate
- Returns:
- The maturity date of the trade.
-
getMaturityTenor
- Returns:
- The maturity tenor of the trade.
-
getStartDate
- Returns:
- The start date of the trade.
-
getStartTenor
- Returns:
- The start tenor of the trade.
-
getTradeID
- Returns:
- The unique id identifying the trade.
-
getPrincipalAmount
- Returns:
- Principal amount for the trade specified in the provided Currency.
-
getInterestRate
- Returns:
- Interest rate on the given PrincipalAmount.
-
getIndicativeProfitRate
- Returns:
- Indicative profit rate on the given PrincipalAmount.
-
getInterestRateDPS
- Returns:
- The precision for a specified InterestRate.
-
getInterestAmount
- Returns:
- Interest amount (specified in the provided Currency) calculated from the interest rate and principal amount.
-
getPrincipalPlusInterest
- Returns:
- Composite amount between principal amount and interest amount.
-
getPaymentFrequency
- Returns:
- Interest payment frequencies for term deposits, this could be ZERO-COUPON, MONTHLY, QUARTERLY, SEMI-ANNUALLY or ANNUALLY.
-
getAllocationMode
- Returns:
- Determines whether the amount will be alLocated to a single or multiple accounts. Supported types are [SINGLE, MULTIPLE] and is defaulted to SINGLE.
-
getNumberOfDays
- Returns:
- The number of days between the start and maturity dates.
-
getExecutionDateTime
- Returns:
- executionDateTime e.g. 20160322123621
-
getEntityId
- Returns:
- The entity the trade is on behalf of. For example, if the logged in user user1@customer.co.za wishes to make a trade on behalf of entity CUSTONE, then the value of this field will be CUSTONE. If this field is absent on a leg then the default entity should be presumed.
-
getEntityDescription
- Returns:
- The description of a trade on behalf of entity.
-
getTradeDate
- Returns:
- tradeDate e.g. 20160314
-
getTradingType
- Returns:
- The type of the trade. Supported types are [LOAN, DEPOSIT, CALL-DEPOSIT, TERM-DEPOSIT, FLEXI-NOTICE-DEPOSIT, TREASURY-BILL or GOVERNMENT-BOND].
-
getQuoteID
- Returns:
- Unique id for a quote, used to determine which quote has been used for trade execution.
-
getQuoteDateTime
- Returns:
- quoteDateTime e.g. 20160314013000
-
getCanAffirm
- Returns:
- Ability to Affirm the Trade Details are as agreed.
-
getDisplayFields
- Returns:
- Configuration for a frontend to display label-value pairs. Use DefaultDisplayFields builders to provide Caplin default and/or custom fields.
-
getCanCapitalIncrease
- Returns:
- Ability to Capital Increase the Trade amount.
-
getCanRollOver
- Returns:
- Ability to Roll Over the Trade amount.
-
getCanChangeSSI
- Returns:
- Ability to Change the Settlement Instructions.
-
getCanGiveNotice
- Returns:
- Ability to Give notice for Money Market trades.
-
getHasPostTradeHistory
- Returns:
- Define whether post-trade history (related deals) is available.
-
getNoticePeriodDescription
- Returns:
- The notice period description for the trade, sent as the raw display value or a translation token.
-
getNoticePeriod
- Returns:
- The notice period for the trade.
-
getIsShariaTrade
- Returns:
- Indicates whether the trade is a Sharia trade
-
getCanConfirm
- Returns:
- Ability to Confirm the Settlement Details are now final.
-
getConfirmedBy
- Returns:
- The name of the user who confirmed a trade.
-
getTags
- Returns:
- Tags for a trade.
-
getConfirmedDateTime
- Returns:
- The time at which a trade was confirmed in ISO-8601 format
-
getCanUnwind
- Returns:
- Ability to Unwind the Trade amount.
-
getFees
- Returns:
- Fees on the given PrincipalAmount for unwind.
-
getParentTradeID
- Returns:
- The unique id identifying the parent trade of this trade in the case of post trade workflows.
-
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 TradeConfPartsDef.CommonTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
@NotNull public static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields.Builder newBuilder()
-