Class TradeDetailsPartsDef.TradeDetailsFields.Builder
java.lang.Object
com.caplin.generated.motif.mm.tradedetails.TradeDetailsPartsDef.TradeDetailsFields.Builder
- Enclosing class:
- TradeDetailsPartsDef.TradeDetailsFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCurrency
(@NotNull String currency) setInterestAmount
(@NotNull String interestAmount) setInterestAmount
(@NotNull BigDecimal interestAmount) setInterestRate
(@NotNull String interestRate) setInterestRate
(@NotNull BigDecimal interestRate) setMaturityDate
(@NotNull String maturityDate) setMaturityDate
(@NotNull LocalDate maturityDate) setPrincipalAmount
(@NotNull String principalAmount) setPrincipalAmount
(@NotNull BigDecimal principalAmount) setStartDate
(@NotNull String startDate) setStartDate
(@NotNull LocalDate startDate) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setCurrency
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setCurrency(@NotNull @NotNull String currency) - Returns:
- The currency in which the trade is made.
-
setPrincipalAmount
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setPrincipalAmount(@NotNull @NotNull BigDecimal principalAmount) - Returns:
- Principal amount for the trade specified in the provided Currency.
-
setPrincipalAmount
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setPrincipalAmount(@NotNull @NotNull String principalAmount) - Returns:
- Principal amount for the trade specified in the provided Currency.
-
setStartDate
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setStartDate(@NotNull @NotNull LocalDate startDate) - Returns:
- The start date of the trade.
-
setStartDate
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setStartDate(@NotNull @NotNull String startDate) - Returns:
- The start date of the trade.
-
setMaturityDate
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setMaturityDate(@NotNull @NotNull LocalDate maturityDate) - Returns:
- The maturity date of the trade.
-
setMaturityDate
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setMaturityDate(@NotNull @NotNull String maturityDate) - Returns:
- The maturity date of the trade.
-
setInterestRate
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setInterestRate(@NotNull @NotNull BigDecimal interestRate) - Returns:
- Interest rate on the given PrincipalAmount.
-
setInterestRate
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setInterestRate(@NotNull @NotNull String interestRate) - Returns:
- Interest rate on the given PrincipalAmount.
-
setInterestAmount
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setInterestAmount(@NotNull @NotNull BigDecimal interestAmount) - Returns:
- Interest amount (specified in the provided Currency) calculated from the interest rate and principal amount.
-
setInterestAmount
@NotNull public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setInterestAmount(@NotNull @NotNull String interestAmount) - Returns:
- Interest amount (specified in the provided Currency) calculated from the interest rate and principal amount.
-