Package com.stripe.service.tax
Class CalculationService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.tax.CalculationService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(CalculationCreateParams params) Calculates tax based on the input and returns a TaxCalculation
object.create
(CalculationCreateParams params, RequestOptions options) Calculates tax based on the input and returns a TaxCalculation
object.Retrieves a TaxCalculation
object, if the calculation hasn’t expired.retrieve
(String calculation, RequestOptions options) Retrieves a TaxCalculation
object, if the calculation hasn’t expired.retrieve
(String calculation, CalculationRetrieveParams params) Retrieves a TaxCalculation
object, if the calculation hasn’t expired.retrieve
(String calculation, CalculationRetrieveParams params, RequestOptions options) Retrieves a TaxCalculation
object, 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 TaxCalculation
object, if the calculation hasn’t expired.- Throws:
StripeException
-
retrieve
Retrieves a TaxCalculation
object, if the calculation hasn’t expired.- Throws:
StripeException
-
retrieve
Retrieves a TaxCalculation
object, if the calculation hasn’t expired.- Throws:
StripeException
-
retrieve
public Calculation retrieve(String calculation, CalculationRetrieveParams params, RequestOptions options) throws StripeException Retrieves a TaxCalculation
object, if the calculation hasn’t expired.- Throws:
StripeException
-
create
Calculates tax based on the input and returns a TaxCalculation
object.- Throws:
StripeException
-
create
public Calculation create(CalculationCreateParams params, RequestOptions options) throws StripeException Calculates tax based on the input and returns a TaxCalculation
object.- Throws:
StripeException
-
lineItems
-