private async Task Handle(PaymentFaulted faulted) { await _paymentDetailsRepository.Update(new GatewayPaymentId(faulted.GatewayPaymentId), new AcquiringBankPaymentId(faulted.BankPaymentId), PaymentStatus.FaultedOnGateway); }
private void Apply(PaymentFaulted evt) { Status = evt.Status; Version = evt.Version; }