public static class TransactionListParams.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TransactionListParams.Builder |
addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list.
|
TransactionListParams.Builder |
addExpand(java.lang.String element)
Add an element to `expand` list.
|
TransactionListParams |
build()
Finalize and obtain parameter instance from this builder.
|
TransactionListParams.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.
|
TransactionListParams.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
TransactionListParams.Builder |
setCard(java.lang.String card)
Only return issuing transactions that belong to the given card.
|
TransactionListParams.Builder |
setCardholder(java.lang.String cardholder)
Only return authorizations belonging to the given cardholder.
|
TransactionListParams.Builder |
setCreated(java.lang.Long created)
Only return transactions that were created during the given date interval.
|
TransactionListParams.Builder |
setCreated(TransactionListParams.Created created)
Only return transactions that were created during the given date interval.
|
TransactionListParams.Builder |
setDispute(java.lang.String dispute)
Only return transactions that originate from a given dispute.
|
TransactionListParams.Builder |
setEndingBefore(java.lang.String endingBefore)
A cursor for use in pagination.
|
TransactionListParams.Builder |
setLimit(java.lang.Long limit)
A limit on the number of objects to be returned.
|
TransactionListParams.Builder |
setStartingAfter(java.lang.String startingAfter)
A cursor for use in pagination.
|
public TransactionListParams build()
public TransactionListParams.Builder setCard(java.lang.String card)
public TransactionListParams.Builder setCardholder(java.lang.String cardholder)
public TransactionListParams.Builder setCreated(TransactionListParams.Created created)
public TransactionListParams.Builder setCreated(java.lang.Long created)
public TransactionListParams.Builder setDispute(java.lang.String dispute)
public TransactionListParams.Builder setEndingBefore(java.lang.String endingBefore)
public TransactionListParams.Builder addExpand(java.lang.String element)
TransactionListParams.expand
for the field documentation.public TransactionListParams.Builder addAllExpand(java.util.List<java.lang.String> elements)
TransactionListParams.expand
for the field documentation.public TransactionListParams.Builder putExtraParam(java.lang.String key, java.lang.Object value)
TransactionListParams.extraParams
for the field documentation.public TransactionListParams.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
TransactionListParams.extraParams
for the field documentation.public TransactionListParams.Builder setLimit(java.lang.Long limit)
public TransactionListParams.Builder setStartingAfter(java.lang.String startingAfter)