com.chargebee.models
Class CouponCode

java.lang.Object
  extended by com.chargebee.internal.Resource<CouponCode>
      extended by com.chargebee.models.CouponCode

public class CouponCode
extends Resource<CouponCode>


Nested Class Summary
static class CouponCode.CreateRequest
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
CouponCode(org.json.JSONObject jsonObj)
           
CouponCode(String jsonStr)
           
 
Method Summary
 String code()
           
 String couponId()
           
 String couponSetName()
           
static CouponCode.CreateRequest create()
           
static Request retrieve(String id)
           
 
Methods inherited from class com.chargebee.internal.Resource
nullCheck, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CouponCode

public CouponCode(String jsonStr)

CouponCode

public CouponCode(org.json.JSONObject jsonObj)
Method Detail

code

public String code()

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


Copyright © 2015 ChargeBee. All Rights Reserved.