Package com.stripe.service.v2.tax
Class AutomaticRuleService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.tax.AutomaticRuleService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(AutomaticRuleCreateParams params) Creates an AutomaticRule object.create
(AutomaticRuleCreateParams params, RequestOptions options) Creates an AutomaticRule object.deactivate
(String id) Deactivates an AutomaticRule object.deactivate
(String id, RequestOptions options) Deactivates an AutomaticRule object.find
(AutomaticRuleFindParams params) Finds an AutomaticRule object by BillableItem ID.find
(AutomaticRuleFindParams params, RequestOptions options) Finds an AutomaticRule object by BillableItem ID.Retrieves an AutomaticRule object by ID.retrieve
(String id, RequestOptions options) Retrieves an AutomaticRule object by ID.update
(String id, AutomaticRuleUpdateParams params) Updates the automatic Tax configuration for an AutomaticRule object.update
(String id, AutomaticRuleUpdateParams params, RequestOptions options) Updates the automatic Tax configuration for an AutomaticRule object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AutomaticRuleService
-
-
Method Details
-
create
Creates an AutomaticRule object.- Throws:
StripeException
-
create
public AutomaticRule create(AutomaticRuleCreateParams params, RequestOptions options) throws StripeException Creates an AutomaticRule object.- Throws:
StripeException
-
find
Finds an AutomaticRule object by BillableItem ID.- Throws:
StripeException
-
find
public AutomaticRule find(AutomaticRuleFindParams params, RequestOptions options) throws StripeException Finds an AutomaticRule object by BillableItem ID.- Throws:
StripeException
-
retrieve
Retrieves an AutomaticRule object by ID.- Throws:
StripeException
-
retrieve
Retrieves an AutomaticRule object by ID.- Throws:
StripeException
-
update
Updates the automatic Tax configuration for an AutomaticRule object.- Throws:
StripeException
-
update
public AutomaticRule update(String id, AutomaticRuleUpdateParams params, RequestOptions options) throws StripeException Updates the automatic Tax configuration for an AutomaticRule object.- Throws:
StripeException
-
deactivate
Deactivates an AutomaticRule object. Deactivated AutomaticRule objects are ignored in future tax calculations.- Throws:
StripeException
-
deactivate
Deactivates an AutomaticRule object. Deactivated AutomaticRule objects are ignored in future tax calculations.- Throws:
StripeException
-