Class OrderDetailsPartsDef.CommonFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.orders.OrderDetailsPartsDef.CommonFields.Builder
- Enclosing class:
- OrderDetailsPartsDef.CommonFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull OrderDetailsPartsDef.CommonFieldsbuild()setAccount(@NotNull String account) setAccount(@NotNull String account, boolean isEditable) setActivationDate(@NotNull String activationDate) Deprecated.setActivationDate(@NotNull String activationDate, boolean isEditable) Deprecated.Deprecated.setActivationDateTime(@NotNull String activationDateTime) setActivationDateTime(@NotNull String activationDateTime, boolean isEditable) setActivationDateTime(@NotNull Instant activationDateTime) setActivationDateTime(@NotNull Instant activationDateTime, boolean isEditable) setActivationDisplayTimeZone(@NotNull String activationDisplayTimeZone) setActivationDisplayTimeZone(@NotNull String activationDisplayTimeZone, boolean isEditable) setActivationDisplayTimeZone(@NotNull ZoneId activationDisplayTimeZone) setActivationDisplayTimeZone(@NotNull ZoneId activationDisplayTimeZone, boolean isEditable) setActivationLocation(@NotNull String activationLocation) Deprecated.setActivationLocation(@NotNull String activationLocation, boolean isEditable) Deprecated.Deprecated.setActivationTime(@NotNull String activationTime) Deprecated.setActivationTime(@NotNull String activationTime, boolean isEditable) Deprecated.Deprecated.setActivationType(@NotNull String activationType) setActivationType(@NotNull String activationType, boolean isEditable) setActivationUTCOffset(@NotNull String activationUTCOffset) Deprecated.setActivationUTCOffset(@NotNull String activationUTCOffset, boolean isEditable) Deprecated.Deprecated.setAlertType(@NotNull String alertType) setAlertType(@NotNull String alertType, boolean isEditable) setAllowedActions(@NotNull String allowedActions) setCurrencyPair(@NotNull String currencyPair) setCurrencyPair(@NotNull String currencyPair, boolean isEditable) setEntityDescription(@NotNull String entityDescription) setEntityId(@NotNull String entityId) setExpirationDate(@NotNull String expirationDate) Deprecated.setExpirationDate(@NotNull String expirationDate, boolean isEditable) Deprecated.Deprecated.setExpirationDateTime(@NotNull String expirationDateTime) setExpirationDateTime(@NotNull String expirationDateTime, boolean isEditable) setExpirationDateTime(@NotNull Instant expirationDateTime) setExpirationDateTime(@NotNull Instant expirationDateTime, boolean isEditable) setExpirationDisplayTimeZone(@NotNull String expirationDisplayTimeZone) setExpirationDisplayTimeZone(@NotNull String expirationDisplayTimeZone, boolean isEditable) setExpirationDisplayTimeZone(@NotNull ZoneId expirationDisplayTimeZone) setExpirationDisplayTimeZone(@NotNull ZoneId expirationDisplayTimeZone, boolean isEditable) setExpirationLocation(@NotNull String expirationLocation) Deprecated.setExpirationLocation(@NotNull String expirationLocation, boolean isEditable) Deprecated.Deprecated.setExpirationTime(@NotNull String expirationTime) Deprecated.setExpirationTime(@NotNull String expirationTime, boolean isEditable) Deprecated.Deprecated.setExpirationType(@NotNull String expirationType) setExpirationType(@NotNull String expirationType, boolean isEditable) setExpirationUTCOffset(@NotNull String expirationUTCOffset) Deprecated.setExpirationUTCOffset(@NotNull String expirationUTCOffset, boolean isEditable) Deprecated.Deprecated.setFixingSource(@NotNull String fixingSource) setFullName(@NotNull String fullName) setOrderCount(int orderCount) Deprecated.setOrderCount(@NotNull String orderCount) Deprecated.setOrderID(@NotNull String orderID) setOrderRateDPS(int orderRateDPS) setOrderRateDPS(@NotNull String orderRateDPS) setSettlementCurrency(@NotNull String settlementCurrency) setStrategyID(@NotNull String strategyID) setStrategyType(@NotNull String strategyType) setStrategyType(@NotNull String strategyType, boolean isEditable) setSubmittedDateTime(@NotNull String submittedDateTime) setSubmittedDateTime(@NotNull Instant submittedDateTime) setTemperature(@NotNull String temperature) setTOBOUser(@NotNull String tOBOUser) setTOBOUser(@NotNull String tOBOUser, boolean isEditable) setTraderUsername(@NotNull String traderUsername) @NotNull StringtoString()
-
Method Details
-
addField
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setCurrencyPair
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setCurrencyPair(@NotNull @NotNull String currencyPair, boolean isEditable) - Returns:
- The currency pair for the trade. For example, EURUSD
-
setCurrencyPair
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setCurrencyPair(@NotNull @NotNull String currencyPair) - Returns:
- The currency pair for the trade. For example, EURUSD
-
setCurrencyPairEditable
-
setAccount
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setAccount(@NotNull @NotNull String account, boolean isEditable) - Parameters:
account- e.g. Garfields|GARF- Returns:
- The account a trade or order has been submitted against. The format is <description>|<name> or <name>|<name>
-
setAccount
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setAccount(@NotNull @NotNull String account) - Parameters:
account- e.g. Garfields|GARF- Returns:
- The account a trade or order has been submitted against. The format is <description>|<name> or <name>|<name>
-
setAccountEditable
-
setAllowedActions
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setAllowedActions(@NotNull @NotNull String allowedActions) - Parameters:
allowedActions- e.g. View,AuditTrail,Cancel,Deactivate,Duplicate,Edit- Returns:
- Comma separated list of Caplin supported values. See the constants defined within com.caplin.motif.fx.orders.AllowedActions
-
setActivationType
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationType(@NotNull @NotNull String activationType, boolean isEditable) - Returns:
- How the order should be activated. Caplin supported statuses are [GFA, EXPLICIT]
-
setActivationType
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationType(@NotNull @NotNull String activationType) - Returns:
- How the order should be activated. Caplin supported statuses are [GFA, EXPLICIT]
-
setActivationTypeEditable
-
setActivationDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDateTime(@NotNull @NotNull Instant activationDateTime, boolean isEditable) - Parameters:
activationDateTime- e.g. 2013-07-24T17:13:59.985- Returns:
- The time and date the order will become active. This is in ISO-8601 format.
-
setActivationDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDateTime(@NotNull @NotNull Instant activationDateTime) - Parameters:
activationDateTime- e.g. 2013-07-24T17:13:59.985- Returns:
- The time and date the order will become active. This is in ISO-8601 format.
-
setActivationDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDateTime(@NotNull @NotNull String activationDateTime, boolean isEditable) - Parameters:
activationDateTime- e.g. 2013-07-24T17:13:59.985- Returns:
- The time and date the order will become active. This is in ISO-8601 format.
-
setActivationDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDateTime(@NotNull @NotNull String activationDateTime) - Parameters:
activationDateTime- e.g. 2013-07-24T17:13:59.985- Returns:
- The time and date the order will become active. This is in ISO-8601 format.
-
setActivationDateTimeEditable
-
setActivationDisplayTimeZone
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDisplayTimeZone(@NotNull @NotNull ZoneId activationDisplayTimeZone, boolean isEditable) - Parameters:
activationDisplayTimeZone- e.g. Europe/London- Returns:
- The timezone that the activation time and date should be formatted to for display. This is in the TZ database format.
-
setActivationDisplayTimeZone
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDisplayTimeZone(@NotNull @NotNull ZoneId activationDisplayTimeZone) - Parameters:
activationDisplayTimeZone- e.g. Europe/London- Returns:
- The timezone that the activation time and date should be formatted to for display. This is in the TZ database format.
-
setActivationDisplayTimeZone
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDisplayTimeZone(@NotNull @NotNull String activationDisplayTimeZone, boolean isEditable) - Parameters:
activationDisplayTimeZone- e.g. Europe/London- Returns:
- The timezone that the activation time and date should be formatted to for display. This is in the TZ database format.
-
setActivationDisplayTimeZone
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDisplayTimeZone(@NotNull @NotNull String activationDisplayTimeZone) - Parameters:
activationDisplayTimeZone- e.g. Europe/London- Returns:
- The timezone that the activation time and date should be formatted to for display. This is in the TZ database format.
-
setActivationDisplayTimeZoneEditable
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDisplayTimeZoneEditable() -
setExpirationType
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationType(@NotNull @NotNull String expirationType, boolean isEditable) - Returns:
- How the order should be deactivated. Caplin supported statuses are [IOC, GTC, GFD, FOK, EXPLICIT]
-
setExpirationType
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationType(@NotNull @NotNull String expirationType) - Returns:
- How the order should be deactivated. Caplin supported statuses are [IOC, GTC, GFD, FOK, EXPLICIT]
-
setExpirationTypeEditable
-
setExpirationDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDateTime(@NotNull @NotNull Instant expirationDateTime, boolean isEditable) - Parameters:
expirationDateTime- e.g. 2013-07-24T17:13:59.985- Returns:
- The time and date the order will be deactivated. This is in ISO-8601 format.
-
setExpirationDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDateTime(@NotNull @NotNull Instant expirationDateTime) - Parameters:
expirationDateTime- e.g. 2013-07-24T17:13:59.985- Returns:
- The time and date the order will be deactivated. This is in ISO-8601 format.
-
setExpirationDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDateTime(@NotNull @NotNull String expirationDateTime, boolean isEditable) - Parameters:
expirationDateTime- e.g. 2013-07-24T17:13:59.985- Returns:
- The time and date the order will be deactivated. This is in ISO-8601 format.
-
setExpirationDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDateTime(@NotNull @NotNull String expirationDateTime) - Parameters:
expirationDateTime- e.g. 2013-07-24T17:13:59.985- Returns:
- The time and date the order will be deactivated. This is in ISO-8601 format.
-
setExpirationDateTimeEditable
-
setExpirationDisplayTimeZone
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDisplayTimeZone(@NotNull @NotNull ZoneId expirationDisplayTimeZone, boolean isEditable) - Parameters:
expirationDisplayTimeZone- e.g. Europe/London- Returns:
- The timezone that the expiration time and date should be formatted to for display. This is in the TZ database format.
-
setExpirationDisplayTimeZone
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDisplayTimeZone(@NotNull @NotNull ZoneId expirationDisplayTimeZone) - Parameters:
expirationDisplayTimeZone- e.g. Europe/London- Returns:
- The timezone that the expiration time and date should be formatted to for display. This is in the TZ database format.
-
setExpirationDisplayTimeZone
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDisplayTimeZone(@NotNull @NotNull String expirationDisplayTimeZone, boolean isEditable) - Parameters:
expirationDisplayTimeZone- e.g. Europe/London- Returns:
- The timezone that the expiration time and date should be formatted to for display. This is in the TZ database format.
-
setExpirationDisplayTimeZone
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDisplayTimeZone(@NotNull @NotNull String expirationDisplayTimeZone) - Parameters:
expirationDisplayTimeZone- e.g. Europe/London- Returns:
- The timezone that the expiration time and date should be formatted to for display. This is in the TZ database format.
-
setExpirationDisplayTimeZoneEditable
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDisplayTimeZoneEditable() -
setAlertType
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setAlertType(@NotNull @NotNull String alertType, boolean isEditable) - Returns:
- The type of alert that an order will send. Caplin supported statuses are [EMAIL, SMS].
-
setAlertType
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setAlertType(@NotNull @NotNull String alertType) - Returns:
- The type of alert that an order will send. Caplin supported statuses are [EMAIL, SMS].
-
setAlertTypeEditable
-
setStrategyID
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setStrategyID(@NotNull @NotNull String strategyID) - Returns:
- The strategy Id of the order.
-
setStrategyType
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setStrategyType(@NotNull @NotNull String strategyType, boolean isEditable) - 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.
-
setStrategyType
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setStrategyType(@NotNull @NotNull String strategyType) - 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.
-
setStrategyTypeEditable
-
setTraderUsername
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setTraderUsername(@NotNull @NotNull String traderUsername) - Parameters:
traderUsername- e.g. sales_trader@novobank.co.za- 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.
-
setTOBOUser
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setTOBOUser(@NotNull @NotNull String tOBOUser, boolean isEditable) - Parameters:
tOBOUser- e.g. client@customer.co.za- 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.
-
setTOBOUser
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setTOBOUser(@NotNull @NotNull String tOBOUser) - Parameters:
tOBOUser- e.g. client@customer.co.za- 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.
-
setTOBOUserEditable
-
setFullName
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setFullName(@NotNull @NotNull String fullName) - Returns:
- The full name of the user the trade is on behalf of
-
setEntityId
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setEntityId(@NotNull @NotNull String entityId) - Parameters:
entityId- e.g. CUSTONE- 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.
-
setEntityDescription
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setEntityDescription(@NotNull @NotNull String entityDescription) - Parameters:
entityDescription- e.g. Customer 1- Returns:
- The description of a trade on behalf of entity.
-
setOrderCount
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setOrderCount(int orderCount) Deprecated.- Returns:
- orderCount
-
setOrderCount
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setOrderCount(@NotNull @NotNull String orderCount) Deprecated.- Returns:
- orderCount
-
setOrderID
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setOrderID(@NotNull @NotNull String orderID) - Parameters:
orderID- e.g. 000012345- Returns:
- The id of the order.
-
setActivationDate
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDate(@NotNull @NotNull String activationDate, boolean isEditable) Deprecated.- Returns:
- What date the strategy should be activated.
-
setActivationDate
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDate(@NotNull @NotNull String activationDate) Deprecated.- Returns:
- What date the strategy should be activated.
-
setActivationDateEditable
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationDateEditable()Deprecated. -
setActivationTime
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationTime(@NotNull @NotNull String activationTime, boolean isEditable) Deprecated.- Returns:
- What time the strategy should be activated if the ActivationDate was in the format of yyyymmdd.
-
setActivationTime
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationTime(@NotNull @NotNull String activationTime) Deprecated.- Returns:
- What time the strategy should be activated if the ActivationDate was in the format of yyyymmdd.
-
setActivationTimeEditable
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationTimeEditable()Deprecated. -
setActivationLocation
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationLocation(@NotNull @NotNull String activationLocation, boolean isEditable) Deprecated.- Parameters:
activationLocation- e.g. Europe/London- Returns:
- When location should be used to evaluate the time to activate if the ActivationDate was in the format of yyyymmdd.
-
setActivationLocation
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationLocation(@NotNull @NotNull String activationLocation) Deprecated.- Parameters:
activationLocation- e.g. Europe/London- Returns:
- When location should be used to evaluate the time to activate if the ActivationDate was in the format of yyyymmdd.
-
setActivationLocationEditable
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationLocationEditable()Deprecated. -
setActivationUTCOffset
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationUTCOffset(@NotNull @NotNull String activationUTCOffset, boolean isEditable) Deprecated.- Returns:
- activationUTCOffset
-
setActivationUTCOffset
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationUTCOffset(@NotNull @NotNull String activationUTCOffset) Deprecated.- Returns:
- activationUTCOffset
-
setActivationUTCOffsetEditable
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setActivationUTCOffsetEditable()Deprecated. -
setExpirationDate
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDate(@NotNull @NotNull String expirationDate, boolean isEditable) Deprecated.- Returns:
- What date the strategy should expire.
-
setExpirationDate
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDate(@NotNull @NotNull String expirationDate) Deprecated.- Returns:
- What date the strategy should expire.
-
setExpirationDateEditable
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationDateEditable()Deprecated. -
setExpirationTime
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationTime(@NotNull @NotNull String expirationTime, boolean isEditable) Deprecated.- Returns:
- What time the strategy should be activated if the ExpirationDate was in the format of yyyymmdd.
-
setExpirationTime
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationTime(@NotNull @NotNull String expirationTime) Deprecated.- Returns:
- What time the strategy should be activated if the ExpirationDate was in the format of yyyymmdd.
-
setExpirationTimeEditable
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationTimeEditable()Deprecated. -
setExpirationLocation
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationLocation(@NotNull @NotNull String expirationLocation, boolean isEditable) Deprecated.- Returns:
- When location should be used to evaluate the time to expire if the ExpirationDate was in the format of yyyymmdd.
-
setExpirationLocation
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationLocation(@NotNull @NotNull String expirationLocation) Deprecated.- Returns:
- When location should be used to evaluate the time to expire if the ExpirationDate was in the format of yyyymmdd.
-
setExpirationLocationEditable
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationLocationEditable()Deprecated. -
setExpirationUTCOffset
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationUTCOffset(@NotNull @NotNull String expirationUTCOffset, boolean isEditable) Deprecated.- Returns:
- expirationUTCOffset
-
setExpirationUTCOffset
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationUTCOffset(@NotNull @NotNull String expirationUTCOffset) Deprecated.- Returns:
- expirationUTCOffset
-
setExpirationUTCOffsetEditable
@Deprecated @NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setExpirationUTCOffsetEditable()Deprecated. -
setTemperature
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setTemperature(@NotNull @NotNull String temperature) - Parameters:
temperature- e.g. 2- 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].
-
setSubmittedDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setSubmittedDateTime(@NotNull @NotNull Instant submittedDateTime) - Parameters:
submittedDateTime- e.g. 2023-04-19T11:09:45.00Z- Returns:
- The time and date a trade or order was submitted
-
setSubmittedDateTime
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setSubmittedDateTime(@NotNull @NotNull String submittedDateTime) - Parameters:
submittedDateTime- e.g. 2023-04-19T11:09:45.00Z- Returns:
- The time and date a trade or order was submitted
-
setFixingSource
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setFixingSource(@NotNull @NotNull String fixingSource) - Parameters:
fixingSource- e.g. WMR 8am London Time- Returns:
- Specifies where the fixing rate comes from.
-
setSettlementCurrency
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setSettlementCurrency(@NotNull @NotNull String settlementCurrency) - Parameters:
settlementCurrency- e.g. GBP- Returns:
- A currency for of settlement instruction
-
setTags
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setTags(@NotNull @NotNull String tags) - Parameters:
tags- e.g. method={'import':'static com.caplin.motif.fx.config.definitions.common.Tag','name':'Arrays.asList'}- Returns:
- Tags for a trade (see also `com.caplin.motif.fx.config.DefaultTag`) or order (see also `com.caplin.motif.fx.orders.DefaultOrderTag`).
-
setTags
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setTags(@NotNull @NotNull List<Tag> tags) - Parameters:
tags- e.g. method={'import':'static com.caplin.motif.fx.config.definitions.common.Tag','name':'Arrays.asList'}- Returns:
- Tags for a trade (see also `com.caplin.motif.fx.config.DefaultTag`) or order (see also `com.caplin.motif.fx.orders.DefaultOrderTag`).
-
setOrderRateDPS
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setOrderRateDPS(int orderRateDPS) - Parameters:
orderRateDPS- e.g. 5- Returns:
- The precision to use for order rate information.
-
setOrderRateDPS
@NotNull public @NotNull OrderDetailsPartsDef.CommonFields.Builder setOrderRateDPS(@NotNull @NotNull String orderRateDPS) - Parameters:
orderRateDPS- e.g. 5- Returns:
- The precision to use for order rate information.
-