Class CouponStock
- java.lang.Object
-
- com.foxinmy.weixin4j.http.weixin.XmlResult
-
- com.foxinmy.weixin4j.pay.payment.mch.MerchantResult
-
- com.foxinmy.weixin4j.pay.payment.coupon.CouponStock
-
- All Implemented Interfaces:
Serializable
public class CouponStock extends MerchantResult
代金券信息- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CouponStock()
-
Method Summary
-
Methods inherited from class com.foxinmy.weixin4j.pay.payment.mch.MerchantResult
getAppId, getDeviceInfo, getFormatRecall, getMchId, getNonceStr, getRecall, getSign, getSignType, getSubAppId, getSubMchId, setAppId, setDeviceInfo, setMchId, setNonceStr, setRecall, setSign, setSignType, setSubAppId, setSubMchId
-
Methods inherited from class com.foxinmy.weixin4j.http.weixin.XmlResult
getErrCode, getErrCodeDes, getResultCode, getReturnCode, getReturnMsg, setErrCode, setErrCodeDes, setResultCode, setReturnCode, setReturnMsg
-
-
-
-
Method Detail
-
getCouponStockId
public String getCouponStockId()
-
setCouponStockId
public void setCouponStockId(String couponStockId)
-
getCouponName
public String getCouponName()
-
setCouponName
public void setCouponName(String couponName)
-
getCouponValue
public int getCouponValue()
-
setCouponValue
public void setCouponValue(int couponValue)
-
getFormatCouponValue
public double getFormatCouponValue()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getCouponMininumn
public Integer getCouponMininumn()
-
setCouponMininumn
public void setCouponMininumn(Integer couponMininumn)
-
getFormatCouponMininumn
public double getFormatCouponMininumn()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getCouponType
public int getCouponType()
-
getFormatCouponType
public CouponType getFormatCouponType()
-
setCouponType
public void setCouponType(int couponType)
-
getCouponStockStatus
public int getCouponStockStatus()
-
getFormatCouponStockStatus
public CouponStockStatus getFormatCouponStockStatus()
-
setCouponStockStatus
public void setCouponStockStatus(int couponStockStatus)
-
getCouponTotal
public int getCouponTotal()
-
setCouponTotal
public void setCouponTotal(int couponTotal)
-
getMaxQuota
public Integer getMaxQuota()
-
setMaxQuota
public void setMaxQuota(Integer maxQuota)
-
getFormatMaxQuota
public double getFormatMaxQuota()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getLockedNum
public Integer getLockedNum()
-
setLockedNum
public void setLockedNum(Integer lockedNum)
-
getFormatLockedNum
public double getFormatLockedNum()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getUsedNum
public Integer getUsedNum()
-
setUsedNum
public void setUsedNum(Integer usedNum)
-
getFormatUsedNum
public double getFormatUsedNum()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getSendNum
public Integer getSendNum()
-
setSendNum
public void setSendNum(Integer sendNum)
-
getFormatSendNum
public double getFormatSendNum()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getBeginTime
public String getBeginTime()
-
setBeginTime
public void setBeginTime(String beginTime)
-
getFormatBeginTime
public Date getFormatBeginTime()
-
getEndTime
public String getEndTime()
-
setEndTime
public void setEndTime(String endTime)
-
getFormatEndTime
public Date getFormatEndTime()
-
getCreateTime
public String getCreateTime()
-
setCreateTime
public void setCreateTime(String createTime)
-
getFormatCreateTime
public Date getFormatCreateTime()
-
getCouponBudget
public Integer getCouponBudget()
-
setCouponBudget
public void setCouponBudget(Integer couponBudget)
-
getFormatCouponBudget
public double getFormatCouponBudget()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
toString
public String toString()
- Overrides:
toString
in classMerchantResult
-
-