Class QuotePartsDef.CommonFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.mm.rates.QuotePartsDef.CommonFields.Builder
-
- Enclosing class:
- QuotePartsDef.CommonFields
public static final class QuotePartsDef.CommonFields.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull QuotePartsDef.CommonFields build()
-
setLoanQuoteID
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setLoanQuoteID(@NotNull @NotNull String loanQuoteID)
- Returns:
- Unique id for a loan quote, used to determine which quote has been used for trade execution.
-
setDepositQuoteID
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositQuoteID(@NotNull @NotNull String depositQuoteID)
- Returns:
- Unique id for a deposit quote, used to determine which quote has been used for trade execution.
-
setLoanInterestRate
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setLoanInterestRate(@NotNull @NotNull BigDecimal loanInterestRate)
- Returns:
- Interest rate on loaning the given PrincipalAmount.
-
setLoanInterestRate
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setLoanInterestRate(@NotNull @NotNull String loanInterestRate)
- Returns:
- Interest rate on loaning the given PrincipalAmount.
-
setDepositInterestRate
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositInterestRate(@NotNull @NotNull BigDecimal depositInterestRate)
- Returns:
- Interest rate on depositing the given PrincipalAmount.
-
setDepositInterestRate
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositInterestRate(@NotNull @NotNull String depositInterestRate)
- Returns:
- Interest rate on depositing the given PrincipalAmount.
-
setLoanInterestAmount
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setLoanInterestAmount(@NotNull @NotNull BigDecimal loanInterestAmount)
- Returns:
- Interest amount (specified in the provided Currency) calculated from the loan interest rate and principal amount
-
setLoanInterestAmount
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setLoanInterestAmount(@NotNull @NotNull String loanInterestAmount)
- Returns:
- Interest amount (specified in the provided Currency) calculated from the loan interest rate and principal amount
-
setDepositInterestAmount
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositInterestAmount(@NotNull @NotNull BigDecimal depositInterestAmount)
- Returns:
- Interest amount (specified in the provided Currency) calculated from the deposit interest rate and principal amount
-
setDepositInterestAmount
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositInterestAmount(@NotNull @NotNull String depositInterestAmount)
- Returns:
- Interest amount (specified in the provided Currency) calculated from the deposit interest rate and principal amount
-
setLoanPrincipalPlusInterest
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setLoanPrincipalPlusInterest(@NotNull @NotNull BigDecimal loanPrincipalPlusInterest)
- Returns:
- Composite amount between principal amount and loan interest amount.
-
setLoanPrincipalPlusInterest
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setLoanPrincipalPlusInterest(@NotNull @NotNull String loanPrincipalPlusInterest)
- Returns:
- Composite amount between principal amount and loan interest amount.
-
setDepositPrincipalPlusInterest
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositPrincipalPlusInterest(@NotNull @NotNull BigDecimal depositPrincipalPlusInterest)
- Returns:
- Composite amount between principal amount and deposit interest amount.
-
setDepositPrincipalPlusInterest
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositPrincipalPlusInterest(@NotNull @NotNull String depositPrincipalPlusInterest)
- Returns:
- Composite amount between principal amount and deposit interest amount.
-
setOverallTimeout
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setOverallTimeout(int overallTimeout)
- Returns:
- The amount in seconds in which the trade will expire.
-
setOverallTimeout
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setOverallTimeout(@NotNull @NotNull String overallTimeout)
- Returns:
- The amount in seconds in which the trade will expire.
-
-