public static final class CustomerService.CustomerListRequest<S> extends ListRequest<S,Customer>
Request class for CustomerService.list()
.
Returns a cursor-paginated list of your customers.
Modifier and Type | Class and Description |
---|---|
static class |
CustomerService.CustomerListRequest.CreatedAt |
ListRequest.ListRequestExecutor<S,T>
Modifier and Type | Method and Description |
---|---|
CustomerService.CustomerListRequest<S> |
withAfter(java.lang.String after)
Cursor pointing to the start of the desired set.
|
CustomerService.CustomerListRequest<S> |
withBefore(java.lang.String before)
Cursor pointing to the end of the desired set.
|
CustomerService.CustomerListRequest<S> |
withCreatedAt(CustomerService.CustomerListRequest.CreatedAt createdAt) |
CustomerService.CustomerListRequest<S> |
withCreatedAtGt(java.lang.String gt)
Limit to records created after the specified date-time.
|
CustomerService.CustomerListRequest<S> |
withCreatedAtGte(java.lang.String gte)
Limit to records created on or after the specified date-time.
|
CustomerService.CustomerListRequest<S> |
withCreatedAtLt(java.lang.String lt)
Limit to records created before the specified date-time.
|
CustomerService.CustomerListRequest<S> |
withCreatedAtLte(java.lang.String lte)
Limit to records created on or before the specified date-time.
|
CustomerService.CustomerListRequest<S> |
withHeader(java.lang.String headerName,
java.lang.String headerValue) |
CustomerService.CustomerListRequest<S> |
withLimit(java.lang.Integer limit)
Number of records to return.
|
execute, executeWrapped, iteratingExecutor, pagingExecutor
public CustomerService.CustomerListRequest<S> withAfter(java.lang.String after)
Cursor pointing to the start of the desired set.
public CustomerService.CustomerListRequest<S> withBefore(java.lang.String before)
Cursor pointing to the end of the desired set.
public CustomerService.CustomerListRequest<S> withCreatedAt(CustomerService.CustomerListRequest.CreatedAt createdAt)
public CustomerService.CustomerListRequest<S> withCreatedAtGt(java.lang.String gt)
Limit to records created after the specified date-time.
public CustomerService.CustomerListRequest<S> withCreatedAtGte(java.lang.String gte)
Limit to records created on or after the specified date-time.
public CustomerService.CustomerListRequest<S> withCreatedAtLt(java.lang.String lt)
Limit to records created before the specified date-time.
public CustomerService.CustomerListRequest<S> withCreatedAtLte(java.lang.String lte)
Limit to records created on or before the specified date-time.
public CustomerService.CustomerListRequest<S> withLimit(java.lang.Integer limit)
Number of records to return.
public CustomerService.CustomerListRequest<S> withHeader(java.lang.String headerName, java.lang.String headerValue)