Class QuotePartsDef.SalesCommonFields
java.lang.Object
com.caplin.generated.motif.mm.rates.QuotePartsDef.SalesCommonFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- QuotePartsDef
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull QuotePartsDef.SalesCommonFields
static @NotNull QuotePartsDef.SalesCommonFields
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable BigDecimal
@Nullable Boolean
@Nullable String
@Nullable Integer
@Nullable Boolean
@Nullable BigDecimal
@Nullable String
@Nullable BigDecimal
static @NotNull QuotePartsDef.SalesCommonFields.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
-
getTraderInterestRate
- Returns:
- Interest rate on the given PrincipalAmount with no client margin applied to it.
-
getInterestMargin
- Returns:
- Interest margin on the given InterestRate.
-
getProfitCurrency
- Returns:
- The profit currency that the ProfitRate is being provided for.
-
getProfitCurrencyDPS
- Returns:
- The number of decimal places that should be used for formatting the amount in profit currency field.
-
getProfitIsHouse
- Returns:
- Whether the field ProfitCurrency is the system/house currency or not.
-
getProfitRate
- Returns:
- The conversion rate between the contra currency and the profit currency. This can be used for entering profit in an amount of settlement currency.
-
getReasons
- Returns:
- A JSON structure containing all the reasons and information about why the trade requires intervention. Use DefaultDisplayFields builders to provide Caplin default and/or custom fields.
-
getIsShariaTrade
- Returns:
- Indicates whether the trade is a Sharia trade
-
getDisplayFields
- Returns:
- Configuration for a frontend to display label-value pairs. Use DefaultDisplayFields builders to provide Caplin default and/or custom fields.
-
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.SalesCommonFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull QuotePartsDef.SalesCommonFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-