Package com.stripe.param
Class AccountUpdateParams.Company.Builder
- java.lang.Object
-
- com.stripe.param.AccountUpdateParams.Company.Builder
-
- Enclosing class:
- AccountUpdateParams.Company
public static class AccountUpdateParams.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 AccountUpdateParams.Company
build()
Finalize and obtain parameter instance from this builder.AccountUpdateParams.Company.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.AccountUpdateParams.Company.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.AccountUpdateParams.Company.Builder
setAddress(AccountUpdateParams.Company.Address address)
The company's primary address.AccountUpdateParams.Company.Builder
setAddressKana(AccountUpdateParams.Company.AddressKana addressKana)
The Kana variation of the company's primary address (Japan only).AccountUpdateParams.Company.Builder
setAddressKanji(AccountUpdateParams.Company.AddressKanji addressKanji)
The Kanji variation of the company's primary address (Japan only).AccountUpdateParams.Company.Builder
setDirectorsProvided(java.lang.Boolean directorsProvided)
Whether the company's directors have been provided.AccountUpdateParams.Company.Builder
setExecutivesProvided(java.lang.Boolean executivesProvided)
Whether the company's executives have been provided.AccountUpdateParams.Company.Builder
setName(EmptyParam name)
The company's legal name.AccountUpdateParams.Company.Builder
setName(java.lang.String name)
The company's legal name.AccountUpdateParams.Company.Builder
setNameKana(EmptyParam nameKana)
The Kana variation of the company's legal name (Japan only).AccountUpdateParams.Company.Builder
setNameKana(java.lang.String nameKana)
The Kana variation of the company's legal name (Japan only).AccountUpdateParams.Company.Builder
setNameKanji(EmptyParam nameKanji)
The Kanji variation of the company's legal name (Japan only).AccountUpdateParams.Company.Builder
setNameKanji(java.lang.String nameKanji)
The Kanji variation of the company's legal name (Japan only).AccountUpdateParams.Company.Builder
setOwnersProvided(java.lang.Boolean ownersProvided)
Whether the company's owners have been provided.AccountUpdateParams.Company.Builder
setPhone(EmptyParam phone)
The company's phone number (used for verification).AccountUpdateParams.Company.Builder
setPhone(java.lang.String phone)
The company's phone number (used for verification).AccountUpdateParams.Company.Builder
setRegistrationNumber(EmptyParam registrationNumber)
The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes.AccountUpdateParams.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.AccountUpdateParams.Company.Builder
setStructure(AccountUpdateParams.Company.Structure structure)
The category identifying the legal structure of the company or legal entity.AccountUpdateParams.Company.Builder
setStructure(EmptyParam structure)
The category identifying the legal structure of the company or legal entity.AccountUpdateParams.Company.Builder
setTaxId(EmptyParam taxId)
The business ID number of the company, as appropriate for the company’s country.AccountUpdateParams.Company.Builder
setTaxId(java.lang.String taxId)
The business ID number of the company, as appropriate for the company’s country.AccountUpdateParams.Company.Builder
setTaxIdRegistrar(EmptyParam taxIdRegistrar)
The jurisdiction in which thetax_id
is registered (Germany-based companies only).AccountUpdateParams.Company.Builder
setTaxIdRegistrar(java.lang.String taxIdRegistrar)
The jurisdiction in which thetax_id
is registered (Germany-based companies only).AccountUpdateParams.Company.Builder
setVatId(EmptyParam vatId)
The VAT number of the company.AccountUpdateParams.Company.Builder
setVatId(java.lang.String vatId)
The VAT number of the company.AccountUpdateParams.Company.Builder
setVerification(AccountUpdateParams.Company.Verification verification)
Information on the verification state of the company.
-
-
-
Method Detail
-
build
public AccountUpdateParams.Company build()
Finalize and obtain parameter instance from this builder.
-
setAddress
public AccountUpdateParams.Company.Builder setAddress(AccountUpdateParams.Company.Address address)
The company's primary address.
-
setAddressKana
public AccountUpdateParams.Company.Builder setAddressKana(AccountUpdateParams.Company.AddressKana addressKana)
The Kana variation of the company's primary address (Japan only).
-
setAddressKanji
public AccountUpdateParams.Company.Builder setAddressKanji(AccountUpdateParams.Company.AddressKanji addressKanji)
The Kanji variation of the company's primary address (Japan only).
-
setDirectorsProvided
public AccountUpdateParams.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 AccountUpdateParams.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 AccountUpdateParams.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. SeeAccountUpdateParams.Company.extraParams
for the field documentation.
-
putAllExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.Company.extraParams
for the field documentation.
-
setName
public AccountUpdateParams.Company.Builder setName(java.lang.String name)
The company's legal name.
-
setName
public AccountUpdateParams.Company.Builder setName(EmptyParam name)
The company's legal name.
-
setNameKana
public AccountUpdateParams.Company.Builder setNameKana(java.lang.String nameKana)
The Kana variation of the company's legal name (Japan only).
-
setNameKana
public AccountUpdateParams.Company.Builder setNameKana(EmptyParam nameKana)
The Kana variation of the company's legal name (Japan only).
-
setNameKanji
public AccountUpdateParams.Company.Builder setNameKanji(java.lang.String nameKanji)
The Kanji variation of the company's legal name (Japan only).
-
setNameKanji
public AccountUpdateParams.Company.Builder setNameKanji(EmptyParam nameKanji)
The Kanji variation of the company's legal name (Japan only).
-
setOwnersProvided
public AccountUpdateParams.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 AccountUpdateParams.Company.Builder setPhone(java.lang.String phone)
The company's phone number (used for verification).
-
setPhone
public AccountUpdateParams.Company.Builder setPhone(EmptyParam phone)
The company's phone number (used for verification).
-
setRegistrationNumber
public AccountUpdateParams.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).
-
setRegistrationNumber
public AccountUpdateParams.Company.Builder setRegistrationNumber(EmptyParam 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 AccountUpdateParams.Company.Builder setStructure(AccountUpdateParams.Company.Structure structure)
The category identifying the legal structure of the company or legal entity. See Business structure for more details.
-
setStructure
public AccountUpdateParams.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 AccountUpdateParams.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.)
-
setTaxId
public AccountUpdateParams.Company.Builder setTaxId(EmptyParam 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 AccountUpdateParams.Company.Builder setTaxIdRegistrar(java.lang.String taxIdRegistrar)
The jurisdiction in which thetax_id
is registered (Germany-based companies only).
-
setTaxIdRegistrar
public AccountUpdateParams.Company.Builder setTaxIdRegistrar(EmptyParam taxIdRegistrar)
The jurisdiction in which thetax_id
is registered (Germany-based companies only).
-
setVatId
public AccountUpdateParams.Company.Builder setVatId(java.lang.String vatId)
The VAT number of the company.
-
setVatId
public AccountUpdateParams.Company.Builder setVatId(EmptyParam vatId)
The VAT number of the company.
-
setVerification
public AccountUpdateParams.Company.Builder setVerification(AccountUpdateParams.Company.Verification verification)
Information on the verification state of the company.
-
-