public class CustomerListPaymentMethodsParams 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 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.
getType()An optional filter on the list, based on the object
Methods inherited from class com.stripe.net.ApiRequestParams
builderpublic static CustomerListPaymentMethodsParams.Builder builder()
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.
getTypepublic CustomerListPaymentMethodsParams.Type getType()An optional filter on the list, based on the object
typefield. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request.