Class QuotePartsDef.CommonFields.Builder
java.lang.Object
com.caplin.generated.motif.mm.rates.QuotePartsDef.CommonFields.Builder
- Enclosing class:
- QuotePartsDef.CommonFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull QuotePartsDef.CommonFields.Builder
@NotNull QuotePartsDef.CommonFields
build()
@NotNull QuotePartsDef.CommonFields.Builder
setDepositClientInterestRate
(@NotNull String depositClientInterestRate) @NotNull QuotePartsDef.CommonFields.Builder
setDepositClientInterestRate
(@NotNull BigDecimal depositClientInterestRate) @NotNull QuotePartsDef.CommonFields.Builder
setDepositInterestAmount
(@NotNull String depositInterestAmount) @NotNull QuotePartsDef.CommonFields.Builder
setDepositInterestAmount
(@NotNull BigDecimal depositInterestAmount) @NotNull QuotePartsDef.CommonFields.Builder
setDepositInterestRate
(@NotNull String depositInterestRate) @NotNull QuotePartsDef.CommonFields.Builder
setDepositInterestRate
(@NotNull BigDecimal depositInterestRate) @NotNull QuotePartsDef.CommonFields.Builder
setDepositPrincipalPlusInterest
(@NotNull String depositPrincipalPlusInterest) @NotNull QuotePartsDef.CommonFields.Builder
setDepositPrincipalPlusInterest
(@NotNull BigDecimal depositPrincipalPlusInterest) @NotNull QuotePartsDef.CommonFields.Builder
setDepositQuoteID
(@NotNull String depositQuoteID) @NotNull QuotePartsDef.CommonFields.Builder
@NotNull QuotePartsDef.CommonFields.Builder
setFees
(@NotNull BigDecimal fees) @NotNull QuotePartsDef.CommonFields.Builder
setInterestRateDPS
(@NotNull String interestRateDPS) @NotNull QuotePartsDef.CommonFields.Builder
setInterestRateDPS
(@NotNull BigDecimal interestRateDPS) @NotNull QuotePartsDef.CommonFields.Builder
setLoanInterestAmount
(@NotNull String loanInterestAmount) @NotNull QuotePartsDef.CommonFields.Builder
setLoanInterestAmount
(@NotNull BigDecimal loanInterestAmount) @NotNull QuotePartsDef.CommonFields.Builder
setLoanInterestRate
(@NotNull String loanInterestRate) @NotNull QuotePartsDef.CommonFields.Builder
setLoanInterestRate
(@NotNull BigDecimal loanInterestRate) @NotNull QuotePartsDef.CommonFields.Builder
setLoanPrincipalPlusInterest
(@NotNull String loanPrincipalPlusInterest) @NotNull QuotePartsDef.CommonFields.Builder
setLoanPrincipalPlusInterest
(@NotNull BigDecimal loanPrincipalPlusInterest) @NotNull QuotePartsDef.CommonFields.Builder
setLoanQuoteID
(@NotNull String loanQuoteID) @NotNull QuotePartsDef.CommonFields.Builder
setOverallTimeout
(int overallTimeout) @NotNull QuotePartsDef.CommonFields.Builder
setOverallTimeout
(@NotNull String overallTimeout) @NotNull QuotePartsDef.CommonFields.Builder
setRemainingTimeOutMillis
(int remainingTimeOutMillis) @NotNull QuotePartsDef.CommonFields.Builder
setRemainingTimeOutMillis
(@NotNull String remainingTimeOutMillis) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
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.
-
setInterestRateDPS
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setInterestRateDPS(@NotNull @NotNull BigDecimal interestRateDPS) - Returns:
- The precision for a specified InterestRate.
-
setInterestRateDPS
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setInterestRateDPS(@NotNull @NotNull String interestRateDPS) - Returns:
- The precision for a specified InterestRate.
-
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.
-
setDepositClientInterestRate
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositClientInterestRate(@NotNull @NotNull BigDecimal depositClientInterestRate) - Parameters:
depositClientInterestRate
- e.g. 5.04- Returns:
- Client interest rate on depositing the given PrincipalAmount.
-
setDepositClientInterestRate
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setDepositClientInterestRate(@NotNull @NotNull String depositClientInterestRate) - Parameters:
depositClientInterestRate
- e.g. 5.04- Returns:
- Client 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
- 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.
-
setRemainingTimeOutMillis
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setRemainingTimeOutMillis(int remainingTimeOutMillis) - Returns:
- The number of milliseconds remaining of the OverallTimeOut before this stream is timed out. This is not present for standard price updates.
-
setRemainingTimeOutMillis
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setRemainingTimeOutMillis(@NotNull @NotNull String remainingTimeOutMillis) - Returns:
- The number of milliseconds remaining of the OverallTimeOut before this stream is timed out. This is not present for standard price updates.
-
setFees
@NotNull public @NotNull QuotePartsDef.CommonFields.Builder setFees(@NotNull @NotNull BigDecimal fees) - Parameters:
fees
- e.g. 10.0- Returns:
- Fees on the given PrincipalAmount for unwind.
-
setFees
- Parameters:
fees
- e.g. 10.0- Returns:
- Fees on the given PrincipalAmount for unwind.
-