package org.xmx0632.deliciousfruit.service; import java.math.BigDecimal; public class ExpectedDeductionPayResult { public BigDecimal payCashCouponAmount;// 现金券抵扣付款金额 public int payByCashCouponInfoSize;// 现金券数量 public int payByGiftCardInfoSize;// 礼品卡数量 public BigDecimal giftDeductionAmount;// 礼品卡抵扣付款金额 public BigDecimal giftBalance;// 礼品卡余额 public BigDecimal deductionPointAmount;// 积分抵扣付款 public BigDecimal deductionAccountAmount;// 账户余额抵扣付款 public ExpectedDeductionPayResult(BigDecimal payCashCouponAmount, int payByCashCouponInfoSize, int payByGiftCardInfoSize, BigDecimal giftDeductionAmount, BigDecimal giftBalance, BigDecimal deductionPointAmount, BigDecimal deductionAccountAmount) { this.payCashCouponAmount = payCashCouponAmount; this.payByCashCouponInfoSize = payByCashCouponInfoSize; this.payByGiftCardInfoSize = payByGiftCardInfoSize; this.giftDeductionAmount = giftDeductionAmount; this.giftBalance = giftBalance; this.deductionPointAmount = deductionPointAmount; this.deductionAccountAmount = deductionAccountAmount; } @Override public String toString() { return "ExpectedDeductionPayResult [payCashCouponAmount=" + payCashCouponAmount + ", payByCashCouponInfoSize=" + payByCashCouponInfoSize + ", payByGiftCardInfoSize=" + payByGiftCardInfoSize + ", giftDeductionAmount=" + giftDeductionAmount + ", giftBalance=" + giftBalance + ", deductionPointAmount=" + deductionPointAmount + ", deductionAccountAmount=" + deductionAccountAmount + "]"; } }