Class BlotterPartsDef.CommonBlotterFields
java.lang.Object
com.caplin.generated.motif.fx.blotter.BlotterPartsDef.CommonBlotterFields
- All Implemented Interfaces:
BuilderMessage,Message
- Enclosing class:
- BlotterPartsDef
public static final class BlotterPartsDef.CommonBlotterFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BlotterPartsDef.CommonBlotterFieldsstatic @NotNull BlotterPartsDef.CommonBlotterFields@Nullable String@Nullable Boolean@Nullable String@NotNull Map<String,Collection<String>> @NotNull Map<String,Collection<String>> @Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable String@Nullable StringgetUSI()static @NotNull BlotterPartsDef.CommonBlotterFields.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
-
getBaseCurrency
- Returns:
- The first currency listed in the currency pair.
-
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.
-
getIsReversible
- Returns:
- Whether a trade can be reversed.
-
getIsAmendable
- Returns:
- Whether a trade can be amended.
-
getIsCancellable
- Returns:
- Whether a trade can be cancelled.
-
getExecutionStyle
- Returns:
- The execution style. Caplin supported types are [ORDER, RFS, ESP]
-
getUSI
- Returns:
- Unique swap identifier, global unique transaction identifier.
-
getCanLaunchTradeConfirmation
- Returns:
- Indicates whether the user can launch the trade confirmation ticket
-
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 BlotterPartsDef.CommonBlotterFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull BlotterPartsDef.CommonBlotterFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-