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

SetEnvironment() public method

Set the Environment of Punto Pagos.

The possibilities are:

Sandbox: For the testing

Production: For the production

public SetEnvironment ( EnvironmentForPuntoPago environment ) : PuntoPago
environment EnvironmentForPuntoPago
return PuntoPago
        public PuntoPago SetEnvironment(EnvironmentForPuntoPago environment)
        {
            _configuration.Environment = environment.ToString();
            return this;
        }