Class SettlementInstructionsPartsDef.SettlementFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.mm.settlementinstructions.SettlementInstructionsPartsDef.SettlementFields.Builder
-
- Enclosing class:
- SettlementInstructionsPartsDef.SettlementFields
public static final class SettlementInstructionsPartsDef.SettlementFields.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setSettlementId
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementId(@NotNull @NotNull java.lang.String settlementId)
- Returns:
- The identifier for the settlement instruction.
-
setIsDefaultSettlementInstruction
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setIsDefaultSettlementInstruction(boolean isDefaultSettlementInstruction)
- Returns:
- Is this the default settlement instruction for this currency
-
setIsDefaultSettlementInstruction
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setIsDefaultSettlementInstruction(@NotNull @NotNull java.lang.String isDefaultSettlementInstruction)
- Returns:
- Is this the default settlement instruction for this currency
-
setSettlementInstructionType
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementInstructionType(@NotNull @NotNull java.lang.String settlementInstructionType)
- Parameters:
settlementInstructionType
- e.g. EXISTING- Returns:
- The type of settlement instruction attached to a trade. Supported types are [EXISTING, ADHOC, NONE]
-
setSettlementType
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementType(@NotNull @NotNull java.lang.String settlementType)
- Parameters:
settlementType
- e.g. PRINCIPAL- Returns:
- The type of settlement attached to a trade. Supported types are [PRINCIPAL, INTEREST]
-
setSettlementRemarks
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementRemarks(@NotNull @NotNull java.lang.String settlementRemarks)
- Returns:
- The remarks corresponding to the settlement details
-
setSettlementDisplayName
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementDisplayName(@NotNull @NotNull java.lang.String settlementDisplayName)
- Parameters:
settlementDisplayName
- e.g. [CCY] Account 1- Returns:
- The name of the settlement instruction. This field can be omitted.
-
-