public void Apply(PaymentProcessStarted aggregateEvent) { TotalPrice = aggregateEvent.TotalPrice; Username = aggregateEvent.Username; OrderId = aggregateEvent.OrderId; Status = PaymentStatus.Started; RedirectUrl = aggregateEvent.RedirectUrl; }
public void Apply(PaymentProcessStarted aggregateEvent) { Country = aggregateEvent.Country; Currency = aggregateEvent.Currency; System = aggregateEvent.System; Amount = aggregateEvent.Amount; ExternalId = aggregateEvent.ExternalId; ExternalCallbackUrl = aggregateEvent.ExternalCallbackUrl; Status = PaymentStatus.Started; }