Package com.stripe.service.radar
Class ValueListService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.radar.ValueListService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ValueListCreateParams params) Creates a newValueListobject, which can then be referenced in rules.create(ValueListCreateParams params, RequestOptions options) Creates a newValueListobject, which can then be referenced in rules.Deletes aValueListobject, also deleting any items contained within the value list.delete(String valueList, RequestOptions options) Deletes aValueListobject, also deleting any items contained within the value list.list()Returns a list ofValueListobjects.list(RequestOptions options) Returns a list ofValueListobjects.list(ValueListListParams params) Returns a list ofValueListobjects.list(ValueListListParams params, RequestOptions options) Returns a list ofValueListobjects.Retrieves aValueListobject.retrieve(String valueList, RequestOptions options) Retrieves aValueListobject.retrieve(String valueList, ValueListRetrieveParams params) Retrieves aValueListobject.retrieve(String valueList, ValueListRetrieveParams params, RequestOptions options) Retrieves aValueListobject.Updates aValueListobject by setting the values of the parameters passed.update(String valueList, RequestOptions options) Updates aValueListobject by setting the values of the parameters passed.update(String valueList, ValueListUpdateParams params) Updates aValueListobject by setting the values of the parameters passed.update(String valueList, ValueListUpdateParams params, RequestOptions options) Updates aValueListobject by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ValueListService
-
-
Method Details
-
delete
Deletes aValueListobject, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.- Throws:
StripeException
-
delete
Deletes aValueListobject, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.- Throws:
StripeException
-
retrieve
Retrieves aValueListobject.- Throws:
StripeException
-
retrieve
Retrieves aValueListobject.- Throws:
StripeException
-
retrieve
Retrieves aValueListobject.- Throws:
StripeException
-
retrieve
public ValueList retrieve(String valueList, ValueListRetrieveParams params, RequestOptions options) throws StripeException Retrieves aValueListobject.- Throws:
StripeException
-
update
Updates aValueListobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note thatitem_typeis immutable.- Throws:
StripeException
-
update
Updates aValueListobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note thatitem_typeis immutable.- Throws:
StripeException
-
update
Updates aValueListobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note thatitem_typeis immutable.- Throws:
StripeException
-
update
public ValueList update(String valueList, ValueListUpdateParams params, RequestOptions options) throws StripeException Updates aValueListobject by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note thatitem_typeis immutable.- Throws:
StripeException
-
list
Returns a list ofValueListobjects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
Returns a list ofValueListobjects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
Returns a list ofValueListobjects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public StripeCollection<ValueList> list(ValueListListParams params, RequestOptions options) throws StripeException Returns a list ofValueListobjects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
create
Creates a newValueListobject, which can then be referenced in rules.- Throws:
StripeException
-
create
public ValueList create(ValueListCreateParams params, RequestOptions options) throws StripeException Creates a newValueListobject, which can then be referenced in rules.- Throws:
StripeException
-