public DatatransCheckoutPaymentMethod(IDatatransCheckoutService datatransCheckoutService, Func <string, IDatatransClient> datatransClientFactory, IEventPublisher <DatatransBeforeCapturePaymentEvent> settlemntEventPublisher, IDatatransCapturePaymentService capturePaymentService) :
     base("DatatransCheckout")
 {
     _datatransCheckoutService = datatransCheckoutService;
     _datatransClientFactory   = datatransClientFactory;
     _settlemntEventPublisher  = settlemntEventPublisher;
     _capturePaymentService    = capturePaymentService;
 }
 private DatatransCheckoutPaymentMethod CreateDatatransCheckoutPaymentMethod(
     IDatatransCheckoutService datatransCheckoutService,
     Func <string, string, string, IDatatransClient> datatransClientFactory,
     IDatatransCapturePaymentService datatransCapturePaymentService,
     Func <string, ISignProvider> signProviderFactory)
 {
     return(new DatatransCheckoutPaymentMethod(datatransCheckoutService, datatransClientFactory, datatransCapturePaymentService, signProviderFactory));
 }
 public DatatransCheckoutPaymentMethod(
     IDatatransCheckoutService datatransCheckoutService,
     Func <string, string, string, IDatatransClient> datatransClientFactory,
     IDatatransCapturePaymentService capturePaymentService,
     Func <string, ISignProvider> signProviderFactory)
     : base("DatatransCheckout")
 {
     _datatransCheckoutService = datatransCheckoutService;
     _datatransClientFactory   = datatransClientFactory;
     _capturePaymentService    = capturePaymentService;
     _signProviderFactory      = signProviderFactory;
 }