com.chargebee.models
Class CreditNote
java.lang.Object
com.chargebee.internal.Resource<CreditNote>
com.chargebee.models.CreditNote
public class CreditNote
- extends Resource<CreditNote>
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 |
CreditNote
public CreditNote(String jsonStr)
CreditNote
public CreditNote(org.json.JSONObject jsonObj)
id
public String id()
customerId
public String customerId()
subscriptionId
public String subscriptionId()
referenceInvoiceId
public String referenceInvoiceId()
type
public CreditNote.Type type()
reasonCode
public CreditNote.ReasonCode reasonCode()
status
public CreditNote.Status status()
vatNumber
public String vatNumber()
date
public Timestamp date()
priceType
public PriceType priceType()
currencyCode
public String currencyCode()
total
public Integer total()
amountAllocated
public Integer amountAllocated()
amountRefunded
public Integer amountRefunded()
amountAvailable
public Integer amountAvailable()
refundedAt
public Timestamp refundedAt()
voidedAt
public Timestamp voidedAt()
resourceVersion
public Long resourceVersion()
updatedAt
public Timestamp updatedAt()
subTotal
public Integer subTotal()
subTotalInLocalCurrency
public Integer subTotalInLocalCurrency()
totalInLocalCurrency
public Integer totalInLocalCurrency()
localCurrencyCode
public String localCurrencyCode()
roundOffAmount
public Integer roundOffAmount()
fractionalCorrection
public Integer fractionalCorrection()
lineItems
public List<CreditNote.LineItem> lineItems()
discounts
public List<CreditNote.Discount> discounts()
lineItemDiscounts
public List<CreditNote.LineItemDiscount> lineItemDiscounts()
lineItemTiers
public List<CreditNote.LineItemTier> lineItemTiers()
taxes
public List<CreditNote.Tax> taxes()
lineItemTaxes
public List<CreditNote.LineItemTax> lineItemTaxes()
linkedRefunds
public List<CreditNote.LinkedRefund> linkedRefunds()
allocations
public List<CreditNote.Allocation> allocations()
deleted
public Boolean deleted()
create
public static CreditNote.CreateRequest create()
retrieve
public static Request retrieve(String id)
pdf
public static CreditNote.PdfRequest pdf(String id)
recordRefund
public static CreditNote.RecordRefundRequest recordRefund(String id)
voidCreditNote
public static CreditNote.VoidCreditNoteRequest voidCreditNote(String id)
list
public static CreditNote.CreditNoteListRequest list()
creditNotesForCustomer
@Deprecated
public static ListRequest creditNotesForCustomer(String id)
- Deprecated.
delete
public static CreditNote.DeleteRequest delete(String id)
Copyright © 2020 ChargeBee. All Rights Reserved.