Class QuotePartsDef.AllocationLegFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.rates.QuotePartsDef.AllocationLegFields.Builder
-
- Enclosing class:
- QuotePartsDef.AllocationLegFields
public static final class QuotePartsDef.AllocationLegFields.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull QuotePartsDef.AllocationLegFields.Builder
addField(@NotNull String key, @NotNull String value)
@NotNull QuotePartsDef.AllocationLegFields
build()
@NotNull QuotePartsDef.AllocationLegFields.Builder
setAccount(@NotNull String account)
@NotNull QuotePartsDef.AllocationLegFields.Builder
setEntityId(@NotNull String entityId)
@NotNull QuotePartsDef.AllocationLegFields.Builder
setIsReprice(boolean isReprice)
@NotNull QuotePartsDef.AllocationLegFields.Builder
setIsReprice(@NotNull String isReprice)
@NotNull String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull QuotePartsDef.AllocationLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull QuotePartsDef.AllocationLegFields build()
-
setAccount
@NotNull public @NotNull QuotePartsDef.AllocationLegFields.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>
-
setEntityId
@NotNull public @NotNull QuotePartsDef.AllocationLegFields.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.
-
setIsReprice
@NotNull public @NotNull QuotePartsDef.AllocationLegFields.Builder setIsReprice(boolean isReprice)
- Returns:
- Defines if the leg of an allocation needs to be repriced.
-
setIsReprice
@NotNull public @NotNull QuotePartsDef.AllocationLegFields.Builder setIsReprice(@NotNull @NotNull String isReprice)
- Returns:
- Defines if the leg of an allocation needs to be repriced.
-
-