| Modifier and Type | Class and Description |
|---|---|
static class |
Discount.Type |
| Constructor and Description |
|---|
Discount(org.json.JSONObject jsonObj) |
Discount(String jsonStr) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
amount() |
Integer |
appliedCount() |
ApplyOn |
applyOn() |
Timestamp |
applyTill() |
String |
couponId() |
Timestamp |
createdAt() |
String |
currencyCode() |
DurationType |
durationType() |
String |
id() |
Boolean |
includedInMrr() |
Integer |
index() |
String |
invoiceName() |
String |
itemPriceId() |
Double |
percentage() |
Integer |
period() |
PeriodUnit |
periodUnit() |
Discount.Type |
type() |
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, uripublic Discount(String jsonStr)
public Discount(org.json.JSONObject jsonObj)
public String id()
public String invoiceName()
public Discount.Type type()
public Double percentage()
public Integer amount()
public String currencyCode()
public DurationType durationType()
public Integer period()
public PeriodUnit periodUnit()
public Boolean includedInMrr()
public ApplyOn applyOn()
public String itemPriceId()
public Timestamp createdAt()
public Timestamp applyTill()
public Integer appliedCount()
public String couponId()
public Integer index()
Copyright © 2023 ChargeBee. All rights reserved.