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 java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setFixingDate
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingDate(@NotNull @NotNull java.lang.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 java.lang.String fixingCurrency)
- Parameters:
fixingCurrency
- e.g. USD- Returns:
- fixingCurrency
-
setFixingCode
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingCode(@NotNull @NotNull java.lang.String fixingCode)
- Parameters:
fixingCode
- e.g. [CCY]1/1600/GBLO- Returns:
- fixingCode
-
setFixingDescription
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingDescription(@NotNull @NotNull java.lang.String fixingDescription)
- Parameters:
fixingDescription
- e.g. WMR [CCY] 4pm London- Returns:
- fixingDescription
-
setFixingAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setFixingAmount(@NotNull @NotNull java.math.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 java.lang.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 java.math.BigDecimal referenceCurrency)
- Returns:
- The Buy or Sell Currency that is not the Settlement Currency
-
setReferenceCurrency
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setReferenceCurrency(@NotNull @NotNull java.lang.String referenceCurrency)
- Returns:
- The Buy or Sell Currency that is not the Settlement Currency
-
setReferenceAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setReferenceAmount(@NotNull @NotNull java.math.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 java.lang.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 java.math.BigDecimal settlementAmount)
- Returns:
- The amount of a settlement
-
setSettlementAmount
@NotNull public @NotNull TradeConfPartsDef.NDFLegTradeConfirmationFields.Builder setSettlementAmount(@NotNull @NotNull java.lang.String settlementAmount)
- Returns:
- The amount of a settlement
-
-