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 java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setSettlementId
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementId(@NotNull @NotNull java.lang.String settlementId)
- Returns:
- The identifier for the trade.
-
setSettlementCurrency
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementCurrency(@NotNull @NotNull java.lang.String settlementCurrency)
- Parameters:
settlementCurrency
- e.g. GBP- Returns:
- A currency for of settlement instruction
-
setSettlementDirection
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementDirection(@NotNull @NotNull java.lang.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 java.lang.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 java.lang.String isNettingInstruction)
- Returns:
- Is this settlement instruction a netting instruction
-
setSettlementInstructionStatus
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementInstructionStatus(@NotNull @NotNull java.lang.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
-
-