public PaymentOffer( decimal exchangeRateIncludingMargin, Money paymentValue) { this.ExchangeRateIncludingMargin = exchangeRateIncludingMargin; this.PaymentValue = paymentValue; }
public MakeOrderPayment( Guid id, Guid orderId, Money value) { this.Id = id; this.OrderId = orderId; this.Value = value; }
public OrderPaymentMade( Guid id, Money value, DateTimeOffset timestamp) { this.Id = id; this.Value = value; this.Timestamp = timestamp; }
public MakeOrderRefund( Guid id, Guid orderId, Money value) { this.Id = id; this.OrderId = orderId; this.Value = value; }
public CreateOrder( Guid id, string merchantIdentifier, ulong cardNumber, Money saleValue) { this.Id = id; this.MerchantIdentifier = merchantIdentifier; this.CardNumber = cardNumber; this.SaleValue = saleValue; }
public OrderCreated( Guid id, Guid orderId, int merchantId, Money saleValue, IEnumerable<PaymentOffer> offers, DateTimeOffset timestamp) { this.Id = id; this.OrderId = orderId; this.MerchantId = merchantId; this.SaleValue = saleValue; this.Offers = offers; this.Timestamp = timestamp; }