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