Package com.stripe.service
Class ShippingRateService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.ShippingRateService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ShippingRateCreateParams params) Creates a new shipping rate object.create
(ShippingRateCreateParams params, RequestOptions options) Creates a new shipping rate object.list()
Returns a list of your shipping rates.list
(RequestOptions options) Returns a list of your shipping rates.list
(ShippingRateListParams params) Returns a list of your shipping rates.list
(ShippingRateListParams params, RequestOptions options) Returns a list of your shipping rates.Returns the shipping rate object with the given ID.retrieve
(String shippingRateToken, RequestOptions options) Returns the shipping rate object with the given ID.retrieve
(String shippingRateToken, ShippingRateRetrieveParams params) Returns the shipping rate object with the given ID.retrieve
(String shippingRateToken, ShippingRateRetrieveParams params, RequestOptions options) Returns the shipping rate object with the given ID.Updates an existing shipping rate object.update
(String shippingRateToken, RequestOptions options) Updates an existing shipping rate object.update
(String shippingRateToken, ShippingRateUpdateParams params) Updates an existing shipping rate object.update
(String shippingRateToken, ShippingRateUpdateParams params, RequestOptions options) Updates an existing shipping rate object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ShippingRateService
-
-
Method Details
-
list
Returns a list of your shipping rates.- Throws:
StripeException
-
list
Returns a list of your shipping rates.- Throws:
StripeException
-
list
Returns a list of your shipping rates.- Throws:
StripeException
-
list
public StripeCollection<ShippingRate> list(ShippingRateListParams params, RequestOptions options) throws StripeException Returns a list of your shipping rates.- Throws:
StripeException
-
create
Creates a new shipping rate object.- Throws:
StripeException
-
create
public ShippingRate create(ShippingRateCreateParams params, RequestOptions options) throws StripeException Creates a new shipping rate object.- Throws:
StripeException
-
retrieve
public ShippingRate retrieve(String shippingRateToken, ShippingRateRetrieveParams params) throws StripeException Returns the shipping rate object with the given ID.- Throws:
StripeException
-
retrieve
public ShippingRate retrieve(String shippingRateToken, RequestOptions options) throws StripeException Returns the shipping rate object with the given ID.- Throws:
StripeException
-
retrieve
Returns the shipping rate object with the given ID.- Throws:
StripeException
-
retrieve
public ShippingRate retrieve(String shippingRateToken, ShippingRateRetrieveParams params, RequestOptions options) throws StripeException Returns the shipping rate object with the given ID.- Throws:
StripeException
-
update
public ShippingRate update(String shippingRateToken, ShippingRateUpdateParams params) throws StripeException Updates an existing shipping rate object.- Throws:
StripeException
-
update
Updates an existing shipping rate object.- Throws:
StripeException
-
update
Updates an existing shipping rate object.- Throws:
StripeException
-
update
public ShippingRate update(String shippingRateToken, ShippingRateUpdateParams params, RequestOptions options) throws StripeException Updates an existing shipping rate object.- Throws:
StripeException
-