Package com.stripe.param
Class ProductListParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.ProductListParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
Maximum value to filter by (inclusive).Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProductListParams.Builder
builder()
Only return products that are active or inactive (e.g., passfalse
to list all inactive products).Only return products that were created during the given date interval.A cursor for use in pagination.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.getIds()
Only return products with the given IDs.getLimit()
A limit on the number of objects to be returned.Only return products that can be shipped (i.e., physical, not digital products).A cursor for use in pagination.getType()
Only return products of this type.getUrl()
Only return products with the given url.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getActive
Only return products that are active or inactive (e.g., passfalse
to list all inactive products). -
getCreated
Only return products that were created during the given date interval. -
getEndingBefore
A cursor for use in pagination.ending_before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withobj_bar
, your subsequent call can includeending_before=obj_bar
in order to fetch the previous page of the list. -
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getIds
Only return products with the given IDs. Cannot be used with starting_after or ending_before. -
getLimit
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. -
getShippable
Only return products that can be shipped (i.e., physical, not digital products). -
getStartingAfter
A cursor for use in pagination.starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withobj_foo
, your subsequent call can includestarting_after=obj_foo
in order to fetch the next page of the list. -
getType
Only return products of this type. -
getUrl
Only return products with the given url.
-