Package com.stripe.param.v2.billing
Class IntentCreateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Builder
- Enclosing class:
- IntentCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAction
(IntentCreateParams.Action element) Add an element to `actions` list.addAllAction
(List<IntentCreateParams.Action> elements) Add all elements to `actions` 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.setCadence
(String cadence) ID of an existing Cadence to use.setCurrency
(String currency) Required. Three-letter ISO currency code, in lowercase.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAction
Add an element to `actions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeIntentCreateParams.actions
for the field documentation. -
addAllAction
Add all elements to `actions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeIntentCreateParams.actions
for the field documentation. -
setCadence
ID of an existing Cadence to use. -
setCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
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. SeeIntentCreateParams.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. SeeIntentCreateParams.extraParams
for the field documentation.
-