Class QuotePartsDef.SalesCommonFields
java.lang.Object
com.caplin.generated.motif.fx.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 BigDecimal
@Nullable BigDecimal
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable Boolean
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable String
@Nullable Integer
@Nullable Boolean
@Nullable String
@Nullable String
@Nullable BigDecimal
@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
-
getTraderSpotBidRate
- Returns:
- This field represents the spot bid rate with no client margin applied to it.
-
getTraderSpotAskRate
- Returns:
- This field represents the spot ask rate with no client margin applied to it.
-
getDefaultSpotBidMargin
- Returns:
- This field represents the default margin to be applied to the SpotBidRate. It should be sent as an unformatted, raw value.
-
getDefaultSpotAskMargin
- Returns:
- This field represents the default margin to be applied to the SpotAskRate. It should be sent as an unformatted, raw value.
-
getProfitCurrency
- Returns:
- The profit currency that the ProfitBidRate 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.
-
getProfitBidRate
- 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.
-
getProfitAskRate
- 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. Please see the Sales Intervention Reasons documentation on the website for more information.
-
getSyntheticCrossCurrency
- Returns:
- The common currency of each synthetic component.
-
getForceManual
- Returns:
- If this field is set to true then the Sales RFS ticket should be forced into manual pricing mode. If not specified, the default is false.
-
getComponent1
- Returns:
- component1
-
getComponent2
- Returns:
- component2
-
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
-