Class CouponDetail
- java.lang.Object
-
- com.foxinmy.weixin4j.http.weixin.XmlResult
-
- com.foxinmy.weixin4j.pay.payment.mch.MerchantResult
-
- com.foxinmy.weixin4j.pay.payment.coupon.CouponDetail
-
- All Implemented Interfaces:
Serializable
public class CouponDetail extends MerchantResult
代金券详细- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CouponDetail()
-
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
-
-
-
-
Method Detail
-
getCouponStockId
public String getCouponStockId()
-
setCouponStockId
public void setCouponStockId(String couponStockId)
-
getCouponStockType
public int getCouponStockType()
-
setCouponStockType
public void setCouponStockType(int couponStockType)
-
getFormatCouponStockType
public CouponStockType getFormatCouponStockType()
-
getCouponId
public String getCouponId()
-
setCouponId
public void setCouponId(String couponId)
-
getCouponValue
public int getCouponValue()
-
setCouponValue
public void setCouponValue(int couponValue)
-
getFormatCouponValue
public double getFormatCouponValue()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getCouponMininum
public int getCouponMininum()
-
setCouponMininum
public void setCouponMininum(int couponMininum)
-
getFormatCouponMininum
public double getFormatCouponMininum()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getCouponName
public String getCouponName()
-
setCouponName
public void setCouponName(String couponName)
-
getCouponStatus
public int getCouponStatus()
-
setCouponStatus
public void setCouponStatus(int couponStatus)
-
getFormatCouponStatus
public CouponStatus getFormatCouponStatus()
-
getCouponType
public int getCouponType()
-
setCouponType
public void setCouponType(int couponType)
-
getFormatCouponType
public CouponType getFormatCouponType()
-
getCouponDesc
public String getCouponDesc()
-
setCouponDesc
public void setCouponDesc(String couponDesc)
-
getCouponUseValue
public int getCouponUseValue()
-
setCouponUseValue
public void setCouponUseValue(int couponUseValue)
-
getFormatCouponUseValue
public double getFormatCouponUseValue()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getCouponRemainValue
public int getCouponRemainValue()
-
getFormatCouponRemainValue
public double getFormatCouponRemainValue()
调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
setCouponRemainValue
public void setCouponRemainValue(int couponRemainValue)
-
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()
-
getSendTime
public String getSendTime()
-
setSendTime
public void setSendTime(String sendTime)
-
getFormatSendTime
public Date getFormatSendTime()
-
getUseTime
public String getUseTime()
-
getFormatUseTime
public Date getFormatUseTime()
-
setUseTime
public void setUseTime(String useTime)
-
getTradeNo
public String getTradeNo()
-
setTradeNo
public void setTradeNo(String tradeNo)
-
getConsumerMchId
public String getConsumerMchId()
-
setConsumerMchId
public void setConsumerMchId(String consumerMchId)
-
getConsumerMchName
public String getConsumerMchName()
-
setConsumerMchName
public void setConsumerMchName(String consumerMchName)
-
getConsumerMchAppid
public String getConsumerMchAppid()
-
setConsumerMchAppid
public void setConsumerMchAppid(String consumerMchAppid)
-
getSendSource
public String getSendSource()
-
setSendSource
public void setSendSource(String sendSource)
-
getIsPartialUse
public int getIsPartialUse()
-
getFormatIsPartialUse
public boolean getFormatIsPartialUse()
-
setIsPartialUse
public void setIsPartialUse(int isPartialUse)
-
toString
public String toString()
- Overrides:
toString
in classMerchantResult
-
-