Class SettlementInstructionsPartsDef.SettlementInstructionFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.settlementinstructions.SettlementInstructionsPartsDef.SettlementInstructionFields.Builder
-
- Enclosing class:
- SettlementInstructionsPartsDef.SettlementInstructionFields
public static final class SettlementInstructionsPartsDef.SettlementInstructionFields.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields build()
-
setSettlementId
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementId(@NotNull @NotNull String settlementId)
- Returns:
- The identifier for the settlement instruction.
-
setSettlementCurrency
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementCurrency(@NotNull @NotNull String settlementCurrency)
- Parameters:
settlementCurrency
- e.g. GBP- Returns:
- A currency for of settlement instruction
-
setSettlementDirection
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementDirection(@NotNull @NotNull String settlementDirection)
- Returns:
- The direction in which the settlement details refer to, supported directions are: PAY, RECEIVE, BOTH
-
setIsDefaultSettlementInstruction
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setIsDefaultSettlementInstruction(boolean isDefaultSettlementInstruction)
- Returns:
- Is this the default settlement instruction for this currency
-
setIsDefaultSettlementInstruction
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setIsDefaultSettlementInstruction(@NotNull @NotNull String isDefaultSettlementInstruction)
- Returns:
- Is this the default settlement instruction for this currency
-
setIsNettingInstruction
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setIsNettingInstruction(boolean isNettingInstruction)
- Returns:
- Is this settlement instruction a netting instruction
-
setIsNettingInstruction
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setIsNettingInstruction(@NotNull @NotNull String isNettingInstruction)
- Returns:
- Is this settlement instruction a netting instruction
-
setSettlementInstructionStatus
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementInstructionStatus(@NotNull @NotNull String settlementInstructionStatus)
- Returns:
- The status of a settlement instruction is either PENDING or CURRENT
-
setSettlementFields
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementFields(@NotNull @NotNull SettlementInstructionsPartsDef.SettlementFields settlementFields)
- Returns:
- settlementFields
-
-