com.chargebee.models
Class PromotionalCredit
java.lang.Object
com.chargebee.internal.Resource<PromotionalCredit>
com.chargebee.models.PromotionalCredit
public class PromotionalCredit
- extends Resource<PromotionalCredit>
| 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 |
PromotionalCredit
public PromotionalCredit(String jsonStr)
PromotionalCredit
public PromotionalCredit(org.json.JSONObject jsonObj)
id
public String id()
customerId
public String customerId()
type
public PromotionalCredit.Type type()
amount
public Integer amount()
currencyCode
public String currencyCode()
description
public String description()
creditType
public CreditType creditType()
reference
public String reference()
closingBalance
public Integer closingBalance()
doneBy
public String doneBy()
createdAt
public Timestamp createdAt()
add
public static PromotionalCredit.AddRequest add()
deduct
public static PromotionalCredit.DeductRequest deduct()
set
public static PromotionalCredit.SetRequest set()
list
public static PromotionalCredit.PromotionalCreditListRequest list()
retrieve
public static Request retrieve(String id)
Copyright © 2019 ChargeBee. All Rights Reserved.