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

SetSecretCode() 공개 메소드

Set the Client Secret Code of Punto Pagos
public SetSecretCode ( string secretCode ) : PuntoPago
secretCode string
리턴 PuntoPago
        public PuntoPago SetSecretCode(string secretCode)
        {
            if (string.IsNullOrEmpty(secretCode))
                throw new ArgumentNullException("secretCode", "The secretCode can not be null or empty ");
            _configuration.ClientSecret = secretCode;
            return this;
        }