Class OrderDetailsPartsDef.CommonFields
java.lang.Object
com.caplin.generated.motif.fx.orders.OrderDetailsPartsDef.CommonFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- OrderDetailsPartsDef
public static final class OrderDetailsPartsDef.CommonFields
extends Object
implements BuilderMessage
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull OrderDetailsPartsDef.CommonFields
static @NotNull OrderDetailsPartsDef.CommonFields
@Nullable String
@Nullable String
Deprecated.@Nullable Instant
@Nullable ZoneId
@Nullable String
Deprecated.@Nullable String
Deprecated.@Nullable String
@Nullable String
Deprecated.@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
Deprecated.@Nullable Instant
@Nullable ZoneId
@Nullable String
Deprecated.@Nullable String
Deprecated.@Nullable String
@Nullable String
Deprecated.@NotNull Map<String,
Collection<String>> @Nullable String
@NotNull Map<String,
Collection<String>> @Nullable String
@Nullable Integer
Deprecated.@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable Instant
@Nullable String
@Nullable String
@Nullable String
static @NotNull OrderDetailsPartsDef.CommonFields.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
-
getAccount
- Returns:
- The account a trade or order has been submitted against. The format is <description>|<name> or <name>|<name>
-
getAllowedActions
- Returns:
- Comma separated list of Caplin supported values [Edit, Deactivate, Cancel, Activate, InactiveEdit, InactiveDeactivate, InactiveCancel, InactiveActivate]
-
getActivationType
- Returns:
- How the order should be activated. Caplin supported statuses are [GFA, EXPLICIT]
-
getActivationDateTime
- Returns:
- The time and date the order will become active. This is in ISO-8601 format.
-
getActivationDisplayTimeZone
- Returns:
- The timezone that the activation time and date should be formatted to for display. This is in the TZ database format.
-
getExpirationType
- Returns:
- How the order should be deactivated. Caplin supported statuses are [IOC, GTC, GFD, FOK, EXPLICIT]
-
getExpirationDateTime
- Returns:
- The time and date the order will be deactivated. This is in ISO-8601 format.
-
getExpirationDisplayTimeZone
- Returns:
- The timezone that the expiration time and date should be formatted to for display. This is in the TZ database format.
-
getAlertType
- Returns:
- The type of alert that an order will send. Caplin supported statuses are [EMAIL, SMS].
-
getStrategyID
- Returns:
- The strategy Id of the order.
-
getStrategyType
- Returns:
- The strategy the order was submitted with. This field should not be used by the front end for structuring orders. Comma separated list of Caplin supported values are [SINGLE, IF-DONE-OCO, OCO, IF-DONE, IF-TIMEOUT, IF-DONE-LOOP, LOOP]. OTHER denotes a strategy type that is unsupported.
-
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.
-
getTOBOUser
- Returns:
- The user the trade is on behalf of. 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 client@customer.co.za.
-
getFullName
- Returns:
- The full name of the user the trade is on behalf of
-
getEntityId
- Returns:
- The entity the trade is on behalf of. For example, if the logged in user user1@customer.co.za wishes to make a trade on behalf of entity CUSTONE, then the value of this field will be CUSTONE. If this field is absent on a leg then the default entity should be presumed.
-
getEntityDescription
- Returns:
- The description of a trade on behalf of entity.
-
getOrderCount
Deprecated.- Returns:
- orderCount
-
getOrderID
- Returns:
- The id of the order.
-
getActivationDate
Deprecated.- Returns:
- What date the strategy should be activated.
-
getActivationTime
Deprecated.- Returns:
- What time the strategy should be activated if the ActivationDate was in the format of yyyymmdd.
-
getActivationLocation
Deprecated.- Returns:
- When location should be used to evaluate the time to activate if the ActivationDate was in the format of yyyymmdd.
-
getActivationUTCOffset
Deprecated.- Returns:
- activationUTCOffset
-
getExpirationDate
Deprecated.- Returns:
- What date the strategy should expire.
-
getExpirationTime
Deprecated.- Returns:
- What time the strategy should be activated if the ExpirationDate was in the format of yyyymmdd.
-
getExpirationLocation
Deprecated.- Returns:
- When location should be used to evaluate the time to expire if the ExpirationDate was in the format of yyyymmdd.
-
getExpirationUTCOffset
Deprecated.- Returns:
- expirationUTCOffset
-
getTemperature
- Returns:
- Shows how close an Order is to its trigger point at the leg level. Shows the maximum of the leg temperatures at the common level [1=cold,2=warm,3=hot,4=very hot,5=target rate reached].
-
getSubmittedDateTime
- Returns:
- The time and date a trade or order was submitted
-
getFixingSource
- Returns:
- fixingSource e.g. WMR 8am London Time
-
getSettlementCurrency
- Returns:
- A currency for of settlement instruction
-
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 OrderDetailsPartsDef.CommonFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull OrderDetailsPartsDef.CommonFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-