Package com.stripe.service.tax
Class CalculationService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.tax.CalculationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CalculationCreateParams params) Calculates tax based on the input and returns a TaxCalculationobject.create(CalculationCreateParams params, RequestOptions options) Calculates tax based on the input and returns a TaxCalculationobject.Retrieves a TaxCalculationobject, if the calculation hasn’t expired.retrieve(String calculation, RequestOptions options) Retrieves a TaxCalculationobject, if the calculation hasn’t expired.retrieve(String calculation, CalculationRetrieveParams params) Retrieves a TaxCalculationobject, if the calculation hasn’t expired.retrieve(String calculation, CalculationRetrieveParams params, RequestOptions options) Retrieves a TaxCalculationobject, if the calculation hasn’t expired.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
CalculationService
-
-
Method Details
-
retrieve
public Calculation retrieve(String calculation, CalculationRetrieveParams params) throws StripeException Retrieves a TaxCalculationobject, if the calculation hasn’t expired.- Throws:
StripeException
-
retrieve
Retrieves a TaxCalculationobject, if the calculation hasn’t expired.- Throws:
StripeException
-
retrieve
Retrieves a TaxCalculationobject, if the calculation hasn’t expired.- Throws:
StripeException
-
retrieve
public Calculation retrieve(String calculation, CalculationRetrieveParams params, RequestOptions options) throws StripeException Retrieves a TaxCalculationobject, if the calculation hasn’t expired.- Throws:
StripeException
-
create
Calculates tax based on the input and returns a TaxCalculationobject.- Throws:
StripeException
-
create
public Calculation create(CalculationCreateParams params, RequestOptions options) throws StripeException Calculates tax based on the input and returns a TaxCalculationobject.- Throws:
StripeException
-
lineItems
-