Class VersionService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.billing.ratecards.VersionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList the versions of a Rate Card object.list
(String rateCardId, RequestOptions options) List the versions of a Rate Card object.list
(String rateCardId, VersionListParams params) List the versions of a Rate Card object.list
(String rateCardId, VersionListParams params, RequestOptions options) List the versions of a Rate Card object.Retrieve a specific version of a Rate Card object.retrieve
(String rateCardId, String id, RequestOptions options) Retrieve a specific version of a Rate Card object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
VersionService
-
-
Method Details
-
list
public StripeCollection<RateCardVersion> list(String rateCardId, VersionListParams params) throws StripeException List the versions of a Rate Card object. Results are sorted in reverse chronological order (most recent first).- Throws:
StripeException
-
list
public StripeCollection<RateCardVersion> list(String rateCardId, RequestOptions options) throws StripeException List the versions of a Rate Card object. Results are sorted in reverse chronological order (most recent first).- Throws:
StripeException
-
list
List the versions of a Rate Card object. Results are sorted in reverse chronological order (most recent first).- Throws:
StripeException
-
list
public StripeCollection<RateCardVersion> list(String rateCardId, VersionListParams params, RequestOptions options) throws StripeException List the versions of a Rate Card object. Results are sorted in reverse chronological order (most recent first).- Throws:
StripeException
-
retrieve
Retrieve a specific version of a Rate Card object.- Throws:
StripeException
-
retrieve
public RateCardVersion retrieve(String rateCardId, String id, RequestOptions options) throws StripeException Retrieve a specific version of a Rate Card object.- Throws:
StripeException
-