Class CashCoupon


  • public class CashCoupon
    extends CardCoupon
    代金券
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Constructor Detail

      • CashCoupon

        public CashCoupon​(CouponBaseInfo couponBaseInfo,
                          double reduceCost)
        构造代金券
        Parameters:
        couponBaseInfo - 基础信息
        reduceCost - 减免金额 单位元
    • Method Detail

      • getLeastCost

        public int getLeastCost()
      • getFormatLeastCost

        public double getFormatLeastCost()
        调用接口获取单位为分,get方法转换为元方便使用
        Returns:
        元单位
      • setLeastCost

        public void setLeastCost​(double leastCost)
      • getReduceCost

        public int getReduceCost()
      • getFormatReduceCost

        public double getFormatReduceCost()
        调用接口获取单位为分,get方法转换为元方便使用
        Returns:
        元单位