Package com.stripe.param.v2.billing
Class CadenceUpdateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.CadenceUpdateParams.Builder
- Enclosing class:
- CadenceUpdateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllInclude
(List<CadenceUpdateParams.Include> elements) Add all elements to `include` list.addInclude
(CadenceUpdateParams.Include element) Add an element to `include` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata
(Map<String, Object> map) Add all map key/value pairs to `metadata` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata
(String key, EmptyParam value) Add a key/value pair to `metadata` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.The payer determines the entity financially responsible for the bill.setSettings
(CadenceUpdateParams.Settings settings) The settings associated with the cadence.
-
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. SeeCadenceUpdateParams.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. SeeCadenceUpdateParams.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. SeeCadenceUpdateParams.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. SeeCadenceUpdateParams.include
for the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeCadenceUpdateParams.metadata
for the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeCadenceUpdateParams.metadata
for the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. Map values can only be one of the following types: `String`, `EmptyParam`. SeeCadenceUpdateParams.metadata
for the field documentation. -
setPayer
The payer determines the entity financially responsible for the bill. -
setSettings
The settings associated with the cadence.
-