com.chargebee.models
Class CouponCode
java.lang.Object
com.chargebee.internal.Resource<CouponCode>
com.chargebee.models.CouponCode
public class CouponCode
- extends Resource<CouponCode>
| Methods inherited from class com.chargebee.internal.Resource |
apiVersionCheck, nullCheck, optBigDecimal, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uri |
CouponCode
public CouponCode(String jsonStr)
CouponCode
public CouponCode(org.json.JSONObject jsonObj)
code
public String code()
status
public CouponCode.Status status()
couponId
public String couponId()
couponSetName
public String couponSetName()
create
public static CouponCode.CreateRequest create()
throws IOException
- Throws:
IOException
retrieve
public static Request retrieve(String id)
throws IOException
- Throws:
IOException
list
public static CouponCode.CouponCodeListRequest list()
throws IOException
- Throws:
IOException
archive
public static Request archive(String id)
throws IOException
- Throws:
IOException
Copyright © 2016 ChargeBee. All Rights Reserved.