Acid.PuntoPagos.Sdk.PuntoPago.SetKey C# (CSharp) 메소드

SetKey() 공개 메소드

Set the Client Key of Punto Pagos. By default this sdk use log4net with name "PuntoPagos-sdk"
public SetKey ( string key ) : PuntoPago
key string
리턴 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;
        }