public class InvoiceListParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
InvoiceListParams.Builder |
static class |
InvoiceListParams.CollectionMethod
Maximum value to filter by (inclusive).
|
static class |
InvoiceListParams.Created |
static class |
InvoiceListParams.DueDate
Maximum value to filter by (inclusive).
|
static class |
InvoiceListParams.Status |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static InvoiceListParams.Builder |
builder() |
InvoiceListParams.CollectionMethod |
getCollectionMethod()
The collection method of the invoice to retrieve.
|
java.lang.Object |
getCreated() |
java.lang.String |
getCustomer()
Only return invoices for the customer specified by this customer ID.
|
java.lang.Object |
getDueDate() |
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.Long |
getLimit()
A limit on the number of objects to be returned.
|
java.lang.String |
getStartingAfter()
A cursor for use in pagination.
|
InvoiceListParams.Status |
getStatus()
The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`.
|
java.lang.String |
getSubscription()
Only return invoices for the subscription specified by this subscription ID.
|
toMap
public static InvoiceListParams.Builder builder()
public InvoiceListParams.CollectionMethod getCollectionMethod()
public java.lang.Object getCreated()
public java.lang.String getCustomer()
public java.lang.Object getDueDate()
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.lang.Long getLimit()
public java.lang.String getStartingAfter()
public InvoiceListParams.Status getStatus()
public java.lang.String getSubscription()