Exemple #1
0
 /// <summary>
 /// Set the Environment of Punto Pagos.
 /// <para>The possibilities are:</para>
 /// <para>Sandbox: For the testing</para>
 /// <para>Production: For the production</para>
 /// </summary>
 /// <param name="environment"></param>
 /// <returns></returns>
 public PuntoPago SetEnvironment(EnvironmentForPuntoPago environment)
 {
     _configuration.Environment = environment.ToString();
     return(this);
 }
Exemple #2
0
 /// <summary>
 /// Set the Environment of Punto Pagos.
 /// <para>The possibilities are:</para>
 /// <para>Sandbox: For the testing</para>
 /// <para>Production: For the production</para>
 /// </summary>
 /// <param name="environment"></param>
 /// <returns></returns>
 public PuntoPago SetEnvironment(EnvironmentForPuntoPago environment)
 {
     _configuration.Environment = environment.ToString();
     return this;
 }