Class TradeDetailsPartsDef.TradeDetailsFields
java.lang.Object
com.caplin.generated.motif.fx.tradedetails.TradeDetailsPartsDef.TradeDetailsFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradeDetailsPartsDef
public static final class TradeDetailsPartsDef.TradeDetailsFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeDetailsPartsDef.TradeDetailsFields
static @NotNull TradeDetailsPartsDef.TradeDetailsFields
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
static @NotNull TradeDetailsPartsDef.TradeDetailsFields.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
-
getCurrencyPair
- Returns:
- The currency pair for the trade. For example, EURUSD
-
getDealtCurrency
- Returns:
- The currency of the Amount of a trade or order.
-
getTradingType
- Returns:
- Caplin supported values are [SPOT, FWD, NDF, NDF_FIXING, NDS, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD]. See the constants defined within com.caplin.motif.fx.trading.FXTradingType for further details.
-
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.TradeDetailsFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeDetailsPartsDef.TradeDetailsFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-