Package com.foxinmy.weixin4j.model.card
Class GeneralCoupon
- java.lang.Object
-
- com.foxinmy.weixin4j.model.card.CardCoupon
-
- com.foxinmy.weixin4j.model.card.GeneralCoupon
-
public class GeneralCoupon extends CardCoupon
普通优惠券- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description GeneralCoupon(CouponBaseInfo couponBaseInfo, String explain)
构造普通优惠券
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CardType
getCardType()
卡券类型String
getExplain()
String
toString()
-
Methods inherited from class com.foxinmy.weixin4j.model.card.CardCoupon
cleanCantUpdateField, getCouponAdvanceInfo, getCouponBaseInfo, setCouponAdvanceInfo
-
-
-
-
Constructor Detail
-
GeneralCoupon
public GeneralCoupon(CouponBaseInfo couponBaseInfo, String explain)
构造普通优惠券- Parameters:
couponBaseInfo
- 基础信息explain
- 优惠详情 如:音乐木盒
-
-
Method Detail
-
getExplain
public String getExplain()
-
getCardType
public CardType getCardType()
Description copied from class:CardCoupon
卡券类型- Specified by:
getCardType
in classCardCoupon
- Returns:
-
toString
public String toString()
- Overrides:
toString
in classCardCoupon
-
-