Class TradeConfPartsDef.SalesCommonTradeConfirmationFields
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesCommonTradeConfirmationFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradeConfPartsDef
public static final class TradeConfPartsDef.SalesCommonTradeConfirmationFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields
static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields
@Nullable String
@Nullable Boolean
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
@Nullable Boolean
@Nullable BigDecimal
@Nullable String
@Nullable Integer
@Nullable Boolean
@Nullable BigDecimal
@Nullable String
@Nullable String
@Nullable BigDecimal
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable BigDecimal
static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields.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
-
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.
-
getProfitRate
- Returns:
- The conversion rate from the contra currency into the profit currency.
-
getTraderSpotRate
- Returns:
- Can be formatted using DigitsBeforePips, NumberOfPips and SpotRateDPS
-
getSpotMargin
- Returns:
- Can be formatted using DigitsBeforePips, NumberOfPips and SpotRateDPS
-
getProfit
- Returns:
- The sales profit in the specified currency.
-
getCompetition
- Returns:
- Whether a quote request is in competition. For example, true for quotes from an ECN and false for quotes from an SDP
-
getSource
- Returns:
- The source of a quote request. The name or ID of an ECN, SDP or other channel
-
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.
-
getTraderRemarks
- Returns:
- The sale's comments on an order leg - visible to only the Trader and sales, set/edited only by the sales
-
getExternalRemarks
- Returns:
- The trader's comments on an order leg - visible to only the sales, set/edited only by the Trader
-
getIsAdvised
- Returns:
- Indicates whether the trader gave the client advice
-
getStreamingMode
- Returns:
- Indicates whether the rates/margins of this trade have been manually set
-
getSyntheticCrossCurrency
- Returns:
- The common currency of each synthetic component.
-
getAmendmentReasonDisplayFields
- Returns:
- Configuration for a frontend to display label-value pairs for the amendment type/reasons. Use DefaultDisplayFields builders to provide Caplin default fields.
-
getSpotTrader
- Returns:
- The Spot trader for a manual mode trade
-
getForwardPointsTrader
- Returns:
- The Forward points trader for a manual mode trade
-
getComponent1
@NotNull public @NotNull TradeConfPartsDef.SalesSyntheticComponentTradeConfirmationFields getComponent1()- Returns:
- component1
-
getComponent2
@NotNull public @NotNull TradeConfPartsDef.SalesSyntheticComponentTradeConfirmationFields 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 TradeConfPartsDef.SalesCommonTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
@NotNull public static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields.Builder newBuilder()
-