/// <summary> /// 生成退款账单明细 /// </summary> private PostponeRefundDetailBill makeRefundDetailBill(PostponePayDetailBill payBill) { return(new PostponeRefundDetailBill(payBill.Passenger, payBill.Flight) { Anticipation = payBill.PostponeFee * -1, TradeFee = payBill.TradeFee * -1 }); }
/// <summary> /// 生成支付账单明细 /// </summary> private PostponePayDetailBill makePayDetailBill(Guid passenger, Order.Domain.Applyform.PostponeFlight flight) { var bill = new PostponePayDetailBill(passenger, Flight.GetFlight(flight.OriginalFlight)) { PostponeFee = GetPostponeFee(flight) }; bill.Anticipation = bill.PostponeFee; return(bill); }