Class TradePaymentsPartsDef.TradePaymentsFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.tradepayments.TradePaymentsPartsDef.TradePaymentsFields.Builder
- Enclosing class:
- TradePaymentsPartsDef.TradePaymentsFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setBuyAmount
(@NotNull String buyAmount) setBuyAmount
(@NotNull BigDecimal buyAmount) setBuyCurrency
(@NotNull String buyCurrency) setBuyNostroName
(@NotNull String buyNostroName) setBuyPaymentID
(@NotNull String buyPaymentID) setBuySettlementDisplayName
(@NotNull String buySettlementDisplayName) setBuySettlementId
(@NotNull String buySettlementId) setBuySettlementInstructionType
(@NotNull String buySettlementInstructionType) setNostroAccountFields
(SettlementInstructionsPartsDef.NostroAccount nostroAccountFields) setSellAmount
(@NotNull String sellAmount) setSellAmount
(@NotNull BigDecimal sellAmount) setSellCurrency
(@NotNull String sellCurrency) setSellNostroName
(@NotNull String sellNostroName) setSellPaymentID
(@NotNull String sellPaymentID) setSellSettlementDisplayName
(@NotNull String sellSettlementDisplayName) setSellSettlementId
(@NotNull String sellSettlementId) setSellSettlementInstructionType
(@NotNull String sellSettlementInstructionType) setTradeID
(@NotNull String tradeID) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setTradeID
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setTradeID(@NotNull @NotNull String tradeID) - Parameters:
tradeID
- e.g. 00001561- Returns:
- A unique identifier for this trade
-
setBuyPaymentID
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setBuyPaymentID(@NotNull @NotNull String buyPaymentID) - Returns:
- The unique ID of a buy side's payment the client wants to net
-
setSellPaymentID
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setSellPaymentID(@NotNull @NotNull String sellPaymentID) - Returns:
- The unique ID of a sell side's payment the client wants to net
-
setBuyCurrency
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setBuyCurrency(@NotNull @NotNull String buyCurrency) - Parameters:
buyCurrency
- e.g. GBP- Returns:
- The currency of the buy side of a trade or order.
-
setSellCurrency
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setSellCurrency(@NotNull @NotNull String sellCurrency) - Parameters:
sellCurrency
- e.g. USD- Returns:
- The currency of the sell side of a trade or order.
-
setBuyAmount
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setBuyAmount(@NotNull @NotNull BigDecimal buyAmount) - Parameters:
buyAmount
- e.g. 12412891.31- Returns:
- The amount, specified in the BuyCurrency, of the buy side of a trade or order.
-
setBuyAmount
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setBuyAmount(@NotNull @NotNull String buyAmount) - Parameters:
buyAmount
- e.g. 12412891.31- Returns:
- The amount, specified in the BuyCurrency, of the buy side of a trade or order.
-
setSellAmount
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setSellAmount(@NotNull @NotNull BigDecimal sellAmount) - Parameters:
sellAmount
- e.g. 12412891.31- Returns:
- The amount, specified in the SellCurrency, of the sell side of a trade or order
-
setSellAmount
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setSellAmount(@NotNull @NotNull String sellAmount) - Parameters:
sellAmount
- e.g. 12412891.31- Returns:
- The amount, specified in the SellCurrency, of the sell side of a trade or order
-
setBuyNostroName
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setBuyNostroName(@NotNull @NotNull String buyNostroName) - Returns:
- The name of the buy Nostro account
-
setSellNostroName
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setSellNostroName(@NotNull @NotNull String sellNostroName) - Returns:
- The name of the sell Nostro account
-
setBuySettlementId
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setBuySettlementId(@NotNull @NotNull String buySettlementId) - Returns:
- The settlement id of the buy side's payment
-
setSellSettlementId
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setSellSettlementId(@NotNull @NotNull String sellSettlementId) - Returns:
- The settlement id of the sell side's payment
-
setBuySettlementInstructionType
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setBuySettlementInstructionType(@NotNull @NotNull String buySettlementInstructionType) - Returns:
- The settlement instruction type of the buy side's payment
-
setSellSettlementInstructionType
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setSellSettlementInstructionType(@NotNull @NotNull String sellSettlementInstructionType) - Returns:
- The settlement instruction type of the sell side's payment
-
setBuySettlementDisplayName
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setBuySettlementDisplayName(@NotNull @NotNull String buySettlementDisplayName) - Returns:
- The settlement display name of the buy side's payment
-
setSellSettlementDisplayName
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setSellSettlementDisplayName(@NotNull @NotNull String sellSettlementDisplayName) - Returns:
- The settlement display name of the sell side's payment
-
setNostroAccountFields
@NotNull public @NotNull TradePaymentsPartsDef.TradePaymentsFields.Builder setNostroAccountFields(@NotNull SettlementInstructionsPartsDef.NostroAccount nostroAccountFields) - Returns:
- nostroAccountFields
-