Class TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder
-
- Enclosing class:
- TradeConfPartsDef.TimeOptionLegTradeConfirmationFields
public static final class TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setFilledAmount
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setFilledAmount(@NotNull @NotNull java.math.BigDecimal filledAmount)
- Parameters:
filledAmount
- e.g. 0- Returns:
- filledAmount
-
setFilledAmount
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setFilledAmount(@NotNull @NotNull java.lang.String filledAmount)
- Parameters:
filledAmount
- e.g. 0- Returns:
- filledAmount
-
setRemainingAmount
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setRemainingAmount(@NotNull @NotNull java.math.BigDecimal remainingAmount)
- Parameters:
remainingAmount
- e.g. 500- Returns:
- remainingAmount
-
setRemainingAmount
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setRemainingAmount(@NotNull @NotNull java.lang.String remainingAmount)
- Parameters:
remainingAmount
- e.g. 500- Returns:
- remainingAmount
-
setRiskDate
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setRiskDate(@NotNull @NotNull java.lang.String riskDate)
- Parameters:
riskDate
- e.g. 20160314- Returns:
- The date in the settlement window which yields the lowest client sell price, or the highest client buy price.
-
setRiskTenor
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setRiskTenor(@NotNull @NotNull java.lang.String riskTenor)
- Parameters:
riskTenor
- e.g. 1W- Returns:
- The tenor in the settlement window which yields the lowest client sell price, or the highest client buy price.
-
setStartDate
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartDate(@NotNull @NotNull java.lang.String startDate, boolean isRisk)
- Parameters:
startDate
- e.g. 20150620- Returns:
- startDate
-
setStartDate
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartDate(@NotNull @NotNull java.lang.String startDate)
- Parameters:
startDate
- e.g. 20150620- Returns:
- startDate
-
setStartDateRisk
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartDateRisk()
-
setStartTenor
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartTenor(@NotNull @NotNull java.lang.String startTenor, boolean isRisk)
- Parameters:
startTenor
- e.g. 1W- Returns:
- startTenor
-
setStartTenor
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartTenor(@NotNull @NotNull java.lang.String startTenor)
- Parameters:
startTenor
- e.g. 1W- Returns:
- startTenor
-
setStartTenorRisk
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartTenorRisk()
-
-