Package com.stripe.model
Class Quote
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.Quote
- All Implemented Interfaces:
- HasId,- MetadataStore<Quote>,- StripeActiveObject,- StripeObjectInterface
A Quote is a way to model prices that you'd like to provide to a customer. Once accepted, it will
 automatically create an invoice, subscription or subscription schedule.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about AutomaticTax, please refer to the API Reference.static classFor more details about Computed, please refer to the API Reference.static classFor more details about FromQuote, please refer to the API Reference.static classFor more details about InvoiceSettings, please refer to the API Reference.static classFor more details about StatusDetails, please refer to the API Reference.static classFor more details about StatusTransitions, please refer to the API Reference.static classFor more details about SubscriptionData, please refer to the API Reference.static classFor more details about SubscriptionDataOverride, please refer to the API Reference.static classFor more details about SubscriptionSchedule, please refer to the API Reference.static classFor more details about TotalDetails, please refer to the API Reference.static classFor more details about TransferData, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResourceApiResource.RequestMethod
- 
Field SummaryFields inherited from class com.stripe.net.ApiResourceCHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaccept()Accepts the specified quote.accept(RequestOptions options) Accepts the specified quote.accept(QuoteAcceptParams params) Accepts the specified quote.accept(QuoteAcceptParams params, RequestOptions options) Accepts the specified quote.Accepts the specified quote.accept(Map<String, Object> params, RequestOptions options) Accepts the specified quote.cancel()Cancels the quote.cancel(RequestOptions options) Cancels the quote.cancel(QuoteCancelParams params) Cancels the quote.cancel(QuoteCancelParams params, RequestOptions options) Cancels the quote.Cancels the quote.cancel(Map<String, Object> params, RequestOptions options) Cancels the quote.protected booleanstatic Quotecreate(QuoteCreateParams params) A quote models prices and services for a customer.static Quotecreate(QuoteCreateParams params, RequestOptions options) A quote models prices and services for a customer.static QuoteA quote models prices and services for a customer.static Quotecreate(Map<String, Object> params, RequestOptions options) A quote models prices and services for a customer.booleanFinalizes the quote.finalizeQuote(RequestOptions options) Finalizes the quote.Finalizes the quote.finalizeQuote(QuoteFinalizeQuoteParams params, RequestOptions options) Finalizes the quote.finalizeQuote(Map<String, Object> params) Finalizes the quote.finalizeQuote(Map<String, Object> params, RequestOptions options) Finalizes the quote.Allow quote lines to havestarts_atin the past if collection is paused betweenstarts_atand now.Total before any discounts or taxes are applied.Total after discounts and taxes are applied.Get ID of expandableapplicationobject.The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.A non-negative decimal between 0 and 100, with at most two decimal places.Get expandedapplication.Eithercharge_automatically, orsend_invoice.Time at which the object was created.Three-letter ISO currency code, in lowercase.Get ID of expandablecustomerobject.The account which this quote belongs to.Get expandedcustomer.Get expandeddefaultTaxRates.Get IDs of expandabledefaultTaxRatesobject list.A description that will be displayed on the quote PDF.Get expandeddiscounts.Get IDs of expandablediscountsobject list.The date on which the quote will be canceled if inopenordraftstatus.A footer that will be displayed on the quote PDF.Details of the quote that was cloned.A header that will be displayed on the quote PDF.getId()Unique identifier for the object.Get ID of expandableinvoiceobject.Get expandedinvoice.A list of items the customer is being quoted for.getLines()A list of quote lines on the quote.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.Set of key-value pairs that you can attach to an object.A unique number that identifies this particular quote.String representing the object's type.Get ID of expandableonBehalfOfobject.Get expandedonBehalfOf.The status of the quote.Details on when and why a quote has been marked as stale or canceled.Get ID of expandablesubscriptionobject.List representing overrides forsubscription_dataconfigurations for specific subscription schedules.Get expandedsubscription.Get ID of expandablesubscriptionScheduleobject.Get expandedsubscriptionSchedule.The subscription schedules that were created or updated from this quote.Get ID of expandabletestClockobject.Get expandedtestClock.The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the invoices.inthashCode()static QuoteCollectionlist(QuoteListParams params) Returns a list of your quotes.static QuoteCollectionlist(QuoteListParams params, RequestOptions options) Returns a list of your quotes.static QuoteCollectionReturns a list of your quotes.static QuoteCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of your quotes.When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items.When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items.listComputedUpfrontLineItems(QuoteListComputedUpfrontLineItemsParams params, RequestOptions options) When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items.listComputedUpfrontLineItems(Map<String, Object> params) When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items.listComputedUpfrontLineItems(Map<String, Object> params, RequestOptions options) When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items.When retrieving a quote, there is an includable line_items property containing the first handful of those items.When retrieving a quote, there is an includable line_items property containing the first handful of those items.listLineItems(QuoteListLineItemsParams params, RequestOptions options) When retrieving a quote, there is an includable line_items property containing the first handful of those items.listLineItems(Map<String, Object> params) When retrieving a quote, there is an includable line_items property containing the first handful of those items.listLineItems(Map<String, Object> params, RequestOptions options) When retrieving a quote, there is an includable line_items property containing the first handful of those items.Retrieves a paginated list of lines for a quote.listLines(QuoteListLinesParams params) Retrieves a paginated list of lines for a quote.listLines(QuoteListLinesParams params, RequestOptions options) Retrieves a paginated list of lines for a quote.Retrieves a paginated list of lines for a quote.listLines(Map<String, Object> params, RequestOptions options) Retrieves a paginated list of lines for a quote.listPreviewInvoiceLines(String previewInvoice) Preview the invoice line items that would be generated by accepting the quote.listPreviewInvoiceLines(String previewInvoice, RequestOptions options) Preview the invoice line items that would be generated by accepting the quote.listPreviewInvoiceLines(String previewInvoice, QuoteListPreviewInvoiceLinesParams params) Preview the invoice line items that would be generated by accepting the quote.listPreviewInvoiceLines(String previewInvoice, QuoteListPreviewInvoiceLinesParams params, RequestOptions options) Preview the invoice line items that would be generated by accepting the quote.listPreviewInvoiceLines(String previewInvoice, Map<String, Object> params) Preview the invoice line items that would be generated by accepting the quote.listPreviewInvoiceLines(String previewInvoice, Map<String, Object> params, RequestOptions options) Preview the invoice line items that would be generated by accepting the quote.Converts a stale quote to draft.markDraft(RequestOptions options) Converts a stale quote to draft.markDraft(QuoteMarkDraftParams params) Converts a stale quote to draft.markDraft(QuoteMarkDraftParams params, RequestOptions options) Converts a stale quote to draft.Converts a stale quote to draft.markDraft(Map<String, Object> params, RequestOptions options) Converts a stale quote to draft.Converts a draft or open quote to stale.markStale(RequestOptions options) Converts a draft or open quote to stale.markStale(QuoteMarkStaleParams params) Converts a draft or open quote to stale.markStale(QuoteMarkStaleParams params, RequestOptions options) Converts a draft or open quote to stale.Converts a draft or open quote to stale.markStale(Map<String, Object> params, RequestOptions options) Converts a draft or open quote to stale.pdf()Download the PDF for a finalized quote.pdf(QuotePdfParams params) Download the PDF for a finalized quote.pdf(QuotePdfParams params, RequestOptions options) Download the PDF for a finalized quote.Download the PDF for a finalized quote.pdf(Map<String, Object> params, RequestOptions options) Download the PDF for a finalized quote.Recompute the upcoming invoice estimate for the quote.reestimate(RequestOptions options) Recompute the upcoming invoice estimate for the quote.reestimate(QuoteReestimateParams params) Recompute the upcoming invoice estimate for the quote.reestimate(QuoteReestimateParams params, RequestOptions options) Recompute the upcoming invoice estimate for the quote.reestimate(Map<String, Object> params) Recompute the upcoming invoice estimate for the quote.reestimate(Map<String, Object> params, RequestOptions options) Recompute the upcoming invoice estimate for the quote.static QuoteRetrieves the quote with the given ID.static Quoteretrieve(String quote, RequestOptions options) Retrieves the quote with the given ID.static Quoteretrieve(String quote, QuoteRetrieveParams params, RequestOptions options) Retrieves the quote with the given ID.static QuoteRetrieves the quote with the given ID.voidsetAllowBackdatedLines(Boolean allowBackdatedLines) Allow quote lines to havestarts_atin the past if collection is paused betweenstarts_atand now.voidsetAmountSubtotal(Long amountSubtotal) Total before any discounts or taxes are applied.voidsetAmountTotal(Long amountTotal) Total after discounts and taxes are applied.voidsetApplication(String id) voidsetApplicationFeeAmount(Long applicationFeeAmount) The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.voidsetApplicationFeePercent(BigDecimal applicationFeePercent) A non-negative decimal between 0 and 100, with at most two decimal places.voidsetApplicationObject(Application expandableObject) voidsetAutomaticTax(Quote.AutomaticTax automaticTax) voidsetCollectionMethod(String collectionMethod) Eithercharge_automatically, orsend_invoice.voidsetComputed(Quote.Computed computed) voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidsetCustomer(String id) voidsetCustomerAccount(String customerAccount) The account which this quote belongs to.voidsetCustomerObject(Customer expandableObject) voidsetDefaultTaxRateObjects(List<TaxRate> objs) voidsetDefaultTaxRates(List<String> ids) voidsetDescription(String description) A description that will be displayed on the quote PDF.voidsetDiscountObjects(List<Discount> objs) voidsetDiscounts(List<String> ids) voidsetExpiresAt(Long expiresAt) The date on which the quote will be canceled if inopenordraftstatus.voidA footer that will be displayed on the quote PDF.voidsetFromQuote(Quote.FromQuote fromQuote) Details of the quote that was cloned.voidA header that will be displayed on the quote PDF.voidUnique identifier for the object.voidsetInvoice(String id) voidsetInvoiceObject(Invoice expandableObject) voidsetInvoiceSettings(Quote.InvoiceSettings invoiceSettings) voidsetLineItems(LineItemCollection lineItems) A list of items the customer is being quoted for.voidA list of quote lines on the quote.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidA unique number that identifies this particular quote.voidString representing the object's type.voidsetOnBehalfOf(String id) voidsetOnBehalfOfObject(Account expandableObject) voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe status of the quote.voidsetStatusDetails(Quote.StatusDetails statusDetails) Details on when and why a quote has been marked as stale or canceled.voidsetStatusTransitions(Quote.StatusTransitions statusTransitions) voidvoidsetSubscriptionData(Quote.SubscriptionData subscriptionData) voidsetSubscriptionDataOverrides(List<Quote.SubscriptionDataOverride> subscriptionDataOverrides) List representing overrides forsubscription_dataconfigurations for specific subscription schedules.voidsetSubscriptionObject(Subscription expandableObject) voidvoidsetSubscriptionScheduleObject(SubscriptionSchedule expandableObject) voidsetSubscriptionSchedules(List<Quote.SubscriptionSchedule> subscriptionSchedules) The subscription schedules that were created or updated from this quote.voidsetTestClock(String id) voidsetTestClockObject(TestClock expandableObject) voidsetTotalDetails(Quote.TotalDetails totalDetails) voidsetTransferData(Quote.TransferData transferData) The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the invoices.update(QuoteUpdateParams params) A quote models prices and services for a customer.update(QuoteUpdateParams params, RequestOptions options) A quote models prices and services for a customer.A quote models prices and services for a customer.update(Map<String, Object> params, RequestOptions options) A quote models prices and services for a customer.Methods inherited from class com.stripe.net.ApiResourcecheckNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObjecttrySetResponseGetter
- 
Constructor Details- 
Quotepublic Quote()
 
- 
- 
Method Details- 
getApplicationGet ID of expandableapplicationobject.
- 
setApplication
- 
getApplicationObjectGet expandedapplication.
- 
setApplicationObject
- 
getCustomerGet ID of expandablecustomerobject.
- 
setCustomer
- 
getCustomerObjectGet expandedcustomer.
- 
setCustomerObject
- 
getInvoiceGet ID of expandableinvoiceobject.
- 
setInvoice
- 
getInvoiceObjectGet expandedinvoice.
- 
setInvoiceObject
- 
getOnBehalfOfGet ID of expandableonBehalfOfobject.
- 
setOnBehalfOf
- 
getOnBehalfOfObjectGet expandedonBehalfOf.
- 
setOnBehalfOfObject
- 
getSubscriptionGet ID of expandablesubscriptionobject.
- 
setSubscription
- 
getSubscriptionObjectGet expandedsubscription.
- 
setSubscriptionObject
- 
getSubscriptionScheduleGet ID of expandablesubscriptionScheduleobject.
- 
setSubscriptionSchedule
- 
getSubscriptionScheduleObjectGet expandedsubscriptionSchedule.
- 
setSubscriptionScheduleObject
- 
getTestClockGet ID of expandabletestClockobject.
- 
setTestClock
- 
getTestClockObjectGet expandedtestClock.
- 
setTestClockObject
- 
getDefaultTaxRatesGet IDs of expandabledefaultTaxRatesobject list.
- 
setDefaultTaxRates
- 
getDefaultTaxRateObjectsGet expandeddefaultTaxRates.
- 
setDefaultTaxRateObjects
- 
getDiscountsGet IDs of expandablediscountsobject list.
- 
setDiscounts
- 
getDiscountObjectsGet expandeddiscounts.
- 
setDiscountObjects
- 
acceptAccepts the specified quote.- Throws:
- StripeException
 
- 
acceptAccepts the specified quote.- Throws:
- StripeException
 
- 
acceptAccepts the specified quote.- Throws:
- StripeException
 
- 
acceptAccepts the specified quote.- Throws:
- StripeException
 
- 
acceptAccepts the specified quote.- Throws:
- StripeException
 
- 
acceptAccepts the specified quote.- Throws:
- StripeException
 
- 
cancelCancels the quote.- Throws:
- StripeException
 
- 
cancelCancels the quote.- Throws:
- StripeException
 
- 
cancelCancels the quote.- Throws:
- StripeException
 
- 
cancelCancels the quote.- Throws:
- StripeException
 
- 
cancelCancels the quote.- Throws:
- StripeException
 
- 
cancelCancels the quote.- Throws:
- StripeException
 
- 
createA quote models prices and services for a customer. Default options forheader,description,footer, andexpires_atcan be set in the dashboard via the quote template.- Throws:
- StripeException
 
- 
createpublic static Quote create(Map<String, Object> params, RequestOptions options) throws StripeExceptionA quote models prices and services for a customer. Default options forheader,description,footer, andexpires_atcan be set in the dashboard via the quote template.- Throws:
- StripeException
 
- 
createA quote models prices and services for a customer. Default options forheader,description,footer, andexpires_atcan be set in the dashboard via the quote template.- Throws:
- StripeException
 
- 
createA quote models prices and services for a customer. Default options forheader,description,footer, andexpires_atcan be set in the dashboard via the quote template.- Throws:
- StripeException
 
- 
finalizeQuoteFinalizes the quote.- Throws:
- StripeException
 
- 
finalizeQuoteFinalizes the quote.- Throws:
- StripeException
 
- 
finalizeQuoteFinalizes the quote.- Throws:
- StripeException
 
- 
finalizeQuotepublic Quote finalizeQuote(Map<String, Object> params, RequestOptions options) throws StripeExceptionFinalizes the quote.- Throws:
- StripeException
 
- 
finalizeQuoteFinalizes the quote.- Throws:
- StripeException
 
- 
finalizeQuotepublic Quote finalizeQuote(QuoteFinalizeQuoteParams params, RequestOptions options) throws StripeException Finalizes the quote.- Throws:
- StripeException
 
- 
listReturns a list of your quotes.- Throws:
- StripeException
 
- 
listpublic static QuoteCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of your quotes.- Throws:
- StripeException
 
- 
listReturns a list of your quotes.- Throws:
- StripeException
 
- 
listpublic static QuoteCollection list(QuoteListParams params, RequestOptions options) throws StripeException Returns a list of your quotes.- Throws:
- StripeException
 
- 
listComputedUpfrontLineItemsWhen retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.- Throws:
- StripeException
 
- 
listComputedUpfrontLineItemspublic LineItemCollection listComputedUpfrontLineItems(Map<String, Object> params) throws StripeExceptionWhen retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.- Throws:
- StripeException
 
- 
listComputedUpfrontLineItemspublic LineItemCollection listComputedUpfrontLineItems(Map<String, Object> params, RequestOptions options) throws StripeExceptionWhen retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.- Throws:
- StripeException
 
- 
listComputedUpfrontLineItemspublic LineItemCollection listComputedUpfrontLineItems(QuoteListComputedUpfrontLineItemsParams params) throws StripeException When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.- Throws:
- StripeException
 
- 
listComputedUpfrontLineItemspublic LineItemCollection listComputedUpfrontLineItems(QuoteListComputedUpfrontLineItemsParams params, RequestOptions options) throws StripeException When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.- Throws:
- StripeException
 
- 
listLineItemsWhen retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.- Throws:
- StripeException
 
- 
listLineItemsWhen retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.- Throws:
- StripeException
 
- 
listLineItemspublic LineItemCollection listLineItems(Map<String, Object> params, RequestOptions options) throws StripeExceptionWhen retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.- Throws:
- StripeException
 
- 
listLineItemsWhen retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.- Throws:
- StripeException
 
- 
listLineItemspublic LineItemCollection listLineItems(QuoteListLineItemsParams params, RequestOptions options) throws StripeException When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.- Throws:
- StripeException
 
- 
listLinesRetrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.- Throws:
- StripeException
 
- 
listLinesRetrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.- Throws:
- StripeException
 
- 
listLinespublic QuoteLineCollection listLines(Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.- Throws:
- StripeException
 
- 
listLinesRetrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.- Throws:
- StripeException
 
- 
listLinespublic QuoteLineCollection listLines(QuoteListLinesParams params, RequestOptions options) throws StripeException Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.- Throws:
- StripeException
 
- 
listPreviewInvoiceLinespublic InvoiceLineItemCollection listPreviewInvoiceLines(String previewInvoice) throws StripeException Preview the invoice line items that would be generated by accepting the quote.- Throws:
- StripeException
 
- 
listPreviewInvoiceLinespublic InvoiceLineItemCollection listPreviewInvoiceLines(String previewInvoice, RequestOptions options) throws StripeException Preview the invoice line items that would be generated by accepting the quote.- Throws:
- StripeException
 
- 
listPreviewInvoiceLinespublic InvoiceLineItemCollection listPreviewInvoiceLines(String previewInvoice, Map<String, Object> params) throws StripeExceptionPreview the invoice line items that would be generated by accepting the quote.- Throws:
- StripeException
 
- 
listPreviewInvoiceLinespublic InvoiceLineItemCollection listPreviewInvoiceLines(String previewInvoice, Map<String, Object> params, RequestOptions options) throws StripeExceptionPreview the invoice line items that would be generated by accepting the quote.- Throws:
- StripeException
 
- 
listPreviewInvoiceLinespublic InvoiceLineItemCollection listPreviewInvoiceLines(String previewInvoice, QuoteListPreviewInvoiceLinesParams params) throws StripeException Preview the invoice line items that would be generated by accepting the quote.- Throws:
- StripeException
 
- 
listPreviewInvoiceLinespublic InvoiceLineItemCollection listPreviewInvoiceLines(String previewInvoice, QuoteListPreviewInvoiceLinesParams params, RequestOptions options) throws StripeException Preview the invoice line items that would be generated by accepting the quote.- Throws:
- StripeException
 
- 
markDraftConverts a stale quote to draft.- Throws:
- StripeException
 
- 
markDraftConverts a stale quote to draft.- Throws:
- StripeException
 
- 
markDraftConverts a stale quote to draft.- Throws:
- StripeException
 
- 
markDraftConverts a stale quote to draft.- Throws:
- StripeException
 
- 
markDraftConverts a stale quote to draft.- Throws:
- StripeException
 
- 
markDraftConverts a stale quote to draft.- Throws:
- StripeException
 
- 
markStaleConverts a draft or open quote to stale.- Throws:
- StripeException
 
- 
markStaleConverts a draft or open quote to stale.- Throws:
- StripeException
 
- 
markStaleConverts a draft or open quote to stale.- Throws:
- StripeException
 
- 
markStaleConverts a draft or open quote to stale.- Throws:
- StripeException
 
- 
markStaleConverts a draft or open quote to stale.- Throws:
- StripeException
 
- 
markStaleConverts a draft or open quote to stale.- Throws:
- StripeException
 
- 
pdfDownload the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
- StripeException
 
- 
pdfDownload the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
- StripeException
 
- 
pdfDownload the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
- StripeException
 
- 
pdfDownload the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
- StripeException
 
- 
pdfDownload the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
- StripeException
 
- 
reestimateRecompute the upcoming invoice estimate for the quote.- Throws:
- StripeException
 
- 
reestimateRecompute the upcoming invoice estimate for the quote.- Throws:
- StripeException
 
- 
reestimateRecompute the upcoming invoice estimate for the quote.- Throws:
- StripeException
 
- 
reestimateRecompute the upcoming invoice estimate for the quote.- Throws:
- StripeException
 
- 
reestimateRecompute the upcoming invoice estimate for the quote.- Throws:
- StripeException
 
- 
reestimatepublic Quote reestimate(QuoteReestimateParams params, RequestOptions options) throws StripeException Recompute the upcoming invoice estimate for the quote.- Throws:
- StripeException
 
- 
retrieveRetrieves the quote with the given ID.- Throws:
- StripeException
 
- 
retrieveRetrieves the quote with the given ID.- Throws:
- StripeException
 
- 
retrievepublic static Quote retrieve(String quote, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the quote with the given ID.- Throws:
- StripeException
 
- 
retrievepublic static Quote retrieve(String quote, QuoteRetrieveParams params, RequestOptions options) throws StripeException Retrieves the quote with the given ID.- Throws:
- StripeException
 
- 
updateA quote models prices and services for a customer.- Specified by:
- updatein interface- MetadataStore<Quote>
- Throws:
- StripeException
 
- 
updateA quote models prices and services for a customer.- Specified by:
- updatein interface- MetadataStore<Quote>
- Throws:
- StripeException
 
- 
updateA quote models prices and services for a customer.- Throws:
- StripeException
 
- 
updateA quote models prices and services for a customer.- Throws:
- StripeException
 
- 
setResponseGetterDescription copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
- setResponseGetterin interface- StripeActiveObject
- Overrides:
- setResponseGetterin class- ApiResource
- Parameters:
- responseGetter- the- StripeResponseGetterinstance to use for making further requests.
 
- 
getAllowBackdatedLinesAllow quote lines to havestarts_atin the past if collection is paused betweenstarts_atand now.
- 
getAmountSubtotalTotal before any discounts or taxes are applied.
- 
getAmountTotalTotal after discounts and taxes are applied.
- 
getApplicationFeeAmountThe amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Only applicable if there are no line items with recurring prices on the quote.
- 
getApplicationFeePercentA non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. Only applicable if there are line items with recurring prices on the quote.
- 
getAutomaticTax
- 
getCollectionMethodEithercharge_automatically, orsend_invoice. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or on finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription asactive. Defaults tocharge_automatically.One of charge_automatically, orsend_invoice.
- 
getComputed
- 
getCreatedTime at which the object was created. Measured in seconds since the Unix epoch.
- 
getCurrencyThree-letter ISO currency code, in lowercase. Must be a supported currency.
- 
getCustomerAccountThe account which this quote belongs to. A customer or account is required before finalizing the quote. Once specified, it cannot be changed.
- 
getDescriptionA description that will be displayed on the quote PDF.
- 
getExpiresAtThe date on which the quote will be canceled if inopenordraftstatus. Measured in seconds since the Unix epoch.
- 
getFromQuoteDetails of the quote that was cloned. See the cloning documentation for more details.
- 
getHeaderA header that will be displayed on the quote PDF.
- 
getInvoiceSettings
- 
getLineItemsA list of items the customer is being quoted for.
- 
getLinesA list of quote lines on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getNumberA unique number that identifies this particular quote. This number is assigned once the quote is finalized.
- 
getObjectString representing the object's type. Objects of the same type share the same value.Equal to quote.
- 
getStatusThe status of the quote.One of accepted,accepting,canceled,draft,open, orstale.
- 
getStatusDetailsDetails on when and why a quote has been marked as stale or canceled.
- 
getStatusTransitions
- 
getSubscriptionData
- 
getSubscriptionDataOverridesList representing overrides forsubscription_dataconfigurations for specific subscription schedules.
- 
getSubscriptionSchedulesThe subscription schedules that were created or updated from this quote.
- 
getTotalDetails
- 
getTransferDataThe account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the invoices.
- 
setAllowBackdatedLinesAllow quote lines to havestarts_atin the past if collection is paused betweenstarts_atand now.
- 
setAmountSubtotalTotal before any discounts or taxes are applied.
- 
setAmountTotalTotal after discounts and taxes are applied.
- 
setApplicationFeeAmountThe amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Only applicable if there are no line items with recurring prices on the quote.
- 
setApplicationFeePercentA non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. Only applicable if there are line items with recurring prices on the quote.
- 
setAutomaticTax
- 
setCollectionMethodEithercharge_automatically, orsend_invoice. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or on finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription asactive. Defaults tocharge_automatically.One of charge_automatically, orsend_invoice.
- 
setComputed
- 
setCreatedTime at which the object was created. Measured in seconds since the Unix epoch.
- 
setCurrencyThree-letter ISO currency code, in lowercase. Must be a supported currency.
- 
setCustomerAccountThe account which this quote belongs to. A customer or account is required before finalizing the quote. Once specified, it cannot be changed.
- 
setDescriptionA description that will be displayed on the quote PDF.
- 
setExpiresAtThe date on which the quote will be canceled if inopenordraftstatus. Measured in seconds since the Unix epoch.
- 
setFromQuoteDetails of the quote that was cloned. See the cloning documentation for more details.
- 
setHeaderA header that will be displayed on the quote PDF.
- 
setIdUnique identifier for the object.
- 
setInvoiceSettings
- 
setLineItemsA list of items the customer is being quoted for.
- 
setLinesA list of quote lines on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setMetadataSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- 
setNumberA unique number that identifies this particular quote. This number is assigned once the quote is finalized.
- 
setObjectString representing the object's type. Objects of the same type share the same value.Equal to quote.
- 
setStatusThe status of the quote.One of accepted,accepting,canceled,draft,open, orstale.
- 
setStatusDetailsDetails on when and why a quote has been marked as stale or canceled.
- 
setStatusTransitions
- 
setSubscriptionData
- 
setSubscriptionDataOverridespublic void setSubscriptionDataOverrides(List<Quote.SubscriptionDataOverride> subscriptionDataOverrides) List representing overrides forsubscription_dataconfigurations for specific subscription schedules.
- 
setSubscriptionSchedulesThe subscription schedules that were created or updated from this quote.
- 
setTotalDetails
- 
setTransferDataThe account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the invoices.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
getIdUnique identifier for the object.
- 
getMetadataSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.- Specified by:
- getMetadatain interface- MetadataStore<Quote>
 
 
-