Class ToboEntityPartsDef.TOBOEntityFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.tobo.ToboEntityPartsDef.TOBOEntityFields.Builder
- Enclosing class:
- ToboEntityPartsDef.TOBOEntityFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull ToboEntityPartsDef.TOBOEntityFields
build()
setEntityDescription
(@NotNull String entityDescription) setEntityId
(@NotNull String entityId) setIsDefault
(boolean isDefault) setIsDefault
(@NotNull String isDefault) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull ToboEntityPartsDef.TOBOEntityFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setEntityId
@NotNull public @NotNull ToboEntityPartsDef.TOBOEntityFields.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 ToboEntityPartsDef.TOBOEntityFields.Builder setEntityDescription(@NotNull @NotNull String entityDescription) - Parameters:
entityDescription
- e.g. Customer 1- Returns:
- The description of a trade on behalf of entity.
-
setIsDefault
@NotNull public @NotNull ToboEntityPartsDef.TOBOEntityFields.Builder setIsDefault(boolean isDefault) - Returns:
- Denotes whether a TOBO Entity is the default TOBO Entity
-
setIsDefault
@NotNull public @NotNull ToboEntityPartsDef.TOBOEntityFields.Builder setIsDefault(@NotNull @NotNull String isDefault) - Returns:
- Denotes whether a TOBO Entity is the default TOBO Entity
-