Package com.stripe.param.v2.billing
Class CadenceListParams.Builder
java.lang.Object
com.stripe.param.v2.billing.CadenceListParams.Builder
- Enclosing class:
- CadenceListParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllInclude
(List<CadenceListParams.Include> elements) Add all elements to `include` list.addAllLookupKey
(List<String> elements) Add all elements to `lookupKeys` list.addInclude
(CadenceListParams.Include element) Add an element to `include` list.addLookupKey
(String element) Add an element to `lookupKeys` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Optionally set the maximum number of results per page.setPayer
(CadenceListParams.Payer payer) If provided, only cadences that specifically reference the payer will be returned.setTestClock
(String testClock) If provided, only cadences that specifically reference the provided test clock ID (via the customer's test clock) will be returned.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeCadenceListParams.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeCadenceListParams.extraParams
for the field documentation. -
addInclude
Add an element to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCadenceListParams.include
for the field documentation. -
addAllInclude
Add all elements to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCadenceListParams.include
for the field documentation. -
setLimit
Optionally set the maximum number of results per page. Defaults to 20. -
addLookupKey
Add an element to `lookupKeys` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCadenceListParams.lookupKeys
for the field documentation. -
addAllLookupKey
Add all elements to `lookupKeys` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCadenceListParams.lookupKeys
for the field documentation. -
setPayer
If provided, only cadences that specifically reference the payer will be returned. Mutually exclusive withtest_clock
andlookup_keys
. -
setTestClock
If provided, only cadences that specifically reference the provided test clock ID (via the customer's test clock) will be returned. Mutually exclusive withpayer
.
-