Class OrderAuditTypesDef.OrderLegAuditAction.Builder
java.lang.Object
com.caplin.generated.motif.fx.orders.OrderAuditTypesDef.OrderLegAuditAction.Builder
- Enclosing class:
- OrderAuditTypesDef.OrderLegAuditAction
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setActionBy
(@NotNull String actionBy) setActionCode
(int actionCode) setActionCode
(@NotNull String actionCode) setActionDateTime
(@NotNull String actionDateTime) setActionDateTime
(@NotNull Instant actionDateTime) setAuditParameter1
(@NotNull String auditParameter1) setAuditParameter2
(@NotNull String auditParameter2) setAuditParameter3
(@NotNull String auditParameter3) setAuditParameter4
(@NotNull String auditParameter4) setAuditParameter5
(@NotNull String auditParameter5) setOrderID
(@NotNull String orderID) setOrderStatus
(@NotNull String orderStatus) setVersion
(int version) setVersion
(@NotNull String version) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setOrderID
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setOrderID(@NotNull @NotNull String orderID) - Returns:
- The id of the order.
-
setVersion
- Returns:
- The resulting version of this leg.
-
setVersion
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setVersion(@NotNull @NotNull String version) - Returns:
- The resulting version of this leg.
-
setActionDateTime
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setActionDateTime(@NotNull @NotNull Instant actionDateTime) - Returns:
- actionDateTime
-
setActionDateTime
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setActionDateTime(@NotNull @NotNull String actionDateTime) - Returns:
- actionDateTime
-
setActionBy
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setActionBy(@NotNull @NotNull String actionBy) - Returns:
- Which user triggered the action to occur.
-
setOrderStatus
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setOrderStatus(@NotNull @NotNull String orderStatus) - Returns:
- Caplin supported statuses are [PENDING-ACCEPT, PENDING-ACTIVATION, ACTIVE, PARENT-ACTIVE, PENDING-DEACTIVATION, DEACTIVATED, EXPIRED, COMPLETED, REJECTED, PENDING-CANCEL, CANCELLED, CANCELLED-BY-PARTNER]
-
setActionCode
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setActionCode(int actionCode) - Returns:
- Code for the action reason, to be translated by i18n. Constants are provided in the class ActionCode. Parameters for the translated message can be provided in the AuditParameter# fields. Custom codes should begin from 1000. If you don't want to provide a translation on the front end, you can send '9999' (or ActionCode.NON_TRANSLATABLE) and supply plain text in AuditParameter1.
-
setActionCode
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setActionCode(@NotNull @NotNull String actionCode) - Returns:
- Code for the action reason, to be translated by i18n. Constants are provided in the class ActionCode. Parameters for the translated message can be provided in the AuditParameter# fields. Custom codes should begin from 1000. If you don't want to provide a translation on the front end, you can send '9999' (or ActionCode.NON_TRANSLATABLE) and supply plain text in AuditParameter1.
-
setAuditParameter1
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter1(@NotNull @NotNull String auditParameter1) - Returns:
- Parameter to be placed into the translated action reason.
-
setAuditParameter2
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter2(@NotNull @NotNull String auditParameter2) - Returns:
- Parameter to be placed into the translated action reason.
-
setAuditParameter3
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter3(@NotNull @NotNull String auditParameter3) - Returns:
- Parameter to be placed into the translated action reason.
-
setAuditParameter4
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter4(@NotNull @NotNull String auditParameter4) - Returns:
- Parameter to be placed into the translated action reason.
-
setAuditParameter5
@NotNull public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter5(@NotNull @NotNull String auditParameter5) - Returns:
- Parameter to be placed into the translated action reason.
-