Package com.stripe.param
Class TokenCreateParams.Account.Company.OwnershipDeclaration.Builder
- java.lang.Object
-
- com.stripe.param.TokenCreateParams.Account.Company.OwnershipDeclaration.Builder
-
- Enclosing class:
- TokenCreateParams.Account.Company.OwnershipDeclaration
public static class TokenCreateParams.Account.Company.OwnershipDeclaration.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenCreateParams.Account.Company.OwnershipDeclaration
build()
Finalize and obtain parameter instance from this builder.TokenCreateParams.Account.Company.OwnershipDeclaration.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.TokenCreateParams.Account.Company.OwnershipDeclaration.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.TokenCreateParams.Account.Company.OwnershipDeclaration.Builder
setDate(java.lang.Long date)
The Unix timestamp marking when the beneficial owner attestation was made.TokenCreateParams.Account.Company.OwnershipDeclaration.Builder
setIp(java.lang.String ip)
The IP address from which the beneficial owner attestation was made.TokenCreateParams.Account.Company.OwnershipDeclaration.Builder
setUserAgent(java.lang.String userAgent)
-
-
-
Method Detail
-
build
public TokenCreateParams.Account.Company.OwnershipDeclaration build()
Finalize and obtain parameter instance from this builder.
-
setDate
public TokenCreateParams.Account.Company.OwnershipDeclaration.Builder setDate(java.lang.Long date)
The Unix timestamp marking when the beneficial owner attestation was made.
-
putExtraParam
public TokenCreateParams.Account.Company.OwnershipDeclaration.Builder putExtraParam(java.lang.String key, java.lang.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. SeeTokenCreateParams.Account.Company.OwnershipDeclaration.extraParams
for the field documentation.
-
putAllExtraParam
public TokenCreateParams.Account.Company.OwnershipDeclaration.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeTokenCreateParams.Account.Company.OwnershipDeclaration.extraParams
for the field documentation.
-
setIp
public TokenCreateParams.Account.Company.OwnershipDeclaration.Builder setIp(java.lang.String ip)
The IP address from which the beneficial owner attestation was made.
-
setUserAgent
public TokenCreateParams.Account.Company.OwnershipDeclaration.Builder setUserAgent(java.lang.String userAgent)
-
-