Kurejito.Gateways.SagePay.VspDirect.SagePayPaymentGateway.SagePayPaymentGateway C# (CSharp) Method

SagePayPaymentGateway() public method

Construct a new SagePayPaymentGateway that uses the supplied IHttpPostTransport to communicate with the remote server.
public SagePayPaymentGateway ( IHttpPostTransport http, string vendorName, decimal vpsProtocol, GatewayMode mode ) : System
http IHttpPostTransport An instance of a class implementing to provide HTTP POST capabilities.
vendorName string The vendor name used by this SagePay installation.
vpsProtocol decimal The version of the VPS Protocol used by the remote SagePay system.
mode GatewayMode
return System
        public SagePayPaymentGateway(IHttpPostTransport http, string vendorName, decimal vpsProtocol, GatewayMode mode)
        {
            this.http = http;
            this.mode = mode;
            this.vendorName = vendorName;
            this.vpsProtocol = vpsProtocol;
        }