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.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.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 Request 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()
           
 List<Quote.LineItemDiscount> lineItemDiscounts()
           
 List<Quote.LineItem> lineItems()
           
 List<Quote.LineItemTax> lineItemTaxes()
           
 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()

poNumber

public String poNumber()

customerId

public String customerId()

subscriptionId

public String subscriptionId()

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()

shippingAddress

public Quote.ShippingAddress shippingAddress()

billingAddress

public Quote.BillingAddress billingAddress()

retrieve

public static Request retrieve(String id)
                        throws IOException
Throws:
IOException

createSubForCustomerQuote

public static Quote.CreateSubForCustomerQuoteRequest createSubForCustomerQuote(String id)
                                                                        throws IOException
Throws:
IOException

updateSubscriptionQuote

public static Quote.UpdateSubscriptionQuoteRequest updateSubscriptionQuote()
                                                                    throws IOException
Throws:
IOException

createForOnetimeCharges

public static Quote.CreateForOnetimeChargesRequest createForOnetimeCharges()
                                                                    throws IOException
Throws:
IOException

convert

public static Request convert(String id)
                       throws IOException
Throws:
IOException

updateStatus

public static Quote.UpdateStatusRequest updateStatus(String id)
                                              throws IOException
Throws:
IOException

delete

public static Quote.DeleteRequest delete(String id)
                                  throws IOException
Throws:
IOException

pdf

public static Quote.PdfRequest pdf(String id)
                            throws IOException
Throws:
IOException


Copyright © 2019 ChargeBee. All Rights Reserved.