Class CapitalIncreasePartsDef.CapitalIncreaseFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.mm.capitalincrease.CapitalIncreasePartsDef.CapitalIncreaseFields.Builder
-
- Enclosing class:
- CapitalIncreasePartsDef.CapitalIncreaseFields
public static final class CapitalIncreasePartsDef.CapitalIncreaseFields.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setTradeID
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setTradeID(@NotNull @NotNull java.lang.String tradeID)
- Returns:
- The unique id identifying the trade.
-
setOriginalAmount
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setOriginalAmount(@NotNull @NotNull java.math.BigDecimal originalAmount)
- Returns:
- The original principal amount for the trade in capital increase.
-
setOriginalAmount
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setOriginalAmount(@NotNull @NotNull java.lang.String originalAmount)
- Returns:
- The original principal amount for the trade in capital increase.
-
setPrincipalAmount
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setPrincipalAmount(@NotNull @NotNull java.math.BigDecimal principalAmount)
- Returns:
- Principal amount for the trade specified in the provided Currency.
-
setPrincipalAmount
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setPrincipalAmount(@NotNull @NotNull java.lang.String principalAmount)
- Returns:
- Principal amount for the trade specified in the provided Currency.
-
setStartDate
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setStartDate(@NotNull @NotNull java.time.LocalDate startDate)
- Returns:
- The start date of the trade.
-
setStartDate
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setStartDate(@NotNull @NotNull java.lang.String startDate)
- Returns:
- The start date of the trade.
-
setMaturityDate
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setMaturityDate(@NotNull @NotNull java.time.LocalDate maturityDate)
- Returns:
- The maturity date of the trade.
-
setMaturityDate
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setMaturityDate(@NotNull @NotNull java.lang.String maturityDate)
- Returns:
- The maturity date of the trade.
-
setNumberOfDays
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setNumberOfDays(@NotNull @NotNull java.lang.String numberOfDays)
- Returns:
- The number of days between the start and maturity dates.
-
setInterestRate
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setInterestRate(@NotNull @NotNull java.math.BigDecimal interestRate)
- Returns:
- Interest rate on the given PrincipalAmount.
-
setInterestRate
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setInterestRate(@NotNull @NotNull java.lang.String interestRate)
- Returns:
- Interest rate on the given PrincipalAmount.
-
setInterestRateDPS
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setInterestRateDPS(@NotNull @NotNull java.math.BigDecimal interestRateDPS)
- Returns:
- The precision for a specified InterestRate.
-
setInterestRateDPS
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setInterestRateDPS(@NotNull @NotNull java.lang.String interestRateDPS)
- Returns:
- The precision for a specified InterestRate.
-
setCurrency
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setCurrency(@NotNull @NotNull java.lang.String currency)
- Returns:
- The currency in which the trade is made.
-
setTradingType
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setTradingType(@NotNull @NotNull java.lang.String tradingType)
- Returns:
- The type of the trade. Supported types are [LOAN, DEPOSIT, CALL-DEPOSIT, TERM-DEPOSIT, FLEXI-NOTICE-DEPOSIT, TREASURY-BILL or GOVERNMENT-BOND].
-
setIncreasedAmount
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setIncreasedAmount(@NotNull @NotNull java.math.BigDecimal increasedAmount)
- Returns:
- The increased principal amount for the trade in capital increase.
-
setIncreasedAmount
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setIncreasedAmount(@NotNull @NotNull java.lang.String increasedAmount)
- Returns:
- The increased principal amount for the trade in capital increase.
-
setNoticePeriodDescription
@NotNull public @NotNull CapitalIncreasePartsDef.CapitalIncreaseFields.Builder setNoticePeriodDescription(@NotNull @NotNull java.lang.String noticePeriodDescription)
- Parameters:
noticePeriodDescription
- e.g. 32 Days- Returns:
- The notice period description for the trade, sent as the raw display value or a translation token.
-
-