com.chargebee.models
Class Addon
java.lang.Object
com.chargebee.internal.Resource<Addon>
com.chargebee.models.Addon
public class Addon
- extends Resource<Addon>
| 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 |
Addon
public Addon(String jsonStr)
Addon
public Addon(org.json.JSONObject jsonObj)
id
public String id()
name
public String name()
invoiceName
public String invoiceName()
description
public String description()
type
public Addon.Type type()
chargeType
public Addon.ChargeType chargeType()
price
public Integer price()
period
public Integer period()
periodUnit
public Addon.PeriodUnit periodUnit()
unit
public String unit()
status
public Addon.Status status()
archivedAt
public Timestamp archivedAt()
invoiceNotes
public String invoiceNotes()
taxable
public Boolean taxable()
create
public static Addon.CreateRequest create()
throws IOException
- Throws:
IOException
update
public static Addon.UpdateRequest update(String id)
throws IOException
- Throws:
IOException
list
public static ListRequest list()
throws IOException
- Throws:
IOException
retrieve
public static Request retrieve(String id)
throws IOException
- Throws:
IOException
delete
public static Request delete(String id)
throws IOException
- Throws:
IOException
Copyright © 2015 ChargeBee. All Rights Reserved.