Show / Hide Table of Contents

Class PaymentRequestAppService

Inheritance
object
ApplicationService
PaymentAppServiceBase
PaymentRequestAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IPaymentRequestAppService
IApplicationService
IRemoteService
Inherited Members
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Payment.Requests
Assembly: Volo.Payment.Application.dll
Syntax
public class PaymentRequestAppService : PaymentAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, 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

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IPaymentRequestAppService
IApplicationService
IRemoteService

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform