Package com.stripe.param.v2.billing
Class CadenceCreateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.CadenceCreateParams.Builder
- Enclosing class:
- CadenceCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllInclude
(List<CadenceCreateParams.Include> elements) Add all elements to `include` list.addInclude
(CadenceCreateParams.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, String> 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, String value) Add a key/value pair to `metadata` map.setBillingCycle
(CadenceCreateParams.BillingCycle billingCycle) Required. The billing cycle is the object that defines future billing cycle dates.Required. The payer determines the entity financially responsible for the bill.setSettings
(CadenceCreateParams.Settings settings) The settings associated with the cadence.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingCycle
Required. The billing cycle is the object that defines future billing cycle dates. -
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. SeeCadenceCreateParams.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. SeeCadenceCreateParams.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. SeeCadenceCreateParams.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. SeeCadenceCreateParams.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. SeeCadenceCreateParams.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. SeeCadenceCreateParams.metadata
for the field documentation. -
setPayer
Required. The payer determines the entity financially responsible for the bill. -
setSettings
The settings associated with the cadence.
-