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

Class defining communications puntopagos
파일 보기 프로젝트 열기: acidlabs/puntopagos-sdk

공개 메소드들

메소드 설명
CheckStatusTransaction ( CheckTransactionRequestDto checkTransaction ) : CheckTransactionResponseDto

Verify if the result of payment process was successful or not in any time.

CreateTransaction ( CreateTransactionRequestDto transactionDto ) : CreateTransactionResponseDto

Create the transaction in puntopago

NotificationTransaction ( NameValueCollection headers, NameValueCollection @params ) : NotificationTransactionDto

Verify if the result of payment process was successful or not.

Transaction ( IConfiguration configuration, IAuthorization authorization, IExecutorWeb webExecute, ILog logger ) : System

비공개 메소드들

메소드 설명
NotificationTransaction ( WebRequest request ) : NotificationTransactionDto

메소드 상세

CheckStatusTransaction() 공개 메소드

Verify if the result of payment process was successful or not in any time.
public CheckStatusTransaction ( CheckTransactionRequestDto checkTransaction ) : CheckTransactionResponseDto
checkTransaction Acid.PuntoPagos.Sdk.Dtos.CheckTransactionRequestDto To query data, necessitating the token, transaction client id and amount.
리턴 Acid.PuntoPagos.Sdk.Dtos.CheckTransactionResponseDto

CreateTransaction() 공개 메소드

Create the transaction in puntopago
public CreateTransaction ( CreateTransactionRequestDto transactionDto ) : CreateTransactionResponseDto
transactionDto Acid.PuntoPagos.Sdk.Dtos.CreateTransactionRequestDto Data for the token that begins the payment process.
리턴 Acid.PuntoPagos.Sdk.Dtos.CreateTransactionResponseDto

NotificationTransaction() 공개 메소드

Verify if the result of payment process was successful or not.
Can throw the exception if there headers "fecha" or "Autorizacion", or if the request does not contain the variables "token", "trx_id" or "monto"
public NotificationTransaction ( NameValueCollection headers, NameValueCollection @params ) : NotificationTransactionDto
headers System.Collections.Specialized.NameValueCollection Headers of Request
@params System.Collections.Specialized.NameValueCollection
리턴 Acid.PuntoPagos.Sdk.Dtos.NotificationTransactionDto

Transaction() 공개 메소드

public Transaction ( IConfiguration configuration, IAuthorization authorization, IExecutorWeb webExecute, ILog logger ) : System
configuration IConfiguration
authorization IAuthorization
webExecute IExecutorWeb
logger ILog
리턴 System