Class TrialOfferService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.productcatalog.TrialOfferService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(TrialOfferCreateParams params) Creates a trial offer.create(TrialOfferCreateParams params, RequestOptions options) Creates a trial offer.list()Returns a list of trial offers.list(RequestOptions options) Returns a list of trial offers.list(TrialOfferListParams params) Returns a list of trial offers.list(TrialOfferListParams params, RequestOptions options) Returns a list of trial offers.Retrieves the trial offer with the given ID.retrieve(String id, RequestOptions options) Retrieves the trial offer with the given ID.retrieve(String id, TrialOfferRetrieveParams params) Retrieves the trial offer with the given ID.retrieve(String id, TrialOfferRetrieveParams params, RequestOptions options) Retrieves the trial offer with the given ID.Updates the specified trial offer by setting the values of the parameters passed.update(String id, RequestOptions options) Updates the specified trial offer by setting the values of the parameters passed.update(String id, TrialOfferUpdateParams params) Updates the specified trial offer by setting the values of the parameters passed.update(String id, TrialOfferUpdateParams params, RequestOptions options) Updates the specified trial offer by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
TrialOfferService
-
-
Method Details
-
list
Returns a list of trial offers.- Throws:
StripeException
-
list
Returns a list of trial offers.- Throws:
StripeException
-
list
Returns a list of trial offers.- Throws:
StripeException
-
list
public StripeCollection<TrialOffer> list(TrialOfferListParams params, RequestOptions options) throws StripeException Returns a list of trial offers.- Throws:
StripeException
-
create
Creates a trial offer.- Throws:
StripeException
-
create
public TrialOffer create(TrialOfferCreateParams params, RequestOptions options) throws StripeException Creates a trial offer.- Throws:
StripeException
-
retrieve
Retrieves the trial offer with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the trial offer with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the trial offer with the given ID.- Throws:
StripeException
-
retrieve
public TrialOffer retrieve(String id, TrialOfferRetrieveParams params, RequestOptions options) throws StripeException Retrieves the trial offer with the given ID.- Throws:
StripeException
-
update
Updates the specified trial offer by setting the values of the parameters passed. Any parameters not provided are left unchanged.- Throws:
StripeException
-
update
Updates the specified trial offer by setting the values of the parameters passed. Any parameters not provided are left unchanged.- Throws:
StripeException
-
update
Updates the specified trial offer by setting the values of the parameters passed. Any parameters not provided are left unchanged.- Throws:
StripeException
-
update
public TrialOffer update(String id, TrialOfferUpdateParams params, RequestOptions options) throws StripeException Updates the specified trial offer by setting the values of the parameters passed. Any parameters not provided are left unchanged.- Throws:
StripeException
-