Class BlotterPartsDef.OutrightQuoteBlotterFields
java.lang.Object
com.caplin.generated.motif.fx.blotter.BlotterPartsDef.OutrightQuoteBlotterFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- BlotterPartsDef
public static final class BlotterPartsDef.OutrightQuoteBlotterFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BlotterPartsDef.OutrightQuoteBlotterFields
static @NotNull BlotterPartsDef.OutrightQuoteBlotterFields
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
@Nullable Instant
@Nullable String
@Nullable BigDecimal
@Nullable String
@Nullable String
@Nullable String
@Nullable String
static @NotNull BlotterPartsDef.OutrightQuoteBlotterFields.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
-
getRequestID
- Returns:
- The ID of the request.
-
getTradeID
- Returns:
- A unique identifier for this trade
-
getAccount
- Returns:
- The account a trade or order has been submitted against. The format is <description>|<name> or <name>|<name>
-
getEntityDescription
- Returns:
- The description of a trade on behalf of entity.
-
getTraderUsername
- Returns:
- The user who entered the trade. This may be on behalf of themselves, or on behalf of someone else. For example, if the logged in user dealer1@novobank.co.za wishes to make a trade on behalf of user client@customer.co.za, then the value of this field will be dealer1@novobank.co.za. If the user client@customer.co.za makes a trade on behalf of themselves it will be client@customer.co.za.
-
getRequestDateTime
- Returns:
- The time and date of when the request was sent.
-
getStatus
- Returns:
- Status of the trade. Frontends may use this value for display purpose, but no logic is associated with it. Use Can* flags to drive post-trade logic.
-
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.
-
getCurrencyPair
- Returns:
- The currency pair for the trade. For example, EURUSD
-
getDealtCurrency
- Returns:
- The currency of the Amount of a trade or order.
-
getSpotRate
- Returns:
- spotRate e.g. 1.08341
-
getRemarks
- Returns:
- The text content of a comment left on a leg of a trade or order, visible to Client and sales and possibly the trader, set/edited by Client or sales
-
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.OutrightQuoteBlotterFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull BlotterPartsDef.OutrightQuoteBlotterFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-