public class InvoiceItemListParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
InvoiceItemListParams.Builder |
static class |
InvoiceItemListParams.Created |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static InvoiceItemListParams.Builder |
builder() |
java.lang.Object |
getCreated() |
java.lang.String |
getCustomer()
The identifier of the customer whose invoice items to return.
|
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.lang.String |
getInvoice()
Only return invoice items belonging to this invoice.
|
java.lang.Long |
getLimit()
A limit on the number of objects to be returned.
|
java.lang.Boolean |
getPending()
Set to
true to only show pending invoice items, which are not yet attached to any
invoices. |
java.lang.String |
getStartingAfter()
A cursor for use in pagination.
|
toMap
public static InvoiceItemListParams.Builder builder()
public java.lang.Object getCreated()
public java.lang.String getCustomer()
public java.lang.String getEndingBefore()
ending_before
is 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_bar
in order to
fetch the previous page of the list.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.lang.String getInvoice()
public java.lang.Long getLimit()
public java.lang.Boolean getPending()
true
to only show pending invoice items, which are not yet attached to any
invoices. Set to false
to only show invoice items already attached to invoices. If
unspecified, no filter is applied.public java.lang.String getStartingAfter()
starting_after
is 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_foo
in order to
fetch the next page of the list.