com.chargebee.models
Class PromotionalCredit

java.lang.Object
  extended by com.chargebee.internal.Resource<PromotionalCredit>
      extended by com.chargebee.models.PromotionalCredit

public class PromotionalCredit
extends Resource<PromotionalCredit>


Nested Class Summary
static class PromotionalCredit.AddRequest
           
static class PromotionalCredit.DeductRequest
           
static class PromotionalCredit.PromotionalCreditListRequest
           
static class PromotionalCredit.SetRequest
           
static class PromotionalCredit.Type
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
PromotionalCredit(org.json.JSONObject jsonObj)
           
PromotionalCredit(String jsonStr)
           
 
Method Summary
static PromotionalCredit.AddRequest add()
           
 Integer amount()
           
 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()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PromotionalCredit

public PromotionalCredit(String jsonStr)

PromotionalCredit

public PromotionalCredit(org.json.JSONObject jsonObj)
Method Detail

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.