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
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BlotterPartsDef.CommonBlotterFields
static @NotNull BlotterPartsDef.CommonBlotterFields
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable Boolean
@Nullable Boolean
@Nullable Boolean
@Nullable String
@Nullable String
getUSI()
static @NotNull BlotterPartsDef.CommonBlotterFields.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
-
getBaseCurrency
- Returns:
- baseCurrency e.g. USD
-
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.
-
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 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
-