com.chargebee.models
Class CouponSet
java.lang.Object
com.chargebee.internal.Resource<CouponSet>
com.chargebee.models.CouponSet
public class CouponSet
- extends Resource<CouponSet>
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 |
CouponSet
public CouponSet(String jsonStr)
CouponSet
public CouponSet(org.json.JSONObject jsonObj)
id
public String id()
couponId
public String couponId()
name
public String name()
totalCount
public Integer totalCount()
redeemedCount
public Integer redeemedCount()
archivedCount
public Integer archivedCount()
metaData
public org.json.JSONObject metaData()
create
public static CouponSet.CreateRequest create()
throws IOException
- Throws:
IOException
addCouponCodes
public static CouponSet.AddCouponCodesRequest addCouponCodes(String id)
throws IOException
- Throws:
IOException
list
public static CouponSet.CouponSetListRequest list()
throws IOException
- Throws:
IOException
retrieve
public static Request retrieve(String id)
throws IOException
- Throws:
IOException
update
public static CouponSet.UpdateRequest update(String id)
throws IOException
- Throws:
IOException
delete
public static Request delete(String id)
throws IOException
- Throws:
IOException
deleteUnusedCouponCodes
public static Request deleteUnusedCouponCodes(String id)
throws IOException
- Throws:
IOException
Copyright © 2018 ChargeBee. All Rights Reserved.