Show / Hide Table of Contents

Interface IPaymentRequestRepository

Namespace: Volo.Payment.Requests
Assembly: Volo.Payment.Domain.dll
Syntax
public interface IPaymentRequestRepository : IBasicRepository<PaymentRequest, Guid>, IBasicRepository<PaymentRequest>, IReadOnlyBasicRepository<PaymentRequest>, IRepository, IReadOnlyBasicRepository<PaymentRequest, Guid>

Methods

GetBySubscriptionAsync(string, CancellationToken)

Declaration
Task<PaymentRequest> GetBySubscriptionAsync(string externalSubscriptionId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string externalSubscriptionId
CancellationToken cancellationToken
Returns
Type Description
Task<PaymentRequest>

GetCountAsync(string, DateTime?, DateTime?, PaymentType?, PaymentRequestState?, CancellationToken)

Declaration
Task<int> GetCountAsync(string filter, DateTime? creationDateMax = null, DateTime? creationDateMin = null, PaymentType? paymentType = null, PaymentRequestState? state = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
DateTime? creationDateMax
DateTime? creationDateMin
PaymentType? paymentType
PaymentRequestState? state
CancellationToken cancellationToken
Returns
Type Description
Task<int>

GetListAsync(DateTime, DateTime, CancellationToken)

Declaration
Task<List<PaymentRequest>> GetListAsync(DateTime startDate, DateTime endDate, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DateTime startDate
DateTime endDate
CancellationToken cancellationToken
Returns
Type Description
Task<List<PaymentRequest>>

GetPagedListAsync(int, int, string, string, DateTime?, DateTime?, PaymentType?, PaymentRequestState?, bool, CancellationToken)

Declaration
Task<List<PaymentRequest>> GetPagedListAsync(int skipCount, int maxResultCount, string sorting, string filter, DateTime? creationDateMax = null, DateTime? creationDateMin = null, PaymentType? paymentType = null, PaymentRequestState? state = null, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int skipCount
int maxResultCount
string sorting
string filter
DateTime? creationDateMax
DateTime? creationDateMin
PaymentType? paymentType
PaymentRequestState? state
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<PaymentRequest>>
In this article
Back to top Powered by Volosoft