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, optJSONArray, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONArray, 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()
addCouponCodes
public static CouponSet.AddCouponCodesRequest addCouponCodes(String id)
list
public static CouponSet.CouponSetListRequest list()
retrieve
public static Request retrieve(String id)
update
public static CouponSet.UpdateRequest update(String id)
delete
public static Request delete(String id)
deleteUnusedCouponCodes
public static Request deleteUnusedCouponCodes(String id)
Copyright © 2019 ChargeBee. All Rights Reserved.