Class SettlementInstructionsPartsDef.SettlementFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.settlementinstructions.SettlementInstructionsPartsDef.SettlementFields.Builder
- Enclosing class:
- SettlementInstructionsPartsDef.SettlementFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setBankAccount
(@NotNull String bankAccount) setBankAddress1
(@NotNull String bankAddress1) setBankAddress2
(@NotNull String bankAddress2) setBankAddress3
(@NotNull String bankAddress3) setBankName
(@NotNull String bankName) setBankSwift
(@NotNull String bankSwift) setIndividualAccount
(@NotNull String individualAccount) setIndividualAddress1
(@NotNull String individualAddress1) setIndividualAddress2
(@NotNull String individualAddress2) setIndividualName
(@NotNull String individualName) setIndividualSwift
(@NotNull String individualSwift) setIsDefaultSettlementInstruction
(boolean isDefaultSettlementInstruction) setIsDefaultSettlementInstruction
(@NotNull String isDefaultSettlementInstruction) setNettingStatus
(@NotNull String nettingStatus) setSettlementAmount
(@NotNull String settlementAmount) setSettlementAmount
(@NotNull BigDecimal settlementAmount) setSettlementCurrency
(@NotNull String settlementCurrency) setSettlementDetailsLine1
(@NotNull String settlementDetailsLine1) setSettlementDetailsLine2
(@NotNull String settlementDetailsLine2) setSettlementDetailsLine3
(@NotNull String settlementDetailsLine3) setSettlementDetailsLine4
(@NotNull String settlementDetailsLine4) setSettlementDetailsLine5
(@NotNull String settlementDetailsLine5) setSettlementDetailsLine6
(@NotNull String settlementDetailsLine6) setSettlementDirection
(@NotNull String settlementDirection) setSettlementDisplayName
(@NotNull String settlementDisplayName) setSettlementId
(@NotNull String settlementId) setSettlementInstructionType
(@NotNull String settlementInstructionType) setSettlementStatus
(@NotNull String settlementStatus) setSplitComponentId
(@NotNull String splitComponentId) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setSettlementId
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementId(@NotNull @NotNull String settlementId) - Returns:
- The identifier for the settlement instruction.
-
setSettlementCurrency
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementCurrency(@NotNull @NotNull String settlementCurrency) - Parameters:
settlementCurrency
- e.g. GBP- Returns:
- A currency for of settlement instruction
-
setSettlementAmount
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementAmount(@NotNull @NotNull BigDecimal settlementAmount) - Returns:
- The amount of a settlement
-
setSettlementAmount
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementAmount(@NotNull @NotNull String settlementAmount) - Returns:
- The amount of a settlement
-
setSettlementDirection
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.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.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 String isDefaultSettlementInstruction) - Returns:
- Is this the default settlement instruction for this currency
-
setSettlementInstructionType
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementInstructionType(@NotNull @NotNull String settlementInstructionType) - Parameters:
settlementInstructionType
- e.g. EXISTING- Returns:
- The type of settlement instruction attached to a trade. Supported types are [EXISTING, ADHOC, NONE]
-
setSettlementDisplayName
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementDisplayName(@NotNull @NotNull String settlementDisplayName) - Parameters:
settlementDisplayName
- e.g. [CCY] Account 1- Returns:
- The name of the settlement instruction. This field can be omitted.
-
setSettlementStatus
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementStatus(@NotNull @NotNull String settlementStatus) - Returns:
- Caplin supported statuses are [PENDING, AFFIRMED, CONFIRMED, DISPUTED, CANCELLED, REPLACED, AUTO_CONFIRMED, OVERDUE, REJECTED]
-
setBankAccount
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setBankAccount(@NotNull @NotNull String bankAccount) - Parameters:
bankAccount
- e.g. 12345678- Returns:
- The account number of the bank
-
setBankSwift
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setBankSwift(@NotNull @NotNull String bankSwift) - Parameters:
bankSwift
- e.g. CAP123- Returns:
- The BIC of the bank
-
setBankName
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setBankName(@NotNull @NotNull String bankName) - Parameters:
bankName
- e.g. Bank Of Caplin- Returns:
- The name of the bank
-
setBankAddress1
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setBankAddress1(@NotNull @NotNull String bankAddress1) - Parameters:
bankAddress1
- e.g. 12 Capitol- Returns:
- The first line of the bank's address
-
setBankAddress2
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setBankAddress2(@NotNull @NotNull String bankAddress2) - Parameters:
bankAddress2
- e.g. The City- Returns:
- The second line of the bank's address
-
setBankAddress3
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setBankAddress3(@NotNull @NotNull String bankAddress3) - Parameters:
bankAddress3
- e.g. London- Returns:
- The third line of the bank's address
-
setIndividualAccount
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setIndividualAccount(@NotNull @NotNull String individualAccount) - Parameters:
individualAccount
- e.g. 87654321- Returns:
- The account number of the recipient
-
setIndividualSwift
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setIndividualSwift(@NotNull @NotNull String individualSwift) - Parameters:
individualSwift
- e.g. SOLD987- Returns:
- The BIC of the recipient's account
-
setIndividualName
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setIndividualName(@NotNull @NotNull String individualName) - Parameters:
individualName
- e.g. Susan Sellers- Returns:
- The name of the payee or payee's bank
-
setIndividualAddress1
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setIndividualAddress1(@NotNull @NotNull String individualAddress1) - Parameters:
individualAddress1
- e.g. 98 Lane- Returns:
- The first line of the recipient
-
setIndividualAddress2
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setIndividualAddress2(@NotNull @NotNull String individualAddress2) - Parameters:
individualAddress2
- e.g. Manchester- Returns:
- The second line of the recipient
-
setNettingStatus
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setNettingStatus(@NotNull @NotNull String nettingStatus) - Parameters:
nettingStatus
- e.g. NETTED- Returns:
- The status that denotes the permanent netting state of a settlement. This is required to know which settlements have been netted and which have not
-
setSplitComponentId
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSplitComponentId(@NotNull @NotNull String splitComponentId) - Returns:
- The unique ID of a split component
-
setSettlementDetailsLine1
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementDetailsLine1(@NotNull @NotNull String settlementDetailsLine1) - Returns:
- The first line of remittance information.
-
setSettlementDetailsLine2
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementDetailsLine2(@NotNull @NotNull String settlementDetailsLine2) - Returns:
- The second line of remittance information.
-
setSettlementDetailsLine3
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementDetailsLine3(@NotNull @NotNull String settlementDetailsLine3) - Returns:
- The third line of remittance information.
-
setSettlementDetailsLine4
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementDetailsLine4(@NotNull @NotNull String settlementDetailsLine4) - Returns:
- The fourth line of remittance information.
-
setSettlementDetailsLine5
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementDetailsLine5(@NotNull @NotNull String settlementDetailsLine5) - Returns:
- The fifth line of remittance information.
-
setSettlementDetailsLine6
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementFields.Builder setSettlementDetailsLine6(@NotNull @NotNull String settlementDetailsLine6) - Returns:
- The sixth line of remittance information.
-