Class TradePaymentsPartsDef.TradePaymentsFields
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradepayments.TradePaymentsPartsDef.TradePaymentsFields
-
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradePaymentsPartsDef
public static final class TradePaymentsPartsDef.TradePaymentsFields extends java.lang.Object implements BuilderMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TradePaymentsPartsDef.TradePaymentsFields.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull TradePaymentsPartsDef.TradePaymentsFields
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields)
static @NotNull TradePaymentsPartsDef.TradePaymentsFields
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull java.lang.String fieldPrefix)
@Nullable java.math.BigDecimal
getBuyAmount()
@Nullable java.lang.String
getBuyCurrency()
@Nullable java.lang.String
getBuyNostroName()
@Nullable java.lang.String
getBuyPaymentID()
@Nullable java.lang.String
getBuySettlementDisplayName()
@Nullable java.lang.String
getBuySettlementId()
@Nullable java.lang.String
getBuySettlementInstructionType()
@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()
SettlementInstructionsPartsDef.NostroAccount
getNostroAccountFields()
@Nullable java.math.BigDecimal
getSellAmount()
@Nullable java.lang.String
getSellCurrency()
@Nullable java.lang.String
getSellNostroName()
@Nullable java.lang.String
getSellPaymentID()
@Nullable java.lang.String
getSellSettlementDisplayName()
@Nullable java.lang.String
getSellSettlementId()
@Nullable java.lang.String
getSellSettlementInstructionType()
@Nullable java.lang.String
getTradeID()
static @NotNull TradePaymentsPartsDef.TradePaymentsFields.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
-
getTradeID
@Nullable public @Nullable java.lang.String getTradeID()
- Returns:
- A unique identifier for this trade
-
getBuyPaymentID
@Nullable public @Nullable java.lang.String getBuyPaymentID()
- Returns:
- The unique ID of a buy side's payment the client wants to net
-
getSellPaymentID
@Nullable public @Nullable java.lang.String getSellPaymentID()
- Returns:
- The unique ID of a sell side's payment the client wants to net
-
getBuyCurrency
@Nullable public @Nullable java.lang.String getBuyCurrency()
- Returns:
- The currency of the buy side of a trade or order.
-
getSellCurrency
@Nullable public @Nullable java.lang.String getSellCurrency()
- Returns:
- The currency of the sell side of a trade or order.
-
getBuyAmount
@Nullable public @Nullable java.math.BigDecimal getBuyAmount()
- Returns:
- The amount, specified in the BuyCurrency, of the buy side of a trade or order.
-
getSellAmount
@Nullable public @Nullable java.math.BigDecimal getSellAmount()
- Returns:
- The amount, specified in the SellCurrency, of the sell side of a trade or order
-
getBuyNostroName
@Nullable public @Nullable java.lang.String getBuyNostroName()
- Returns:
- The name of the buy Nostro account
-
getSellNostroName
@Nullable public @Nullable java.lang.String getSellNostroName()
- Returns:
- The name of the sell Nostro account
-
getBuySettlementId
@Nullable public @Nullable java.lang.String getBuySettlementId()
- Returns:
- The settlement id of the buy side's payment
-
getSellSettlementId
@Nullable public @Nullable java.lang.String getSellSettlementId()
- Returns:
- The settlement id of the sell side's payment
-
getBuySettlementInstructionType
@Nullable public @Nullable java.lang.String getBuySettlementInstructionType()
- Returns:
- The settlement instruction type of the buy side's payment
-
getSellSettlementInstructionType
@Nullable public @Nullable java.lang.String getSellSettlementInstructionType()
- Returns:
- The settlement instruction type of the sell side's payment
-
getBuySettlementDisplayName
@Nullable public @Nullable java.lang.String getBuySettlementDisplayName()
- Returns:
- The settlement display name of the buy side's payment
-
getSellSettlementDisplayName
@Nullable public @Nullable java.lang.String getSellSettlementDisplayName()
- Returns:
- The settlement display name of the sell side's payment
-
getNostroAccountFields
@NotNull public SettlementInstructionsPartsDef.NostroAccount getNostroAccountFields()
- Returns:
- nostroAccountFields
-
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 TradePaymentsPartsDef.TradePaymentsFields from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields)
-
from
@NotNull public static @NotNull TradePaymentsPartsDef.TradePaymentsFields from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull @NotNull java.lang.String fieldPrefix)
-
newBuilder
@NotNull public static @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder newBuilder()
-
-