Show / Hide Table of Contents

Class PaymentRequestAppService

Inheritance
object
PaymentAppServiceBase
PaymentRequestAppService
Implements
IPaymentRequestAppService
IApplicationService
IRemoteService
Namespace: Volo.Payment.Requests
Assembly: Volo.Payment.Application.dll
Syntax
public class PaymentRequestAppService : PaymentAppServiceBase, IPaymentRequestAppService, IApplicationService, IRemoteService

Constructors

PaymentRequestAppService(IPaymentRequestRepository, PaymentGatewayResolver, IDistributedEventBus)

Declaration
public PaymentRequestAppService(IPaymentRequestRepository paymentRequestRepository, PaymentGatewayResolver paymentMethodResolver, IDistributedEventBus distributedEventBus)
Parameters
Type Name Description
IPaymentRequestRepository paymentRequestRepository
PaymentGatewayResolver paymentMethodResolver
IDistributedEventBus distributedEventBus

Properties

DistributedEventBus

Declaration
protected IDistributedEventBus DistributedEventBus { get; }
Property Value
Type Description
IDistributedEventBus

PaymentGatewayResolver

Declaration
protected PaymentGatewayResolver PaymentGatewayResolver { get; }
Property Value
Type Description
PaymentGatewayResolver

PaymentRequestRepository

Declaration
protected IPaymentRequestRepository PaymentRequestRepository { get; }
Property Value
Type Description
IPaymentRequestRepository

Methods

CompleteAsync(string, Dictionary<string, string>)

Declaration
public virtual 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
public virtual Task<PaymentRequestWithDetailsDto> CreateAsync(PaymentRequestCreateDto input)
Parameters
Type Name Description
PaymentRequestCreateDto input
Returns
Type Description
Task<PaymentRequestWithDetailsDto>

GetAsync(Guid)

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

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

Declaration
public virtual 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
public virtual Task<PaymentRequestStartResultDto> StartAsync(string gateway, PaymentRequestStartDto inputDto)
Parameters
Type Name Description
string gateway
PaymentRequestStartDto inputDto
Returns
Type Description
Task<PaymentRequestStartResultDto>

Implements

IPaymentRequestAppService
Volo.Abp.Application.Services.IApplicationService
Volo.Abp.IRemoteService
In this article
Back to top Powered by Volosoft