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 settlement instruction.
-
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
-
setCanEdit
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setCanEdit(boolean canEdit)
- Returns:
- Ability to Edit the settlement instruction
-
setCanEdit
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setCanEdit(@NotNull @NotNull java.lang.String canEdit)
- Returns:
- Ability to Edit the settlement instruction
-
setCanDelete
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setCanDelete(boolean canDelete)
- Returns:
- Ability to Delete the settlement instruction
-
setCanDelete
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setCanDelete(@NotNull @NotNull java.lang.String canDelete)
- Returns:
- Ability to Delete the settlement instruction
-
setCanApprove
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setCanApprove(boolean canApprove)
- Returns:
- Ability to Approve the settlement instruction
-
setCanApprove
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setCanApprove(@NotNull @NotNull java.lang.String canApprove)
- Returns:
- Ability to Approve the settlement instruction
-
setCanReject
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setCanReject(boolean canReject)
- Returns:
- Ability to Reject the settlement instruction
-
setCanReject
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setCanReject(@NotNull @NotNull java.lang.String canReject)
- Returns:
- Ability to Reject the settlement instruction
-
setSettlementFields
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementFields(@NotNull @NotNull SettlementInstructionsPartsDef.SettlementFields settlementFields)
- Returns:
- settlementFields
-
-