Class ToboEntityPartsDef.TOBOEntityFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tobo.ToboEntityPartsDef.TOBOEntityFields.Builder
-
- Enclosing class:
- ToboEntityPartsDef.TOBOEntityFields
public static final class ToboEntityPartsDef.TOBOEntityFields.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ToboEntityPartsDef.TOBOEntityFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull ToboEntityPartsDef.TOBOEntityFields
build()
@NotNull ToboEntityPartsDef.TOBOEntityFields.Builder
setEntityDescription(@NotNull java.lang.String entityDescription)
@NotNull ToboEntityPartsDef.TOBOEntityFields.Builder
setEntityId(@NotNull java.lang.String entityId)
@NotNull ToboEntityPartsDef.TOBOEntityFields.Builder
setIsDefault(boolean isDefault)
@NotNull ToboEntityPartsDef.TOBOEntityFields.Builder
setIsDefault(@NotNull java.lang.String isDefault)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull ToboEntityPartsDef.TOBOEntityFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull ToboEntityPartsDef.TOBOEntityFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setEntityId
@NotNull public @NotNull ToboEntityPartsDef.TOBOEntityFields.Builder setEntityId(@NotNull @NotNull java.lang.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 java.lang.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 java.lang.String isDefault)
- Returns:
- Denotes whether a TOBO Entity is the default TOBO Entity
-
-