예제 #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)
 {
 }