Braintree.CustomerGateway.CustomerGateway C# (CSharp) Method

CustomerGateway() protected method

protected CustomerGateway ( IBraintreeGateway gateway ) : Braintree.Exceptions
gateway IBraintreeGateway
return Braintree.Exceptions
        protected internal CustomerGateway(IBraintreeGateway gateway)
        {
            gateway.Configuration.AssertHasAccessTokenOrKeys();
            this.gateway = gateway;
            service = new BraintreeService(gateway.Configuration);
        }