Class TradeDetailsPartsDef.InterventionTradeDetailsFields
java.lang.Object
com.caplin.generated.motif.fx.tradedetails.TradeDetailsPartsDef.InterventionTradeDetailsFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradeDetailsPartsDef
public static final class TradeDetailsPartsDef.InterventionTradeDetailsFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeDetailsPartsDef.InterventionTradeDetailsFields
static @NotNull TradeDetailsPartsDef.InterventionTradeDetailsFields
@Nullable Boolean
@Nullable Boolean
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
@Nullable String
@Nullable String
Deprecated.@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
static @NotNull TradeDetailsPartsDef.InterventionTradeDetailsFields.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
-
getInterventionStatus
Deprecated.- Returns:
- Use the TradeStatus field instead
-
getInterventionTradingType
- Returns:
- The type of intervention that is required. Caplin supported values are [RFS, ALLOCATION, ALGO]. RFS is assumed if this is not specified. Constants are defined within com.caplin.motif.fx.trading.InterventionTradingType.
-
getInterventionMode
- Returns:
- Determine what type of intervention is required, such as whether it requires pricing or whether it is a simple accept/reject. Caplin supported values are [ACCEPT, PRICE]. PRICE is assumed if this is not specified.
-
getTradeStatus
- Returns:
- The current status of the trade. Supported types are [AWAITING-TRADER, AWAITING-PRICE, PRICED, EXECUTING, CLOSED, REJECTED, ERRORED, COMPLETED]. CLOSED means the client cancelled the trade request, REJECTED indicates it was rejected by the dealer.
-
getDealable
- Returns:
- Whether a trade request can be picked up by a sales trader
-
getPricingMode
- Returns:
- Whether the trade is being automatically or manually priced. Supported types are [AUTO, MANUAL]
-
getCompetition
- Returns:
- Whether a quote request is in competition. For example, true for quotes from an ECN and false for quotes from an SDP
-
getPrimaryReason
- Returns:
- The headline reason that a trade requires intervention.
-
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.
-
getTradeRequestID
- Returns:
- tradeRequestID
-
getSource
- Returns:
- The source of a quote request. The name or ID of an ECN, SDP or other channel
-
getIntervenerUsername
- Returns:
- The user who is currently intervening on and potentially pricing a trade.
-
getEntityDescription
- Returns:
- The description of a trade on behalf of entity.
-
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 TradeDetailsPartsDef.InterventionTradeDetailsFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeDetailsPartsDef.InterventionTradeDetailsFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
@NotNull public static @NotNull TradeDetailsPartsDef.InterventionTradeDetailsFields.Builder newBuilder()
-