Package com.stripe.param
Class AccountUpdateParams.Company.OwnershipDeclaration.Builder
- java.lang.Object
-
- com.stripe.param.AccountUpdateParams.Company.OwnershipDeclaration.Builder
-
- Enclosing class:
- AccountUpdateParams.Company.OwnershipDeclaration
public static class AccountUpdateParams.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 AccountUpdateParams.Company.OwnershipDeclaration
build()
Finalize and obtain parameter instance from this builder.AccountUpdateParams.Company.OwnershipDeclaration.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.AccountUpdateParams.Company.OwnershipDeclaration.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.AccountUpdateParams.Company.OwnershipDeclaration.Builder
setDate(java.lang.Long date)
The Unix timestamp marking when the beneficial owner attestation was made.AccountUpdateParams.Company.OwnershipDeclaration.Builder
setIp(EmptyParam ip)
The IP address from which the beneficial owner attestation was made.AccountUpdateParams.Company.OwnershipDeclaration.Builder
setIp(java.lang.String ip)
The IP address from which the beneficial owner attestation was made.AccountUpdateParams.Company.OwnershipDeclaration.Builder
setUserAgent(EmptyParam userAgent)
AccountUpdateParams.Company.OwnershipDeclaration.Builder
setUserAgent(java.lang.String userAgent)
The user agent of the browser from which the beneficial owner attestation was made.
-
-
-
Method Detail
-
build
public AccountUpdateParams.Company.OwnershipDeclaration build()
Finalize and obtain parameter instance from this builder.
-
setDate
public AccountUpdateParams.Company.OwnershipDeclaration.Builder setDate(java.lang.Long date)
The Unix timestamp marking when the beneficial owner attestation was made.
-
putExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.Company.OwnershipDeclaration.extraParams
for the field documentation.
-
putAllExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.Company.OwnershipDeclaration.extraParams
for the field documentation.
-
setIp
public AccountUpdateParams.Company.OwnershipDeclaration.Builder setIp(java.lang.String ip)
The IP address from which the beneficial owner attestation was made.
-
setIp
public AccountUpdateParams.Company.OwnershipDeclaration.Builder setIp(EmptyParam ip)
The IP address from which the beneficial owner attestation was made.
-
setUserAgent
public AccountUpdateParams.Company.OwnershipDeclaration.Builder setUserAgent(java.lang.String userAgent)
The user agent of the browser from which the beneficial owner attestation was made.
-
setUserAgent
public AccountUpdateParams.Company.OwnershipDeclaration.Builder setUserAgent(EmptyParam userAgent)
-
-