public class OrderListParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
OrderListParams.Builder |
static class |
OrderListParams.Created |
static class |
OrderListParams.StatusTransitions
Maximum value to filter by (inclusive).
|
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static OrderListParams.Builder |
builder() |
java.lang.Object |
getCreated()
Date this order was created.
|
java.lang.String |
getCustomer()
Only return orders for the given customer.
|
java.lang.String |
getEndingBefore()
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 orders with the given IDs.
|
java.lang.Long |
getLimit()
A limit on the number of objects to be returned.
|
java.lang.String |
getStartingAfter()
A cursor for use in pagination.
|
java.lang.String |
getStatus()
Only return orders that have the given status.
|
OrderListParams.StatusTransitions |
getStatusTransitions()
Filter orders based on when they were paid, fulfilled, canceled, or returned.
|
java.util.List<java.lang.String> |
getUpstreamIds()
Only return orders with the given upstream order IDs.
|
toMap
public static OrderListParams.Builder builder()
public java.lang.Object getCreated()
public java.lang.String getCustomer()
public java.lang.String getEndingBefore()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@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.public java.util.List<java.lang.String> getIds()
public java.lang.Long getLimit()
public java.lang.String getStartingAfter()
public java.lang.String getStatus()
public OrderListParams.StatusTransitions getStatusTransitions()
public java.util.List<java.lang.String> getUpstreamIds()