Acid.PuntoPagos.Sdk.PuntoPago.SetKey C# (CSharp) Method

SetKey() public method

Set the Client Key of Punto Pagos. By default this sdk use log4net with name "PuntoPagos-sdk"
public SetKey ( string key ) : PuntoPago
key string
return PuntoPago
        public PuntoPago SetKey(string key)
        {
            if(string.IsNullOrEmpty(key))
                throw new ArgumentNullException("key", "The key can not be null or empty ");
            _configuration.ClientKey = key;
            return this;
        }