/// <summary> /// Creates an instance. /// </summary> /// <param name="productPricer"> the pricer for <seealso cref="ResolvedFxVanillaOption"/> </param> /// <param name="paymentPricer"> the pricer for <seealso cref="Payment"/> </param> public VannaVolgaFxVanillaOptionTradePricer(VannaVolgaFxVanillaOptionProductPricer productPricer, DiscountingPaymentPricer paymentPricer) { this.productPricer = ArgChecker.notNull(productPricer, "productPricer"); this.paymentPricer = ArgChecker.notNull(paymentPricer, "paymentPricer"); }