Пример #1
0
 public PaymentOffer(
     decimal exchangeRateIncludingMargin,
     Money paymentValue)
 {
     this.ExchangeRateIncludingMargin = exchangeRateIncludingMargin;
     this.PaymentValue = paymentValue;
 }
Пример #2
0
 public MakeOrderPayment(
     Guid id,
     Guid orderId,
     Money value)
 {
     this.Id = id;
     this.OrderId = orderId;
     this.Value = value;
 }
Пример #3
0
 public OrderPaymentMade(
     Guid id,
     Money value,
     DateTimeOffset timestamp)
 {
     this.Id = id;
     this.Value = value;
     this.Timestamp = timestamp;
 }
Пример #4
0
 public MakeOrderRefund(
     Guid id,
     Guid orderId,
     Money value)
 {
     this.Id = id;
     this.OrderId = orderId;
     this.Value = value;
 }
Пример #5
0
 public CreateOrder(
     Guid id,
     string merchantIdentifier,
     ulong cardNumber,
     Money saleValue)
 {
     this.Id = id;
     this.MerchantIdentifier = merchantIdentifier;
     this.CardNumber = cardNumber;
     this.SaleValue = saleValue;
 }
Пример #6
0
 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;
 }