C# 클래스 Acid.PuntoPagos.Sdk.PuntoPago

Entry point to begin the payment process
파일 보기 프로젝트 열기: acidlabs/puntopagos-sdk

공개 메소드들

메소드 설명
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

메소드 상세

CreateTransaction() 공개 메소드

Create a new instance to generate a transaction to Punto Pagos
public CreateTransaction ( ) : Transaction
리턴 Transaction

PuntoPago() 공개 메소드

Constructor
public PuntoPago ( ) : System
리턴 System

SetEnvironment() 공개 메소드

Set the Environment of Punto Pagos.

The possibilities are:

Sandbox: For the testing

Production: For the production

public SetEnvironment ( EnvironmentForPuntoPago environment ) : PuntoPago
environment EnvironmentForPuntoPago
리턴 PuntoPago

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

SetLog() 공개 메소드

Set the logger.
public SetLog ( ILog logger ) : PuntoPago
logger ILog
리턴 PuntoPago

SetSecretCode() 공개 메소드

Set the Client Secret Code of Punto Pagos
public SetSecretCode ( string secretCode ) : PuntoPago
secretCode string
리턴 PuntoPago