Class TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder
-
- Enclosing class:
- TradeConfPartsDef.NDFLegTradeConfirmationFields
public static final class TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields build()
-
setFixingDate
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingDate(@NotNull @NotNull String fixingDate)
- Parameters:
fixingDate
- e.g. 20150620- Returns:
- This is the day and time whereby the comparison between the NDF rate and the prevailing spot rate is made.
-
setFixingCurrency
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingCurrency(@NotNull @NotNull String fixingCurrency)
- Parameters:
fixingCurrency
- e.g. USD- Returns:
- fixingCurrency
-
setFixingCode
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingCode(@NotNull @NotNull String fixingCode)
- Parameters:
fixingCode
- e.g. [CCY]1/1600/GBLO- Returns:
- fixingCode
-
setFixingDescription
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingDescription(@NotNull @NotNull String fixingDescription)
- Parameters:
fixingDescription
- e.g. WMR [CCY] 4pm London- Returns:
- fixingDescription
-
setFixingAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingAmount(@NotNull @NotNull BigDecimal fixingAmount)
- Returns:
- The Buy or Sell Amount from the original deal for currency that is the Settlement Currency
-
setFixingAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingAmount(@NotNull @NotNull String fixingAmount)
- Returns:
- The Buy or Sell Amount from the original deal for currency that is the Settlement Currency
-
setReferenceCurrency
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setReferenceCurrency(@NotNull @NotNull BigDecimal referenceCurrency)
- Returns:
- The Buy or Sell Currency that is not the Settlement Currency
-
setReferenceCurrency
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setReferenceCurrency(@NotNull @NotNull String referenceCurrency)
- Returns:
- The Buy or Sell Currency that is not the Settlement Currency
-
setReferenceAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setReferenceAmount(@NotNull @NotNull BigDecimal referenceAmount)
- Returns:
- The Buy or Sell Amount from the original deal for currency that is not the Settlement Currency
-
setReferenceAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setReferenceAmount(@NotNull @NotNull String referenceAmount)
- Returns:
- The Buy or Sell Amount from the original deal for currency that is not the Settlement Currency
-
setSettlementAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setSettlementAmount(@NotNull @NotNull BigDecimal settlementAmount)
- Returns:
- The amount of a settlement
-
setSettlementAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setSettlementAmount(@NotNull @NotNull String settlementAmount)
- Returns:
- The amount of a settlement
-
-