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 Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields build()
-
setFilledAmount
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setFilledAmount(@NotNull @NotNull BigDecimal filledAmount)
- Parameters:
filledAmount
- e.g. 0- Returns:
- filledAmount
-
setFilledAmount
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setFilledAmount(@NotNull @NotNull String filledAmount)
- Parameters:
filledAmount
- e.g. 0- Returns:
- filledAmount
-
setRemainingAmount
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setRemainingAmount(@NotNull @NotNull BigDecimal remainingAmount)
- Parameters:
remainingAmount
- e.g. 500- Returns:
- remainingAmount
-
setRemainingAmount
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setRemainingAmount(@NotNull @NotNull String remainingAmount)
- Parameters:
remainingAmount
- e.g. 500- Returns:
- remainingAmount
-
setRiskDate
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setRiskDate(@NotNull @NotNull 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 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 String startDate, boolean isRisk)
- Parameters:
startDate
- e.g. 20150620- Returns:
- startDate
-
setStartDate
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartDate(@NotNull @NotNull 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 String startTenor, boolean isRisk)
- Parameters:
startTenor
- e.g. 1W- Returns:
- startTenor
-
setStartTenor
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartTenor(@NotNull @NotNull String startTenor)
- Parameters:
startTenor
- e.g. 1W- Returns:
- startTenor
-
setStartTenorRisk
@NotNull public @NotNull TradeConfPartsDef.TimeOptionLegTradeConfirmationFields.Builder setStartTenorRisk()
-
-