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 |
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 |
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()
currencyCode
public String currencyCode()
period
public Integer period()
periodUnit
public Addon.PeriodUnit periodUnit()
unit
public String unit()
status
public Addon.Status status()
archivedAt
public Timestamp archivedAt()
enabledInPortal
public Boolean enabledInPortal()
taxCode
public String taxCode()
sku
public String sku()
accountingCode
public String accountingCode()
accountingCategory1
public String accountingCategory1()
accountingCategory2
public String accountingCategory2()
resourceVersion
public Long resourceVersion()
updatedAt
public Timestamp updatedAt()
invoiceNotes
public String invoiceNotes()
taxable
public Boolean taxable()
taxProfileId
public String taxProfileId()
metaData
public org.json.JSONObject metaData()
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 Addon.AddonListRequest 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
copy
public static Addon.CopyRequest copy()
throws IOException
- Throws:
IOException
unarchive
public static Request unarchive(String id)
throws IOException
- Throws:
IOException
Copyright © 2017 ChargeBee. All Rights Reserved.