C# Класс Acid.PuntoPagos.Sdk.Transaction

Class defining communications puntopagos
Показать файл Открыть проект

Открытые методы

Метод Описание
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