public static class PaymentIntentListParams.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PaymentIntentListParams.Builder |
addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list.
|
PaymentIntentListParams.Builder |
addExpand(java.lang.String element)
Add an element to `expand` list.
|
PaymentIntentListParams |
build()
Finalize and obtain parameter instance from this builder.
|
PaymentIntentListParams.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.
|
PaymentIntentListParams.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
PaymentIntentListParams.Builder |
setCreated(java.lang.Long created)
A filter on the list, based on the object `created` field.
|
PaymentIntentListParams.Builder |
setCreated(PaymentIntentListParams.Created created)
A filter on the list, based on the object `created` field.
|
PaymentIntentListParams.Builder |
setCustomer(java.lang.String customer)
Only return PaymentIntents for the customer specified by this customer ID.
|
PaymentIntentListParams.Builder |
setEndingBefore(java.lang.String endingBefore)
A cursor for use in pagination.
|
PaymentIntentListParams.Builder |
setLimit(java.lang.Long limit)
A limit on the number of objects to be returned.
|
PaymentIntentListParams.Builder |
setStartingAfter(java.lang.String startingAfter)
A cursor for use in pagination.
|
public PaymentIntentListParams build()
public PaymentIntentListParams.Builder setCreated(PaymentIntentListParams.Created created)
public PaymentIntentListParams.Builder setCreated(java.lang.Long created)
public PaymentIntentListParams.Builder setCustomer(java.lang.String customer)
public PaymentIntentListParams.Builder setEndingBefore(java.lang.String endingBefore)
public PaymentIntentListParams.Builder addExpand(java.lang.String element)
PaymentIntentListParams.expand
for the field documentation.public PaymentIntentListParams.Builder addAllExpand(java.util.List<java.lang.String> elements)
PaymentIntentListParams.expand
for the field documentation.public PaymentIntentListParams.Builder putExtraParam(java.lang.String key, java.lang.Object value)
PaymentIntentListParams.extraParams
for the field documentation.public PaymentIntentListParams.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
PaymentIntentListParams.extraParams
for the field documentation.public PaymentIntentListParams.Builder setLimit(java.lang.Long limit)
public PaymentIntentListParams.Builder setStartingAfter(java.lang.String startingAfter)