Class SetExpiredPaymentOnCheckoutExpirationCommandHandler
Namespace: Payment.Application.Requests.Handlers.Payment.Stripe
Assembly: Payment.Application.dll
public sealed class SetExpiredPaymentOnCheckoutExpirationCommandHandler : IRequestHandler<SetExpiredPaymentOnCheckoutExpirationCommand, Result<Payment>>
Inheritance
object ← SetExpiredPaymentOnCheckoutExpirationCommandHandler
Implements
IRequestHandler<SetExpiredPaymentOnCheckoutExpirationCommand, Result<Payment\>\>
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
SetExpiredPaymentOnCheckoutExpirationCommandHandler\(IPaymentRepository, IUnitOfWork\)
public SetExpiredPaymentOnCheckoutExpirationCommandHandler(IPaymentRepository paymentRepository, IUnitOfWork unitOfWork)
Parameters
paymentRepository IPaymentRepository
unitOfWork IUnitOfWork
Methods
Handle\(SetExpiredPaymentOnCheckoutExpirationCommand, CancellationToken\)
Handles a request
public Task<Result<Payment>> Handle(SetExpiredPaymentOnCheckoutExpirationCommand request, CancellationToken cancellationToken)
Parameters
request SetExpiredPaymentOnCheckoutExpirationCommand
The request
cancellationToken CancellationToken
Cancellation token
Returns
Task <Result<Payment\>\>
Response from the request
Last modified: 21 May 2024