示例#1
0
 public PayinRefund(Guid id, Payin transaction, PurchaseOrder purchaseOrder)
     : base(id, TransactionKind.RefundPayin, purchaseOrder.TotalOnSalePrice, transaction.CreditedWallet, transaction.Author)
 {
     Credited        = transaction.Debited;
     PurchaseOrder   = purchaseOrder;
     PurchaseOrderId = purchaseOrder.Id;
     Payin           = transaction;
     PayinId         = transaction.Id;
     DomainEvents    = new List <DomainEvent>();
 }
示例#2
0
文件: Refund.cs 项目: sheaft-app/api
 protected Refund(Guid id, TransactionKind kind, Payin transaction)
     : this(id, kind, transaction.Credited, transaction.CreditedWallet, transaction.Author)
 {
 }