Package com.stripe.param.v2.core
Class ClaimableSandboxCreateParams.Prefill.Builder
java.lang.Object
com.stripe.param.v2.core.ClaimableSandboxCreateParams.Prefill.Builder
- Enclosing class:
- ClaimableSandboxCreateParams.Prefill
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
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.Required. Country in which the account holder resides, or in which the business is legally established.Required. Email that this sandbox is meant to be claimed by.Name for the sandbox.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCountry
public ClaimableSandboxCreateParams.Prefill.Builder setCountry(ClaimableSandboxCreateParams.Prefill.Country country) Required. Country in which the account holder resides, or in which the business is legally established. Use two-letter country code (ISO 3166-1 alpha-2). -
setEmail
Required. Email that this sandbox is meant to be claimed by. Stripe will notify this email address before the sandbox expires. -
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. SeeClaimableSandboxCreateParams.Prefill.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. SeeClaimableSandboxCreateParams.Prefill.extraParams
for the field documentation. -
setName
Name for the sandbox. If not provided, this will be generated.
-