Package com.stripe.service.radar
Class ValueListItemService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.radar.ValueListItemService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ValueListItemCreateParams params) Creates a newValueListItem
object, which is added to the specified parent value list.create
(ValueListItemCreateParams params, RequestOptions options) Creates a newValueListItem
object, which is added to the specified parent value list.Deletes aValueListItem
object, removing it from its parent value list.delete
(String item, RequestOptions options) Deletes aValueListItem
object, removing it from its parent value list.list
(ValueListItemListParams params) Returns a list ofValueListItem
objects.list
(ValueListItemListParams params, RequestOptions options) Returns a list ofValueListItem
objects.Retrieves aValueListItem
object.retrieve
(String item, RequestOptions options) Retrieves aValueListItem
object.retrieve
(String item, ValueListItemRetrieveParams params) Retrieves aValueListItem
object.retrieve
(String item, ValueListItemRetrieveParams params, RequestOptions options) Retrieves aValueListItem
object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ValueListItemService
-
-
Method Details
-
delete
Deletes aValueListItem
object, removing it from its parent value list.- Throws:
StripeException
-
delete
Deletes aValueListItem
object, removing it from its parent value list.- Throws:
StripeException
-
retrieve
public ValueListItem retrieve(String item, ValueListItemRetrieveParams params) throws StripeException Retrieves aValueListItem
object.- Throws:
StripeException
-
retrieve
Retrieves aValueListItem
object.- Throws:
StripeException
-
retrieve
Retrieves aValueListItem
object.- Throws:
StripeException
-
retrieve
public ValueListItem retrieve(String item, ValueListItemRetrieveParams params, RequestOptions options) throws StripeException Retrieves aValueListItem
object.- Throws:
StripeException
-
list
Returns a list ofValueListItem
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public StripeCollection<ValueListItem> list(ValueListItemListParams params, RequestOptions options) throws StripeException Returns a list ofValueListItem
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
create
Creates a newValueListItem
object, which is added to the specified parent value list.- Throws:
StripeException
-
create
public ValueListItem create(ValueListItemCreateParams params, RequestOptions options) throws StripeException Creates a newValueListItem
object, which is added to the specified parent value list.- Throws:
StripeException
-