com.chargebee.models
Class Invoice.LineItem

java.lang.Object
  extended by com.chargebee.internal.Resource<Invoice.LineItem>
      extended by com.chargebee.models.Invoice.LineItem
Enclosing class:
Invoice

public static class Invoice.LineItem
extends Resource<Invoice.LineItem>


Nested Class Summary
static class Invoice.LineItem.EntityType
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Invoice.LineItem(org.json.JSONObject jsonObj)
           
 
Method Summary
 Integer amount()
           
 String customerId()
           
 Timestamp dateFrom()
           
 Timestamp dateTo()
           
 String description()
           
 Integer discountAmount()
           
 String entityId()
           
 Invoice.LineItem.EntityType entityType()
           
 String id()
           
 Boolean isTaxed()
           
 Integer itemLevelDiscountAmount()
           
 PricingModel pricingModel()
           
 Integer quantity()
           
 String subscriptionId()
           
 Integer taxAmount()
           
 TaxExemptReason taxExemptReason()
           
 Double taxRate()
           
 Integer unitAmount()
           
 
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

Invoice.LineItem

public Invoice.LineItem(org.json.JSONObject jsonObj)
Method Detail

id

public String id()

subscriptionId

public String subscriptionId()

dateFrom

public Timestamp dateFrom()

dateTo

public Timestamp dateTo()

unitAmount

public Integer unitAmount()

quantity

public Integer quantity()

amount

public Integer amount()

pricingModel

public PricingModel pricingModel()

isTaxed

public Boolean isTaxed()

taxAmount

public Integer taxAmount()

taxRate

public Double taxRate()

discountAmount

public Integer discountAmount()

itemLevelDiscountAmount

public Integer itemLevelDiscountAmount()

description

public String description()

entityType

public Invoice.LineItem.EntityType entityType()

taxExemptReason

public TaxExemptReason taxExemptReason()

entityId

public String entityId()

customerId

public String customerId()


Copyright © 2019 ChargeBee. All Rights Reserved.