Package com.stripe.service.radar
Class ValueListService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.radar.ValueListService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ValueListCreateParams params) Creates a newValueList
object, which can then be referenced in rules.create
(ValueListCreateParams params, RequestOptions options) Creates a newValueList
object, which can then be referenced in rules.Deletes aValueList
object, also deleting any items contained within the value list.delete
(String valueList, RequestOptions options) Deletes aValueList
object, also deleting any items contained within the value list.list()
Returns a list ofValueList
objects.list
(RequestOptions options) Returns a list ofValueList
objects.list
(ValueListListParams params) Returns a list ofValueList
objects.list
(ValueListListParams params, RequestOptions options) Returns a list ofValueList
objects.Retrieves aValueList
object.retrieve
(String valueList, RequestOptions options) Retrieves aValueList
object.retrieve
(String valueList, ValueListRetrieveParams params) Retrieves aValueList
object.retrieve
(String valueList, ValueListRetrieveParams params, RequestOptions options) Retrieves aValueList
object.Updates aValueList
object by setting the values of the parameters passed.update
(String valueList, RequestOptions options) Updates aValueList
object by setting the values of the parameters passed.update
(String valueList, ValueListUpdateParams params) Updates aValueList
object by setting the values of the parameters passed.update
(String valueList, ValueListUpdateParams params, RequestOptions options) Updates aValueList
object 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 aValueList
object, 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 aValueList
object, 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 aValueList
object.- Throws:
StripeException
-
retrieve
Retrieves aValueList
object.- Throws:
StripeException
-
retrieve
Retrieves aValueList
object.- Throws:
StripeException
-
retrieve
public ValueList retrieve(String valueList, ValueListRetrieveParams params, RequestOptions options) throws StripeException Retrieves aValueList
object.- Throws:
StripeException
-
update
Updates aValueList
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note thatitem_type
is immutable.- Throws:
StripeException
-
update
Updates aValueList
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note thatitem_type
is immutable.- Throws:
StripeException
-
update
Updates aValueList
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note thatitem_type
is immutable.- Throws:
StripeException
-
update
public ValueList update(String valueList, ValueListUpdateParams params, RequestOptions options) throws StripeException Updates aValueList
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note thatitem_type
is immutable.- Throws:
StripeException
-
list
Returns a list ofValueList
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
Returns a list ofValueList
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
Returns a list ofValueList
objects. 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 ofValueList
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
create
Creates a newValueList
object, which can then be referenced in rules.- Throws:
StripeException
-
create
public ValueList create(ValueListCreateParams params, RequestOptions options) throws StripeException Creates a newValueList
object, which can then be referenced in rules.- Throws:
StripeException
-