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