Package com.stripe.service
Class QuoteService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.QuoteService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAccepts the specified quote.accept
(String quote, RequestOptions options) Accepts the specified quote.accept
(String quote, QuoteAcceptParams params) Accepts the specified quote.accept
(String quote, QuoteAcceptParams params, RequestOptions options) Accepts the specified quote.Cancels the quote.cancel
(String quote, RequestOptions options) Cancels the quote.cancel
(String quote, QuoteCancelParams params) Cancels the quote.cancel
(String quote, QuoteCancelParams params, RequestOptions options) Cancels the quote.create()
A quote models prices and services for a customer.create
(RequestOptions options) A quote models prices and services for a customer.create
(QuoteCreateParams params) A quote models prices and services for a customer.create
(QuoteCreateParams params, RequestOptions options) A quote models prices and services for a customer.finalizeQuote
(String quote) Finalizes the quote.finalizeQuote
(String quote, RequestOptions options) Finalizes the quote.finalizeQuote
(String quote, QuoteFinalizeQuoteParams params) Finalizes the quote.finalizeQuote
(String quote, QuoteFinalizeQuoteParams params, RequestOptions options) Finalizes the quote.list()
Returns a list of your quotes.list
(RequestOptions options) Returns a list of your quotes.list
(QuoteListParams params) Returns a list of your quotes.list
(QuoteListParams params, RequestOptions options) Returns a list of your quotes.Download the PDF for a finalized quote.pdf
(String quote, RequestOptions options) Download the PDF for a finalized quote.pdf
(String quote, QuotePdfParams params) Download the PDF for a finalized quote.pdf
(String quote, QuotePdfParams params, RequestOptions options) Download the PDF for a finalized quote.Retrieves the quote with the given ID.retrieve
(String quote, RequestOptions options) Retrieves the quote with the given ID.retrieve
(String quote, QuoteRetrieveParams params) Retrieves the quote with the given ID.retrieve
(String quote, QuoteRetrieveParams params, RequestOptions options) Retrieves the quote with the given ID.A quote models prices and services for a customer.update
(String quote, RequestOptions options) A quote models prices and services for a customer.update
(String quote, QuoteUpdateParams params) A quote models prices and services for a customer.update
(String quote, QuoteUpdateParams params, RequestOptions options) A quote models prices and services for a customer.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
QuoteService
-
-
Method Details
-
list
Returns a list of your quotes.- Throws:
StripeException
-
list
Returns a list of your quotes.- Throws:
StripeException
-
list
Returns a list of your quotes.- Throws:
StripeException
-
list
public StripeCollection<Quote> list(QuoteListParams params, RequestOptions options) throws StripeException Returns a list of your quotes.- Throws:
StripeException
-
create
A quote models prices and services for a customer. Default options forheader
,description
,footer
, andexpires_at
can be set in the dashboard via the quote template.- Throws:
StripeException
-
create
A quote models prices and services for a customer. Default options forheader
,description
,footer
, andexpires_at
can be set in the dashboard via the quote template.- Throws:
StripeException
-
create
A quote models prices and services for a customer. Default options forheader
,description
,footer
, andexpires_at
can be set in the dashboard via the quote template.- Throws:
StripeException
-
create
A quote models prices and services for a customer. Default options forheader
,description
,footer
, andexpires_at
can be set in the dashboard via the quote template.- Throws:
StripeException
-
retrieve
Retrieves the quote with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the quote with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the quote with the given ID.- Throws:
StripeException
-
retrieve
public Quote retrieve(String quote, QuoteRetrieveParams params, RequestOptions options) throws StripeException Retrieves the quote with the given ID.- Throws:
StripeException
-
update
A quote models prices and services for a customer.- Throws:
StripeException
-
update
A quote models prices and services for a customer.- Throws:
StripeException
-
update
A quote models prices and services for a customer.- Throws:
StripeException
-
update
public Quote update(String quote, QuoteUpdateParams params, RequestOptions options) throws StripeException A quote models prices and services for a customer.- Throws:
StripeException
-
accept
Accepts the specified quote.- Throws:
StripeException
-
accept
Accepts the specified quote.- Throws:
StripeException
-
accept
Accepts the specified quote.- Throws:
StripeException
-
accept
public Quote accept(String quote, QuoteAcceptParams params, RequestOptions options) throws StripeException Accepts the specified quote.- Throws:
StripeException
-
cancel
Cancels the quote.- Throws:
StripeException
-
cancel
Cancels the quote.- Throws:
StripeException
-
cancel
Cancels the quote.- Throws:
StripeException
-
cancel
public Quote cancel(String quote, QuoteCancelParams params, RequestOptions options) throws StripeException Cancels the quote.- Throws:
StripeException
-
finalizeQuote
Finalizes the quote.- Throws:
StripeException
-
finalizeQuote
Finalizes the quote.- Throws:
StripeException
-
finalizeQuote
Finalizes the quote.- Throws:
StripeException
-
finalizeQuote
public Quote finalizeQuote(String quote, QuoteFinalizeQuoteParams params, RequestOptions options) throws StripeException Finalizes the quote.- Throws:
StripeException
-
pdf
Download the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
StripeException
-
pdf
Download the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
StripeException
-
pdf
Download the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
StripeException
-
pdf
public InputStream pdf(String quote, QuotePdfParams params, RequestOptions options) throws StripeException Download the PDF for a finalized quote. Explanation for special handling can be found here- Throws:
StripeException
-
computedUpfrontLineItems
-
lineItems
-