5 changed files with 13 additions and 12 deletions
@ -1,9 +1,10 @@ |
|||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
using EShopOnAbp.PaymentService.PaymentRequests; |
using EShopOnAbp.PaymentService.PaymentRequests; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
|
||||
namespace EShopOnAbp.PaymentService.PaymentServices; |
namespace EShopOnAbp.PaymentService.PaymentServices; |
||||
|
|
||||
public interface IPaymentStrategy |
public interface IPaymentStrategy : ITransientDependency |
||||
{ |
{ |
||||
public Task<PaymentRequestStartResultDto> StartAsync(PaymentRequest paymentRequest, PaymentRequestStartDto input); |
public Task<PaymentRequestStartResultDto> StartAsync(PaymentRequest paymentRequest, PaymentRequestStartDto input); |
||||
public Task<PaymentRequest> CompleteAsync(IPaymentRequestRepository paymentRequestRepository, string token); |
public Task<PaymentRequest> CompleteAsync(IPaymentRequestRepository paymentRequestRepository, string token); |
||||
|
|||||
Loading…
Reference in new issue