Class SettlementInstructionsPartsDef.SettlementTradeFields
- java.lang.Object
-
- com.caplin.generated.motif.fx.settlementinstructions.SettlementInstructionsPartsDef.SettlementTradeFields
-
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- SettlementInstructionsPartsDef
public static final class SettlementInstructionsPartsDef.SettlementTradeFields extends java.lang.Object implements BuilderMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SettlementInstructionsPartsDef.SettlementTradeFields.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull SettlementInstructionsPartsDef.SettlementTradeFields
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields)
static @NotNull SettlementInstructionsPartsDef.SettlementTradeFields
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull java.lang.String fieldPrefix)
@Nullable java.lang.String
getAffirmedBy()
@Nullable java.time.Instant
getAffirmedDateTime()
@Nullable java.lang.Boolean
getCanAdHoc()
@Nullable java.lang.Boolean
getCanAffirm()
@Nullable java.lang.Boolean
getCanApproveInstructions()
@Nullable java.lang.Boolean
getCanAutoConfirm()
@Nullable java.lang.Boolean
getCanCancel()
@Nullable java.lang.Boolean
getCanConfirm()
@Nullable java.lang.Boolean
getCanDispute()
@Nullable java.lang.Boolean
getCanRejectInstructions()
@Nullable java.lang.Boolean
getCanRelease()
@Nullable java.lang.Boolean
getCanReplace()
@Nullable java.lang.Boolean
getCanUnconfirm()
@Nullable java.lang.String
getConfirmedBy()
@Nullable java.time.Instant
getConfirmedDateTime()
@NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>>
getFieldFlags()
@NotNull java.util.Map<java.lang.String,java.lang.String>
getFields()
@NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>>
getFlagFields()
@Nullable java.lang.Boolean
getIsPayNetted()
@Nullable java.lang.Boolean
getIsPayNettingRequired()
@Nullable java.lang.Boolean
getIsPaySplit()
@Nullable java.lang.Boolean
getIsReceiveNetted()
@Nullable java.lang.Boolean
getIsReceiveNettingRequired()
@Nullable java.lang.Boolean
getIsReceiveSplit()
@Nullable java.time.Instant
getNextActionDeadline()
@Nullable java.lang.String
getNextActionDeadlineDisplayTimezone()
@org.jetbrains.annotations.Nullable int
getNumPay()
@org.jetbrains.annotations.Nullable int
getNumPayNettingComponents()
@org.jetbrains.annotations.Nullable int
getNumReceive()
@org.jetbrains.annotations.Nullable int
getNumReceiveNettingComponents()
@Nullable SettlementInstructionsPartsDef.SettlementFields
getPay(int id)
@Nullable SettlementInstructionsPartsDef.NettingComponents
getPayNettingComponents(int id)
@Nullable SettlementInstructionsPartsDef.SettlementFields
getReceive(int id)
@Nullable SettlementInstructionsPartsDef.NettingComponents
getReceiveNettingComponents(int id)
@Nullable java.lang.String
getSettlementStatus()
static @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder
newBuilder()
@NotNull java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
-
-
-
Method Detail
-
getCanAffirm
@Nullable public @Nullable java.lang.Boolean getCanAffirm()
- Returns:
- Ability to Affirm the Trade Details are as agreed.
-
getCanConfirm
@Nullable public @Nullable java.lang.Boolean getCanConfirm()
- Returns:
- Ability to Confirm the Settlement Details are now final.
-
getCanAdHoc
@Nullable public @Nullable java.lang.Boolean getCanAdHoc()
- Returns:
- Can confirm adhoc settlement instructions for a trade.
-
getCanDispute
@Nullable public @Nullable java.lang.Boolean getCanDispute()
- Returns:
- Ability to Dispute the details of a trade, if for example something is wrong about it.
-
getCanCancel
@Nullable public @Nullable java.lang.Boolean getCanCancel()
- Returns:
- Ability to Cancel a trade, for example if a mistake was made.
-
getCanReplace
@Nullable public @Nullable java.lang.Boolean getCanReplace()
- Returns:
- Ability to mark a deal as amended, meaning that it has been replaced by a corrected deal.
-
getCanAutoConfirm
@Nullable public @Nullable java.lang.Boolean getCanAutoConfirm()
- Returns:
- Ability to Mark that the deal was Confirmed by the Bank, rather than by the client.
-
getCanUnconfirm
@Nullable public @Nullable java.lang.Boolean getCanUnconfirm()
- Returns:
- Ability to move the deal back to a Pending state.
-
getCanApproveInstructions
@Nullable public @Nullable java.lang.Boolean getCanApproveInstructions()
- Returns:
- Can approve settlement instructions for a trade.
-
getCanRejectInstructions
@Nullable public @Nullable java.lang.Boolean getCanRejectInstructions()
- Returns:
- Can reject settlement instructions for a trade.
-
getCanRelease
@Nullable public @Nullable java.lang.Boolean getCanRelease()
- Returns:
- Relates to post trade actions: User can release the trade
-
getSettlementStatus
@Nullable public @Nullable java.lang.String getSettlementStatus()
- Returns:
- Caplin supported statuses are [PENDING, AFFIRMED, CONFIRMED, DISPUTED, CANCELLED, REPLACED, AUTO_CONFIRMED, OVERDUE, REJECTED]
-
getNextActionDeadline
@Nullable public @Nullable java.time.Instant getNextActionDeadline()
- Returns:
- The deadline for a user to perform a trade's next action in ISO-8601 format
-
getNextActionDeadlineDisplayTimezone
@Nullable public @Nullable java.lang.String getNextActionDeadlineDisplayTimezone()
- Returns:
- The timezone for the NextActionDeadline field in the form Area/Location
-
getAffirmedBy
@Nullable public @Nullable java.lang.String getAffirmedBy()
- Returns:
- The name of the user who affirmed a trade.
-
getAffirmedDateTime
@Nullable public @Nullable java.time.Instant getAffirmedDateTime()
- Returns:
- The time at which a trade was affirmed in ISO-8601 format
-
getConfirmedBy
@Nullable public @Nullable java.lang.String getConfirmedBy()
- Returns:
- The name of the user who confirmed a trade.
-
getConfirmedDateTime
@Nullable public @Nullable java.time.Instant getConfirmedDateTime()
- Returns:
- The time at which a trade was confirmed in ISO-8601 format
-
getIsPayNetted
@Nullable public @Nullable java.lang.Boolean getIsPayNetted()
- Returns:
- Denotes whether the pay side of a trade has been netted.
-
getIsReceiveNetted
@Nullable public @Nullable java.lang.Boolean getIsReceiveNetted()
- Returns:
- Denotes whether the receive side of a trade has been netted.
-
getIsPayNettingRequired
@Nullable public @Nullable java.lang.Boolean getIsPayNettingRequired()
- Returns:
- Denotes whether the pay side of a trade requires netting.
-
getIsReceiveNettingRequired
@Nullable public @Nullable java.lang.Boolean getIsReceiveNettingRequired()
- Returns:
- Denotes whether the receive side of a trade requires netting.
-
getIsPaySplit
@Nullable public @Nullable java.lang.Boolean getIsPaySplit()
- Returns:
- Denotes whether the pay side of a trade has been split.
-
getIsReceiveSplit
@Nullable public @Nullable java.lang.Boolean getIsReceiveSplit()
- Returns:
- Denotes whether the receive side of a trade has been split.
-
getPay
@Nullable public @Nullable SettlementInstructionsPartsDef.SettlementFields getPay(int id)
- Returns:
- pay
-
getNumPay
@Nullable public @org.jetbrains.annotations.Nullable int getNumPay()
-
getReceive
@Nullable public @Nullable SettlementInstructionsPartsDef.SettlementFields getReceive(int id)
- Returns:
- receive
-
getNumReceive
@Nullable public @org.jetbrains.annotations.Nullable int getNumReceive()
-
getPayNettingComponents
@Nullable public @Nullable SettlementInstructionsPartsDef.NettingComponents getPayNettingComponents(int id)
- Returns:
- payNettingComponents
-
getNumPayNettingComponents
@Nullable public @org.jetbrains.annotations.Nullable int getNumPayNettingComponents()
-
getReceiveNettingComponents
@Nullable public @Nullable SettlementInstructionsPartsDef.NettingComponents getReceiveNettingComponents(int id)
- Returns:
- receiveNettingComponents
-
getNumReceiveNettingComponents
@Nullable public @org.jetbrains.annotations.Nullable int getNumReceiveNettingComponents()
-
getFields
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getFields()
-
getFieldFlags
@NotNull public @NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getFieldFlags()
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
@NotNull public @NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getFlagFields()
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
from
@NotNull public static @NotNull SettlementInstructionsPartsDef.SettlementTradeFields from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields)
-
from
@NotNull public static @NotNull SettlementInstructionsPartsDef.SettlementTradeFields from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull @NotNull java.lang.String fieldPrefix)
-
newBuilder
@NotNull public static @NotNull SettlementInstructionsPartsDef.SettlementTradeFields.Builder newBuilder()
-
-