com.chargebee.models
Class Subscription.EventBasedAddon

java.lang.Object
  extended by com.chargebee.internal.Resource<Subscription.EventBasedAddon>
      extended by com.chargebee.models.Subscription.EventBasedAddon
Enclosing class:
Subscription

public static class Subscription.EventBasedAddon
extends Resource<Subscription.EventBasedAddon>


Nested Class Summary
static class Subscription.EventBasedAddon.OnEvent
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Subscription.EventBasedAddon(org.json.JSONObject jsonObj)
           
 
Method Summary
 Boolean chargeOnce()
           
 String id()
           
 Subscription.EventBasedAddon.OnEvent onEvent()
           
 Integer quantity()
           
 Integer servicePeriodInDays()
          Deprecated. 
 Integer unitPrice()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subscription.EventBasedAddon

public Subscription.EventBasedAddon(org.json.JSONObject jsonObj)
Method Detail

id

public String id()

quantity

public Integer quantity()

unitPrice

public Integer unitPrice()

servicePeriodInDays

@Deprecated
public Integer servicePeriodInDays()
Deprecated. 


onEvent

public Subscription.EventBasedAddon.OnEvent onEvent()

chargeOnce

public Boolean chargeOnce()


Copyright © 2019 ChargeBee. All Rights Reserved.