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 Object implements BuilderMessage
  • Method Details

    • getTradeID

      @Nullable public @Nullable String getTradeID()
      Returns:
      A unique identifier for this trade
    • getBuyPaymentID

      @Nullable public @Nullable String getBuyPaymentID()
      Returns:
      The unique ID of a buy side's payment the client wants to net
    • getSellPaymentID

      @Nullable public @Nullable String getSellPaymentID()
      Returns:
      The unique ID of a sell side's payment the client wants to net
    • getBuyCurrency

      @Nullable public @Nullable String getBuyCurrency()
      Returns:
      The currency of the buy side of a trade or order.
    • getSellCurrency

      @Nullable public @Nullable String getSellCurrency()
      Returns:
      The currency of the sell side of a trade or order.
    • getBuyAmount

      @Nullable public @Nullable BigDecimal getBuyAmount()
      Returns:
      The amount, specified in the BuyCurrency, of the buy side of a trade or order.
    • getSellAmount

      @Nullable public @Nullable BigDecimal getSellAmount()
      Returns:
      The amount, specified in the SellCurrency, of the sell side of a trade or order
    • getBuyNostroName

      @Nullable public @Nullable String getBuyNostroName()
      Returns:
      The name of the buy Nostro account
    • getSellNostroName

      @Nullable public @Nullable String getSellNostroName()
      Returns:
      The name of the sell Nostro account
    • getBuySettlementId

      @Nullable public @Nullable String getBuySettlementId()
      Returns:
      The settlement id of the buy side's payment
    • getSellSettlementId

      @Nullable public @Nullable String getSellSettlementId()
      Returns:
      The settlement id of the sell side's payment
    • getBuySettlementInstructionType

      @Nullable public @Nullable String getBuySettlementInstructionType()
      Returns:
      The settlement instruction type of the buy side's payment
    • getSellSettlementInstructionType

      @Nullable public @Nullable String getSellSettlementInstructionType()
      Returns:
      The settlement instruction type of the sell side's payment
    • getBuySettlementDisplayName

      @Nullable public @Nullable String getBuySettlementDisplayName()
      Returns:
      The settlement display name of the buy side's payment
    • getSellSettlementDisplayName

      @Nullable public @Nullable 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 Map<String,String> getFields()
      Specified by:
      getFields in interface Message
    • getFieldFlags

      @NotNull public @NotNull Map<String,Collection<String>> getFieldFlags()
      Specified by:
      getFieldFlags in interface BuilderMessage
      Returns:
      Get the flags for all fields.
    • getFlagFields

      @NotNull public @NotNull Map<String,Collection<String>> getFlagFields()
      Specified by:
      getFlagFields in interface BuilderMessage
      Returns:
      Get the fields for all flags.
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object
    • from

      @NotNull public static @NotNull TradePaymentsPartsDef.TradePaymentsFields from(@NotNull @NotNull Map<String,String> fields)
    • from

      @NotNull public static @NotNull TradePaymentsPartsDef.TradePaymentsFields from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
    • newBuilder

      @NotNull public static @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder newBuilder()