Class SettlementInstructionsPartsDef.SettlementTradeFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.settlementinstructions.SettlementInstructionsPartsDef.SettlementTradeFields.Builder
- Enclosing class:
- SettlementInstructionsPartsDef.SettlementTradeFields
public static final class SettlementInstructionsPartsDef.SettlementTradeFields.Builder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPay(@NotNull Collection<SettlementInstructionsPartsDef.SettlementFields> pay) addAllPayNettingComponents(@NotNull Collection<SettlementInstructionsPartsDef.NettingComponents> payNettingComponents) addAllReceive(@NotNull Collection<SettlementInstructionsPartsDef.SettlementFields> receive) addAllReceiveNettingComponents(@NotNull Collection<SettlementInstructionsPartsDef.NettingComponents> receiveNettingComponents) addPay(@NotNull SettlementInstructionsPartsDef.SettlementFields pay) addPayNettingComponents(@NotNull SettlementInstructionsPartsDef.NettingComponents payNettingComponents) addReceive(@NotNull SettlementInstructionsPartsDef.SettlementFields receive) addReceiveNettingComponents(@NotNull SettlementInstructionsPartsDef.NettingComponents receiveNettingComponents) build()setAffirmedBy(@NotNull String affirmedBy) setAffirmedDateTime(@NotNull String affirmedDateTime) setAffirmedDateTime(@NotNull Instant affirmedDateTime) setCanAdHoc(boolean canAdHoc) setCanAdHoc(@NotNull String canAdHoc) setCanAffirm(boolean canAffirm) setCanAffirm(@NotNull String canAffirm) setCanApproveInstructions(boolean canApproveInstructions) setCanApproveInstructions(@NotNull String canApproveInstructions) setCanAutoConfirm(boolean canAutoConfirm) setCanAutoConfirm(@NotNull String canAutoConfirm) setCanCancel(boolean canCancel) setCanCancel(@NotNull String canCancel) setCanConfirm(boolean canConfirm) setCanConfirm(@NotNull String canConfirm) setCanDispute(boolean canDispute) setCanDispute(@NotNull String canDispute) setCanRejectInstructions(boolean canRejectInstructions) setCanRejectInstructions(@NotNull String canRejectInstructions) setCanRelease(boolean canRelease) setCanRelease(@NotNull String canRelease) setCanReplace(boolean canReplace) setCanReplace(@NotNull String canReplace) setCanUnconfirm(boolean canUnconfirm) setCanUnconfirm(@NotNull String canUnconfirm) setConfirmedBy(@NotNull String confirmedBy) setConfirmedDateTime(@NotNull String confirmedDateTime) setConfirmedDateTime(@NotNull Instant confirmedDateTime) setIsPayNetted(boolean isPayNetted) setIsPayNetted(@NotNull String isPayNetted) setIsPayNettingRequired(boolean isPayNettingRequired) setIsPayNettingRequired(@NotNull String isPayNettingRequired) setIsPaySplit(boolean isPaySplit) setIsPaySplit(@NotNull String isPaySplit) setIsReceiveNetted(boolean isReceiveNetted) setIsReceiveNetted(@NotNull String isReceiveNetted) setIsReceiveNettingRequired(boolean isReceiveNettingRequired) setIsReceiveNettingRequired(@NotNull String isReceiveNettingRequired) setIsReceiveSplit(boolean isReceiveSplit) setIsReceiveSplit(@NotNull String isReceiveSplit) setNextActionDeadline(@NotNull String nextActionDeadline) setNextActionDeadline(@NotNull Instant nextActionDeadline) setNextActionDeadlineDisplayTimezone(@NotNull String nextActionDeadlineDisplayTimezone) setPay(@NotNull SettlementInstructionsPartsDef.SettlementFields pay, int id) setPayNettingComponents(@NotNull SettlementInstructionsPartsDef.NettingComponents payNettingComponents, int id) setReceive(@NotNull SettlementInstructionsPartsDef.SettlementFields receive, int id) setReceiveNettingComponents(@NotNull SettlementInstructionsPartsDef.NettingComponents receiveNettingComponents, int id) setSettlementStatus(@NotNull String settlementStatus) @NotNull StringtoString()
-
Method Details
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setCanAffirm
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanAffirm(boolean canAffirm) - Returns:
- Ability to Affirm the Trade Details are as agreed.
-
setCanAffirm
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanAffirm(@NotNull @NotNull String canAffirm) - Returns:
- Ability to Affirm the Trade Details are as agreed.
-
setCanConfirm
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanConfirm(boolean canConfirm) - Returns:
- Ability to Confirm the Settlement Details are now final.
-
setCanConfirm
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanConfirm(@NotNull @NotNull String canConfirm) - Returns:
- Ability to Confirm the Settlement Details are now final.
-
setCanAdHoc
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanAdHoc(boolean canAdHoc) - Returns:
- Can confirm adhoc settlement instructions for a trade.
-
setCanAdHoc
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanAdHoc(@NotNull @NotNull String canAdHoc) - Returns:
- Can confirm adhoc settlement instructions for a trade.
-
setCanDispute
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanDispute(boolean canDispute) - Returns:
- Ability to Dispute the details of a trade, if for example something is wrong about it.
-
setCanDispute
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanDispute(@NotNull @NotNull String canDispute) - Returns:
- Ability to Dispute the details of a trade, if for example something is wrong about it.
-
setCanCancel
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanCancel(boolean canCancel) - Returns:
- Ability to Cancel a trade, for example if a mistake was made.
-
setCanCancel
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanCancel(@NotNull @NotNull String canCancel) - Returns:
- Ability to Cancel a trade, for example if a mistake was made.
-
setCanReplace
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanReplace(boolean canReplace) - Returns:
- Ability to mark a deal as amended, meaning that it has been replaced by a corrected deal.
-
setCanReplace
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanReplace(@NotNull @NotNull String canReplace) - Returns:
- Ability to mark a deal as amended, meaning that it has been replaced by a corrected deal.
-
setCanAutoConfirm
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanAutoConfirm(boolean canAutoConfirm) - Returns:
- Ability to Mark that the deal was Confirmed by the Bank, rather than by the client.
-
setCanAutoConfirm
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanAutoConfirm(@NotNull @NotNull String canAutoConfirm) - Returns:
- Ability to Mark that the deal was Confirmed by the Bank, rather than by the client.
-
setCanUnconfirm
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanUnconfirm(boolean canUnconfirm) - Returns:
- Ability to move the deal back to a Pending state.
-
setCanUnconfirm
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanUnconfirm(@NotNull @NotNull String canUnconfirm) - Returns:
- Ability to move the deal back to a Pending state.
-
setCanApproveInstructions
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanApproveInstructions(boolean canApproveInstructions) - Returns:
- Can approve settlement instructions for a trade.
-
setCanApproveInstructions
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanApproveInstructions(@NotNull @NotNull String canApproveInstructions) - Returns:
- Can approve settlement instructions for a trade.
-
setCanRejectInstructions
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanRejectInstructions(boolean canRejectInstructions) - Returns:
- Can reject settlement instructions for a trade.
-
setCanRejectInstructions
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanRejectInstructions(@NotNull @NotNull String canRejectInstructions) - Returns:
- Can reject settlement instructions for a trade.
-
setCanRelease
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanRelease(boolean canRelease) - Returns:
- Relates to post trade actions: User can release the trade
-
setCanRelease
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setCanRelease(@NotNull @NotNull String canRelease) - Returns:
- Relates to post trade actions: User can release the trade
-
setSettlementStatus
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setSettlementStatus(@NotNull @NotNull String settlementStatus) - Returns:
- Caplin supported statuses are [PENDING, AFFIRMED, CONFIRMED, DISPUTED, CANCELLED, REPLACED, AUTO_CONFIRMED, OVERDUE, REJECTED]
-
setNextActionDeadline
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setNextActionDeadline(@NotNull @NotNull Instant nextActionDeadline) - Parameters:
nextActionDeadline- e.g. 2018-03-16T07:25:16+00:00- Returns:
- The deadline for a user to perform a trade's next action in ISO-8601 format
-
setNextActionDeadline
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setNextActionDeadline(@NotNull @NotNull String nextActionDeadline) - Parameters:
nextActionDeadline- e.g. 2018-03-16T07:25:16+00:00- Returns:
- The deadline for a user to perform a trade's next action in ISO-8601 format
-
setNextActionDeadlineDisplayTimezone
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setNextActionDeadlineDisplayTimezone(@NotNull @NotNull String nextActionDeadlineDisplayTimezone) - Parameters:
nextActionDeadlineDisplayTimezone- e.g. America/New_York- Returns:
- The timezone for the NextActionDeadline field in the form Area/Location
-
setAffirmedBy
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setAffirmedBy(@NotNull @NotNull String affirmedBy) - Returns:
- The name of the user who affirmed a trade.
-
setAffirmedDateTime
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setAffirmedDateTime(@NotNull @NotNull Instant affirmedDateTime) - Parameters:
affirmedDateTime- e.g. 2018-03-16T07:25:16+00:00- Returns:
- The time at which a trade was affirmed in ISO-8601 format
-
setAffirmedDateTime
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setAffirmedDateTime(@NotNull @NotNull String affirmedDateTime) - Parameters:
affirmedDateTime- e.g. 2018-03-16T07:25:16+00:00- Returns:
- The time at which a trade was affirmed in ISO-8601 format
-
setConfirmedBy
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setConfirmedBy(@NotNull @NotNull String confirmedBy) - Returns:
- The name of the user who confirmed a trade.
-
setConfirmedDateTime
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setConfirmedDateTime(@NotNull @NotNull Instant confirmedDateTime) - Parameters:
confirmedDateTime- e.g. 2018-03-16T07:25:16+00:00- Returns:
- The time at which a trade was confirmed in ISO-8601 format
-
setConfirmedDateTime
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setConfirmedDateTime(@NotNull @NotNull String confirmedDateTime) - Parameters:
confirmedDateTime- e.g. 2018-03-16T07:25:16+00:00- Returns:
- The time at which a trade was confirmed in ISO-8601 format
-
setIsPayNetted
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsPayNetted(boolean isPayNetted) - Returns:
- Denotes whether the pay side of a trade has been netted.
-
setIsPayNetted
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsPayNetted(@NotNull @NotNull String isPayNetted) - Returns:
- Denotes whether the pay side of a trade has been netted.
-
setIsReceiveNetted
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsReceiveNetted(boolean isReceiveNetted) - Returns:
- Denotes whether the receive side of a trade has been netted.
-
setIsReceiveNetted
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsReceiveNetted(@NotNull @NotNull String isReceiveNetted) - Returns:
- Denotes whether the receive side of a trade has been netted.
-
setIsPayNettingRequired
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsPayNettingRequired(boolean isPayNettingRequired) - Returns:
- Denotes whether the pay side of a trade requires netting.
-
setIsPayNettingRequired
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsPayNettingRequired(@NotNull @NotNull String isPayNettingRequired) - Returns:
- Denotes whether the pay side of a trade requires netting.
-
setIsReceiveNettingRequired
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsReceiveNettingRequired(boolean isReceiveNettingRequired) - Returns:
- Denotes whether the receive side of a trade requires netting.
-
setIsReceiveNettingRequired
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsReceiveNettingRequired(@NotNull @NotNull String isReceiveNettingRequired) - Returns:
- Denotes whether the receive side of a trade requires netting.
-
setIsPaySplit
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsPaySplit(boolean isPaySplit) - Returns:
- Denotes whether the pay side of a trade has been split.
-
setIsPaySplit
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsPaySplit(@NotNull @NotNull String isPaySplit) - Returns:
- Denotes whether the pay side of a trade has been split.
-
setIsReceiveSplit
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsReceiveSplit(boolean isReceiveSplit) - Returns:
- Denotes whether the receive side of a trade has been split.
-
setIsReceiveSplit
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setIsReceiveSplit(@NotNull @NotNull String isReceiveSplit) - Returns:
- Denotes whether the receive side of a trade has been split.
-
addPay
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addPay(@NotNull @NotNull SettlementInstructionsPartsDef.SettlementFields pay) - Returns:
- pay
-
setPay
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setPay(@NotNull @NotNull SettlementInstructionsPartsDef.SettlementFields pay, int id) - Returns:
- pay
-
addAllPay
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addAllPay(@NotNull @NotNull Collection<SettlementInstructionsPartsDef.SettlementFields> pay) - Returns:
- pay
-
addReceive
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addReceive(@NotNull @NotNull SettlementInstructionsPartsDef.SettlementFields receive) - Returns:
- receive
-
setReceive
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setReceive(@NotNull @NotNull SettlementInstructionsPartsDef.SettlementFields receive, int id) - Returns:
- receive
-
addAllReceive
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addAllReceive(@NotNull @NotNull Collection<SettlementInstructionsPartsDef.SettlementFields> receive) - Returns:
- receive
-
addPayNettingComponents
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addPayNettingComponents(@NotNull @NotNull SettlementInstructionsPartsDef.NettingComponents payNettingComponents) - Returns:
- payNettingComponents
-
setPayNettingComponents
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setPayNettingComponents(@NotNull @NotNull SettlementInstructionsPartsDef.NettingComponents payNettingComponents, int id) - Returns:
- payNettingComponents
-
addAllPayNettingComponents
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addAllPayNettingComponents(@NotNull @NotNull Collection<SettlementInstructionsPartsDef.NettingComponents> payNettingComponents) - Returns:
- payNettingComponents
-
addReceiveNettingComponents
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addReceiveNettingComponents(@NotNull @NotNull SettlementInstructionsPartsDef.NettingComponents receiveNettingComponents) - Returns:
- receiveNettingComponents
-
setReceiveNettingComponents
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder setReceiveNettingComponents(@NotNull @NotNull SettlementInstructionsPartsDef.NettingComponents receiveNettingComponents, int id) - Returns:
- receiveNettingComponents
-
addAllReceiveNettingComponents
@NotNull public @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder addAllReceiveNettingComponents(@NotNull @NotNull Collection<SettlementInstructionsPartsDef.NettingComponents> receiveNettingComponents) - Returns:
- receiveNettingComponents
-