public static class Subscription.Discount extends Resource<Subscription.Discount>
Modifier and Type | Class and Description |
---|---|
static class |
Subscription.Discount.ApplyOn |
static class |
Subscription.Discount.DurationType |
static class |
Subscription.Discount.Type |
Constructor and Description |
---|
Discount(org.json.JSONObject jsonObj) |
Modifier and Type | Method and Description |
---|---|
Long |
amount() |
Integer |
appliedCount() |
Subscription.Discount.ApplyOn |
applyOn() |
Timestamp |
applyTill() |
String |
couponId() |
Timestamp |
createdAt() |
String |
currencyCode() |
Subscription.Discount.DurationType |
durationType() |
String |
id() |
Boolean |
includedInMrr() |
Integer |
index() |
String |
invoiceName() |
String |
itemPriceId() |
Double |
percentage() |
Integer |
period() |
PeriodUnit |
periodUnit() |
Subscription.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, uri
public String id()
public String invoiceName()
public Subscription.Discount.Type type()
public Double percentage()
public Long amount()
public String currencyCode()
public Subscription.Discount.DurationType durationType()
public Integer period()
public PeriodUnit periodUnit()
public Boolean includedInMrr()
public Subscription.Discount.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.