Package com.stripe.param.v2.core
Class AccountCreateParams.Identity.Attestations.TermsOfService.Account.Builder
java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Identity.Attestations.TermsOfService.Account.Builder
- Enclosing class:
- AccountCreateParams.Identity.Attestations.TermsOfService.Account
public static class AccountCreateParams.Identity.Attestations.TermsOfService.Account.Builder
extends Object
-
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. The time when the Account's representative accepted the terms of service.Required. The IP address from which the Account's representative accepted the terms of service.setUserAgent
(String userAgent) The user agent of the browser from which the Account's representative accepted the terms of service.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDate
public AccountCreateParams.Identity.Attestations.TermsOfService.Account.Builder setDate(Instant date) Required. The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
putExtraParam
public AccountCreateParams.Identity.Attestations.TermsOfService.Account.Builder putExtraParam(String key, Object value) 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. SeeAccountCreateParams.Identity.Attestations.TermsOfService.Account.extraParams
for the field documentation. -
putAllExtraParam
public AccountCreateParams.Identity.Attestations.TermsOfService.Account.Builder putAllExtraParam(Map<String, Object> map) 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. SeeAccountCreateParams.Identity.Attestations.TermsOfService.Account.extraParams
for the field documentation. -
setIp
Required. The IP address from which the Account's representative accepted the terms of service. -
setUserAgent
public AccountCreateParams.Identity.Attestations.TermsOfService.Account.Builder setUserAgent(String userAgent) The user agent of the browser from which the Account's representative accepted the terms of service.
-