Package com.stripe.param
Class TokenCreateParams.Account.Company.Builder
- java.lang.Object
-
- com.stripe.param.TokenCreateParams.Account.Company.Builder
-
- Enclosing class:
- TokenCreateParams.Account.Company
public static class TokenCreateParams.Account.Company.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
build()
Finalize and obtain parameter instance from this builder.TokenCreateParams.Account.Company.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.TokenCreateParams.Account.Company.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.TokenCreateParams.Account.Company.Builder
setAddress(TokenCreateParams.Account.Company.Address address)
The company's primary address.TokenCreateParams.Account.Company.Builder
setAddressKana(TokenCreateParams.Account.Company.AddressKana addressKana)
The Kana variation of the company's primary address (Japan only).TokenCreateParams.Account.Company.Builder
setAddressKanji(TokenCreateParams.Account.Company.AddressKanji addressKanji)
The Kanji variation of the company's primary address (Japan only).TokenCreateParams.Account.Company.Builder
setDirectorsProvided(java.lang.Boolean directorsProvided)
Whether the company's directors have been provided.TokenCreateParams.Account.Company.Builder
setExecutivesProvided(java.lang.Boolean executivesProvided)
Whether the company's executives have been provided.TokenCreateParams.Account.Company.Builder
setName(java.lang.String name)
The company's legal name.TokenCreateParams.Account.Company.Builder
setNameKana(java.lang.String nameKana)
The Kana variation of the company's legal name (Japan only).TokenCreateParams.Account.Company.Builder
setNameKanji(java.lang.String nameKanji)
The Kanji variation of the company's legal name (Japan only).TokenCreateParams.Account.Company.Builder
setOwnersProvided(java.lang.Boolean ownersProvided)
Whether the company's owners have been provided.TokenCreateParams.Account.Company.Builder
setPhone(java.lang.String phone)
The company's phone number (used for verification).TokenCreateParams.Account.Company.Builder
setRegistrationNumber(java.lang.String registrationNumber)
The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes.TokenCreateParams.Account.Company.Builder
setStructure(EmptyParam structure)
The category identifying the legal structure of the company or legal entity.TokenCreateParams.Account.Company.Builder
setStructure(TokenCreateParams.Account.Company.Structure structure)
The category identifying the legal structure of the company or legal entity.TokenCreateParams.Account.Company.Builder
setTaxId(java.lang.String taxId)
The business ID number of the company, as appropriate for the company’s country.TokenCreateParams.Account.Company.Builder
setTaxIdRegistrar(java.lang.String taxIdRegistrar)
The jurisdiction in which thetax_id
is registered (Germany-based companies only).TokenCreateParams.Account.Company.Builder
setVatId(java.lang.String vatId)
The VAT number of the company.TokenCreateParams.Account.Company.Builder
setVerification(TokenCreateParams.Account.Company.Verification verification)
Information on the verification state of the company.
-
-
-
Method Detail
-
build
public TokenCreateParams.Account.Company build()
Finalize and obtain parameter instance from this builder.
-
setAddress
public TokenCreateParams.Account.Company.Builder setAddress(TokenCreateParams.Account.Company.Address address)
The company's primary address.
-
setAddressKana
public TokenCreateParams.Account.Company.Builder setAddressKana(TokenCreateParams.Account.Company.AddressKana addressKana)
The Kana variation of the company's primary address (Japan only).
-
setAddressKanji
public TokenCreateParams.Account.Company.Builder setAddressKanji(TokenCreateParams.Account.Company.AddressKanji addressKanji)
The Kanji variation of the company's primary address (Japan only).
-
setDirectorsProvided
public TokenCreateParams.Account.Company.Builder setDirectorsProvided(java.lang.Boolean directorsProvided)
Whether the company's directors have been provided. Set this Boolean totrue
after creating all the company's directors with the Persons API for accounts with arelationship.director
requirement. This value is not automatically set totrue
after creating directors, so it needs to be updated to indicate all directors have been provided.
-
setExecutivesProvided
public TokenCreateParams.Account.Company.Builder setExecutivesProvided(java.lang.Boolean executivesProvided)
Whether the company's executives have been provided. Set this Boolean totrue
after creating all the company's executives with the Persons API for accounts with arelationship.executive
requirement.
-
putExtraParam
public TokenCreateParams.Account.Company.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.extraParams
for the field documentation.
-
putAllExtraParam
public TokenCreateParams.Account.Company.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.extraParams
for the field documentation.
-
setName
public TokenCreateParams.Account.Company.Builder setName(java.lang.String name)
The company's legal name.
-
setNameKana
public TokenCreateParams.Account.Company.Builder setNameKana(java.lang.String nameKana)
The Kana variation of the company's legal name (Japan only).
-
setNameKanji
public TokenCreateParams.Account.Company.Builder setNameKanji(java.lang.String nameKanji)
The Kanji variation of the company's legal name (Japan only).
-
setOwnersProvided
public TokenCreateParams.Account.Company.Builder setOwnersProvided(java.lang.Boolean ownersProvided)
Whether the company's owners have been provided. Set this Boolean totrue
after creating all the company's owners with the Persons API for accounts with arelationship.owner
requirement.
-
setPhone
public TokenCreateParams.Account.Company.Builder setPhone(java.lang.String phone)
The company's phone number (used for verification).
-
setRegistrationNumber
public TokenCreateParams.Account.Company.Builder setRegistrationNumber(java.lang.String registrationNumber)
The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
-
setStructure
public TokenCreateParams.Account.Company.Builder setStructure(TokenCreateParams.Account.Company.Structure structure)
The category identifying the legal structure of the company or legal entity. See Business structure for more details.
-
setStructure
public TokenCreateParams.Account.Company.Builder setStructure(EmptyParam structure)
The category identifying the legal structure of the company or legal entity. See Business structure for more details.
-
setTaxId
public TokenCreateParams.Account.Company.Builder setTaxId(java.lang.String taxId)
The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
-
setTaxIdRegistrar
public TokenCreateParams.Account.Company.Builder setTaxIdRegistrar(java.lang.String taxIdRegistrar)
The jurisdiction in which thetax_id
is registered (Germany-based companies only).
-
setVatId
public TokenCreateParams.Account.Company.Builder setVatId(java.lang.String vatId)
The VAT number of the company.
-
setVerification
public TokenCreateParams.Account.Company.Builder setVerification(TokenCreateParams.Account.Company.Verification verification)
Information on the verification state of the company.
-
-