Class QuotePartsDef.CommonFields
java.lang.Object
com.caplin.generated.motif.mm.rates.QuotePartsDef.CommonFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- QuotePartsDef
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull QuotePartsDef.CommonFields
static @NotNull QuotePartsDef.CommonFields
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable BigDecimal
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable String
@Nullable Integer
@Nullable Integer
static @NotNull QuotePartsDef.CommonFields.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
-
getLoanQuoteID
- Returns:
- Unique id for a loan quote, used to determine which quote has been used for trade execution.
-
getDepositQuoteID
- Returns:
- Unique id for a deposit quote, used to determine which quote has been used for trade execution.
-
getLoanInterestRate
- Returns:
- Interest rate on loaning the given PrincipalAmount.
-
getInterestRateDPS
- Returns:
- The precision for a specified InterestRate.
-
getDepositInterestRate
- Returns:
- Interest rate on depositing the given PrincipalAmount.
-
getDepositClientInterestRate
- Returns:
- Client interest rate on depositing the given PrincipalAmount.
-
getLoanInterestAmount
- Returns:
- Interest amount (specified in the provided Currency) calculated from the loan interest rate and principal amount
-
getDepositInterestAmount
- Returns:
- Interest amount (specified in the provided Currency) calculated from the deposit interest rate and principal amount
-
getLoanPrincipalPlusInterest
- Returns:
- Composite amount between principal amount and loan interest amount.
-
getDepositPrincipalPlusInterest
- Returns:
- Composite amount between principal amount and deposit interest amount.
-
getOverallTimeout
- Returns:
- The amount in seconds in which the trade will expire.
-
getRemainingTimeOutMillis
- Returns:
- The number of milliseconds remaining of the OverallTimeOut before this stream is timed out. This is not present for standard price updates.
-
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 QuotePartsDef.CommonFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull QuotePartsDef.CommonFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-