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
Modifier and TypeMethodDescriptionbuild()
setCanApprove
(boolean canApprove) setCanApprove
(@NotNull String canApprove) setCanDelete
(boolean canDelete) setCanDelete
(@NotNull String canDelete) setCanEdit
(boolean canEdit) setCanEdit
(@NotNull String canEdit) setCanReject
(boolean canReject) setCanReject
(@NotNull String canReject) setIsDefaultSettlementInstruction
(boolean isDefaultSettlementInstruction) setIsDefaultSettlementInstruction
(@NotNull String isDefaultSettlementInstruction) setIsNettingInstruction
(boolean isNettingInstruction) setIsNettingInstruction
(@NotNull String isNettingInstruction) setSettlementCurrency
(@NotNull String settlementCurrency) setSettlementDirection
(@NotNull String settlementDirection) setSettlementFields
(@NotNull SettlementInstructionsPartsDef.SettlementFields settlementFields) setSettlementId
(@NotNull String settlementId) setSettlementInstructionStatus
(@NotNull String settlementInstructionStatus) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
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
-
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 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 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 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 String canReject) - Returns:
- Ability to Reject the settlement instruction
-
setSettlementFields
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementInstructionFields.Builder setSettlementFields(@NotNull @NotNull SettlementInstructionsPartsDef.SettlementFields settlementFields) - Returns:
- settlementFields
-