Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OLEController" /> class.
 /// </summary>
 /// <param name="logic">The busines logic interface, injected through Unity with real or testable mock.</param>
 /// <param name="paymentLogic">Payment logic interface</param>
 /// <param name="commonLogic">Form common logic inteface</param>
 public OLEController(IOLELogic logic, IVetumaPaymentLogic paymentLogic, IFormsCommonLogic commonLogic)
 {
     this.businessLogic = logic;
     this.PaymentLogic = paymentLogic;
     this.formsCommonLogic = commonLogic;
 }
 /// <summary>
 /// Class contrucort. set Payment logic class
 /// </summary>
 /// <param name="paymentLogic">IVetumaPaymentLogic instance</param>
 public VetumaPaymentHelper(IVetumaPaymentLogic paymentLogic)
 {
     this.PaymentLogic = paymentLogic;
 }