Show / Hide Table of Contents

Interface IPaymentRequestAppService

Namespace: Volo.Payment.Requests
Assembly: Volo.Payment.Application.Contracts.dll
Syntax
public interface IPaymentRequestAppService : IApplicationService, IRemoteService

Methods

CompleteAsync(string, Dictionary<string, string>)

Declaration
Task<PaymentRequestWithDetailsDto> CompleteAsync(string paymentGateway, Dictionary<string, string> parameters)
Parameters
Type Name Description
string paymentGateway
Dictionary<string, string> parameters
Returns
Type Description
Task<PaymentRequestWithDetailsDto>

CreateAsync(PaymentRequestCreateDto)

Declaration
Task<PaymentRequestWithDetailsDto> CreateAsync(PaymentRequestCreateDto input)
Parameters
Type Name Description
PaymentRequestCreateDto input
Returns
Type Description
Task<PaymentRequestWithDetailsDto>

GetAsync(Guid)

Declaration
Task<PaymentRequestWithDetailsDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<PaymentRequestWithDetailsDto>

HandleWebhookAsync(string, string, Dictionary<string, string>)

Declaration
Task<bool> HandleWebhookAsync(string paymentGateway, string payload, Dictionary<string, string> headers)
Parameters
Type Name Description
string paymentGateway
string payload
Dictionary<string, string> headers
Returns
Type Description
Task<bool>

StartAsync(string, PaymentRequestStartDto)

Declaration
Task<PaymentRequestStartResultDto> StartAsync(string paymentGateway, PaymentRequestStartDto input)
Parameters
Type Name Description
string paymentGateway
PaymentRequestStartDto input
Returns
Type Description
Task<PaymentRequestStartResultDto>
In this article
Back to top Powered by Volosoft