public class PromotionalCredit extends Resource<PromotionalCredit>
| Modifier and Type | Class and Description |
|---|---|
static class |
PromotionalCredit.AddRequest |
static class |
PromotionalCredit.DeductRequest |
static class |
PromotionalCredit.PromotionalCreditListRequest |
static class |
PromotionalCredit.SetRequest |
static class |
PromotionalCredit.Type |
| Constructor and Description |
|---|
PromotionalCredit(org.json.JSONObject jsonObj) |
PromotionalCredit(String jsonStr) |
| Modifier and Type | Method and Description |
|---|---|
static PromotionalCredit.AddRequest |
add() |
Integer |
amount() |
String |
amountInDecimal() |
Integer |
closingBalance() |
Timestamp |
createdAt() |
CreditType |
creditType() |
String |
currencyCode() |
String |
customerId() |
static PromotionalCredit.DeductRequest |
deduct() |
String |
description() |
String |
doneBy() |
String |
id() |
static PromotionalCredit.PromotionalCreditListRequest |
list() |
String |
reference() |
static Request |
retrieve(String id) |
static PromotionalCredit.SetRequest |
set() |
PromotionalCredit.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 PromotionalCredit(String jsonStr)
public PromotionalCredit(org.json.JSONObject jsonObj)
public String id()
public String customerId()
public PromotionalCredit.Type type()
public String amountInDecimal()
public Integer amount()
public String currencyCode()
public String description()
public CreditType creditType()
public String reference()
public Integer closingBalance()
public String doneBy()
public Timestamp createdAt()
public static PromotionalCredit.AddRequest add()
public static PromotionalCredit.DeductRequest deduct()
public static PromotionalCredit.SetRequest set()
public static PromotionalCredit.PromotionalCreditListRequest list()
Copyright © 2023 ChargeBee. All rights reserved.