public class CouponListParams extends ApiRequestParams
Nested Class SummaryModifier and TypeClassDescription
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
Fields inherited from class com.stripe.net.ApiRequestParams
Method SummaryModifier and TypeMethodDescription
builder()A filter on the list, based on the object
createdfield.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.
getLimit()A limit on the number of objects to be returned.A cursor for use in pagination.
Methods inherited from class com.stripe.net.ApiRequestParams
builderpublic static CouponListParams.Builder builder()
getCreatedpublic Object getCreated()A filter on the list, based on the object
createdfield. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
getEndingBeforepublic 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 with
obj_bar, your subsequent call can include
ending_before=obj_barin order to fetch the previous page of the list.
getExpandSpecifies which fields in the response should be expanded.
getExtraParamsMap 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.
getLimitpublic Long getLimit()A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
getStartingAfterpublic 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 with
obj_foo, your subsequent call can include
starting_after=obj_fooin order to fetch the next page of the list.