コード例 #1
0
 public void Apply(PaymentProcessStarted aggregateEvent)
 {
     TotalPrice  = aggregateEvent.TotalPrice;
     Username    = aggregateEvent.Username;
     OrderId     = aggregateEvent.OrderId;
     Status      = PaymentStatus.Started;
     RedirectUrl = aggregateEvent.RedirectUrl;
 }
コード例 #2
0
 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;
 }