Package com.stripe.param
Class ProductListParams
- java.lang.Object
-
- com.stripe.net.ApiRequestParams
-
- com.stripe.param.ProductListParams
-
public class ProductListParams extends ApiRequestParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProductListParams.Builderstatic classProductListParams.Createdstatic classProductListParams.TypeMaximum 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProductListParams.Builderbuilder()java.lang.BooleangetActive()Only return products that are active or inactive (e.g., passfalseto list all inactive products).java.lang.ObjectgetCreated()Only return products that were created during the given date interval.java.lang.StringgetEndingBefore()A cursor for use in pagination.java.util.List<java.lang.String>getExpand()Specifies which fields in the response should be expanded.java.util.Map<java.lang.String,java.lang.Object>getExtraParams()Map of extra parameters for custom features not available in this client library.java.util.List<java.lang.String>getIds()Only return products with the given IDs.java.lang.LonggetLimit()A limit on the number of objects to be returned.java.lang.BooleangetShippable()Only return products that can be shipped (i.e., physical, not digital products).java.lang.StringgetStartingAfter()A cursor for use in pagination.ProductListParams.TypegetType()Only return products of this type.java.lang.StringgetUrl()Only return products with the given url.-
Methods inherited from class com.stripe.net.ApiRequestParams
toMap
-
-
-
-
Method Detail
-
builder
public static ProductListParams.Builder builder()
-
getActive
public java.lang.Boolean getActive()
Only return products that are active or inactive (e.g., passfalseto list all inactive products).
-
getCreated
public java.lang.Object getCreated()
Only return products that were created during the given date interval.
-
getEndingBefore
public java.lang.String getEndingBefore()
A cursor for use in pagination.ending_beforeis 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_barin order to fetch the previous page of the list.
-
getExpand
public java.util.List<java.lang.String> getExpand()
Specifies which fields in the response should be expanded.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> 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@SerializedNamevalue. 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
public java.util.List<java.lang.String> getIds()
Only return products with the given IDs.
-
getLimit
public java.lang.Long getLimit()
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
-
getShippable
public java.lang.Boolean getShippable()
Only return products that can be shipped (i.e., physical, not digital products).
-
getStartingAfter
public java.lang.String getStartingAfter()
A cursor for use in pagination.starting_afteris 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_fooin order to fetch the next page of the list.
-
getType
public ProductListParams.Type getType()
Only return products of this type.
-
getUrl
public java.lang.String getUrl()
Only return products with the given url.
-
-