public PoliApiController( IOnlinePaymentManager onlinePaymentManager, IStartPaymentStrategy <PoliPayment, StartPoliPaymentResponse> startPaymentStrategy, ICompletePaymentStrategy <string, PoliCompleteResponse, PoliPayment> completeStrategy) { _onlinePaymentManager = onlinePaymentManager; _startPaymentStrategy = startPaymentStrategy; _completeStrategy = completeStrategy; }
public PayPalApiController( IOnlinePaymentManager onlinePaymentManager, IStartPaymentStrategy <PayPalPayment, StartPayPalPaymentResponse> startPaymentStrategy, IPaymentStepStrategy <string, PayPalConfirmResponse> confirmStrategy, ICompletePaymentStrategy <string, PayPalCompleteResponse, PayPalPayment> completeStrategy) { _onlinePaymentManager = onlinePaymentManager; _startPaymentStrategy = startPaymentStrategy; _confirmStrategy = confirmStrategy; _completeStrategy = completeStrategy; }