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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull QuotePartsDef.SalesCommonFieldsstatic @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 BigDecimal@Nullable BigDecimal@Nullable Boolean@Nullable String@Nullable String@Nullable BigDecimal@Nullable BigDecimalstatic @NotNull QuotePartsDef.SalesCommonFields.Builder@NotNull StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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.
-
getSpotPriceMode
- Returns:
- Indicates whether the Spot values provided by the pricing engine have been automatically or manually priced. Enum of: MANUAL, AUTO
-
getSpotMarginAgreed
- Returns:
- This flag shows if the user can(false)/cannot(true) exceed the agreed margin or not
-
getReferenceSpotBidRate
- Returns:
- This field represents the reference spot bid rate with no client margin applied to it.
-
getReferenceSpotAskRate
- Returns:
- This field represents the reference spot ask rate with no client margin applied to it.
-
getComponent1
- Returns:
- component1
-
getComponent2
- Returns:
- component2
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlagsin interfaceBuilderMessage- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFieldsin 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
-