C# Class Acid.PuntoPagos.Sdk.PuntoPago

Entry point to begin the payment process
Afficher le fichier Open project: acidlabs/puntopagos-sdk

Méthodes publiques

Méthode Description
CreateTransaction ( ) : Transaction

Create a new instance to generate a transaction to Punto Pagos

PuntoPago ( ) : System

Constructor

SetEnvironment ( EnvironmentForPuntoPago environment ) : PuntoPago

Set the Environment of Punto Pagos.

The possibilities are:

Sandbox: For the testing

Production: For the production

SetKey ( string key ) : PuntoPago

Set the Client Key of Punto Pagos. By default this sdk use log4net with name "PuntoPagos-sdk"

SetLog ( ILog logger ) : PuntoPago

Set the logger.

SetSecretCode ( string secretCode ) : PuntoPago

Set the Client Secret Code of Punto Pagos

Method Details

CreateTransaction() public méthode

Create a new instance to generate a transaction to Punto Pagos
public CreateTransaction ( ) : Transaction
Résultat Transaction

PuntoPago() public méthode

Constructor
public PuntoPago ( ) : System
Résultat System

SetEnvironment() public méthode

Set the Environment of Punto Pagos.

The possibilities are:

Sandbox: For the testing

Production: For the production

public SetEnvironment ( EnvironmentForPuntoPago environment ) : PuntoPago
environment EnvironmentForPuntoPago
Résultat PuntoPago

SetKey() public méthode

Set the Client Key of Punto Pagos. By default this sdk use log4net with name "PuntoPagos-sdk"
public SetKey ( string key ) : PuntoPago
key string
Résultat PuntoPago

SetLog() public méthode

Set the logger.
public SetLog ( ILog logger ) : PuntoPago
logger ILog
Résultat PuntoPago

SetSecretCode() public méthode

Set the Client Secret Code of Punto Pagos
public SetSecretCode ( string secretCode ) : PuntoPago
secretCode string
Résultat PuntoPago