com.chargebee.models
Class Quote

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

public class Quote
extends Resource<Quote>


Nested Class Summary
static class Quote.BillingAddress
           
static class Quote.ConvertRequest
           
static class Quote.CreateForOnetimeChargesRequest
           
static class Quote.CreateSubForCustomerQuoteRequest
           
static class Quote.DeleteRequest
           
static class Quote.Discount
           
static class Quote.LineItem
           
static class Quote.LineItemDiscount
           
static class Quote.LineItemTax
           
static class Quote.OperationType
           
static class Quote.PdfRequest
           
static class Quote.QuoteListRequest
           
static class Quote.ShippingAddress
           
static class Quote.Status
           
static class Quote.Tax
           
static class Quote.UpdateStatusRequest
           
static class Quote.UpdateSubscriptionQuoteRequest
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Quote(org.json.JSONObject jsonObj)
           
Quote(String jsonStr)
           
 
Method Summary
 Integer amountDue()
           
 Integer amountPaid()
           
 Quote.BillingAddress billingAddress()
           
static Quote.ConvertRequest convert(String id)
           
static Quote.CreateForOnetimeChargesRequest createForOnetimeCharges()
           
static Quote.CreateSubForCustomerQuoteRequest createSubForCustomerQuote(String id)
           
 Integer creditsApplied()
           
 String currencyCode()
           
 String customerId()
           
 Timestamp date()
           
static Quote.DeleteRequest delete(String id)
           
 List<Quote.Discount> discounts()
           
 String id()
           
 String invoiceId()
           
 List<Quote.LineItemDiscount> lineItemDiscounts()
           
 List<Quote.LineItem> lineItems()
           
 List<Quote.LineItemTax> lineItemTaxes()
           
static Quote.QuoteListRequest list()
           
 String name()
           
 org.json.JSONArray notes()
           
 Quote.OperationType operationType()
           
static Quote.PdfRequest pdf(String id)
           
 String poNumber()
           
 PriceType priceType()
           
 Long resourceVersion()
           
static Request retrieve(String id)
           
 Quote.ShippingAddress shippingAddress()
           
 Quote.Status status()
           
 String subscriptionId()
           
 Integer subTotal()
           
 List<Quote.Tax> taxes()
           
 Integer total()
           
 Timestamp updatedAt()
           
static Quote.UpdateStatusRequest updateStatus(String id)
           
static Quote.UpdateSubscriptionQuoteRequest updateSubscriptionQuote()
           
 Timestamp validTill()
           
 String vatNumber()
           
 
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

Quote

public Quote(String jsonStr)

Quote

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

id

public String id()

name

public String name()

poNumber

public String poNumber()

customerId

public String customerId()

subscriptionId

public String subscriptionId()

invoiceId

public String invoiceId()

status

public Quote.Status status()

operationType

public Quote.OperationType operationType()

vatNumber

public String vatNumber()

priceType

public PriceType priceType()

validTill

public Timestamp validTill()

date

public Timestamp date()

subTotal

public Integer subTotal()

total

public Integer total()

creditsApplied

public Integer creditsApplied()

amountPaid

public Integer amountPaid()

amountDue

public Integer amountDue()

resourceVersion

public Long resourceVersion()

updatedAt

public Timestamp updatedAt()

currencyCode

public String currencyCode()

lineItems

public List<Quote.LineItem> lineItems()

discounts

public List<Quote.Discount> discounts()

lineItemDiscounts

public List<Quote.LineItemDiscount> lineItemDiscounts()

taxes

public List<Quote.Tax> taxes()

lineItemTaxes

public List<Quote.LineItemTax> lineItemTaxes()

notes

public org.json.JSONArray notes()

shippingAddress

public Quote.ShippingAddress shippingAddress()

billingAddress

public Quote.BillingAddress billingAddress()

retrieve

public static Request retrieve(String id)

createSubForCustomerQuote

public static Quote.CreateSubForCustomerQuoteRequest createSubForCustomerQuote(String id)

updateSubscriptionQuote

public static Quote.UpdateSubscriptionQuoteRequest updateSubscriptionQuote()

createForOnetimeCharges

public static Quote.CreateForOnetimeChargesRequest createForOnetimeCharges()

list

public static Quote.QuoteListRequest list()

convert

public static Quote.ConvertRequest convert(String id)

updateStatus

public static Quote.UpdateStatusRequest updateStatus(String id)

delete

public static Quote.DeleteRequest delete(String id)

pdf

public static Quote.PdfRequest pdf(String id)


Copyright © 2019 ChargeBee. All Rights Reserved.