Package com.stripe.param
Class AccountCreateParams.Company.Builder
- java.lang.Object
-
- com.stripe.param.AccountCreateParams.Company.Builder
-
- Enclosing class:
- AccountCreateParams.Company
public static class AccountCreateParams.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 AccountCreateParams.Companybuild()Finalize and obtain parameter instance from this builder.AccountCreateParams.Company.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.AccountCreateParams.Company.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.AccountCreateParams.Company.BuildersetAddress(AccountCreateParams.Company.Address address)The company's primary address.AccountCreateParams.Company.BuildersetAddressKana(AccountCreateParams.Company.AddressKana addressKana)The Kana variation of the company's primary address (Japan only).AccountCreateParams.Company.BuildersetAddressKanji(AccountCreateParams.Company.AddressKanji addressKanji)The Kanji variation of the company's primary address (Japan only).AccountCreateParams.Company.BuildersetDirectorsProvided(java.lang.Boolean directorsProvided)Whether the company's directors have been provided.AccountCreateParams.Company.BuildersetExecutivesProvided(java.lang.Boolean executivesProvided)Whether the company's executives have been provided.AccountCreateParams.Company.BuildersetName(java.lang.String name)The company's legal name.AccountCreateParams.Company.BuildersetNameKana(java.lang.String nameKana)The Kana variation of the company's legal name (Japan only).AccountCreateParams.Company.BuildersetNameKanji(java.lang.String nameKanji)The Kanji variation of the company's legal name (Japan only).AccountCreateParams.Company.BuildersetOwnersProvided(java.lang.Boolean ownersProvided)Whether the company's owners have been provided.AccountCreateParams.Company.BuildersetPhone(java.lang.String phone)The company's phone number (used for verification).AccountCreateParams.Company.BuildersetRegistrationNumber(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.AccountCreateParams.Company.BuildersetStructure(AccountCreateParams.Company.Structure structure)The category identifying the legal structure of the company or legal entity.AccountCreateParams.Company.BuildersetStructure(EmptyParam structure)The category identifying the legal structure of the company or legal entity.AccountCreateParams.Company.BuildersetTaxId(java.lang.String taxId)The business ID number of the company, as appropriate for the company’s country.AccountCreateParams.Company.BuildersetTaxIdRegistrar(java.lang.String taxIdRegistrar)The jurisdiction in which thetax_idis registered (Germany-based companies only).AccountCreateParams.Company.BuildersetVatId(java.lang.String vatId)The VAT number of the company.AccountCreateParams.Company.BuildersetVerification(AccountCreateParams.Company.Verification verification)Information on the verification state of the company.
-
-
-
Method Detail
-
build
public AccountCreateParams.Company build()
Finalize and obtain parameter instance from this builder.
-
setAddress
public AccountCreateParams.Company.Builder setAddress(AccountCreateParams.Company.Address address)
The company's primary address.
-
setAddressKana
public AccountCreateParams.Company.Builder setAddressKana(AccountCreateParams.Company.AddressKana addressKana)
The Kana variation of the company's primary address (Japan only).
-
setAddressKanji
public AccountCreateParams.Company.Builder setAddressKanji(AccountCreateParams.Company.AddressKanji addressKanji)
The Kanji variation of the company's primary address (Japan only).
-
setDirectorsProvided
public AccountCreateParams.Company.Builder setDirectorsProvided(java.lang.Boolean directorsProvided)
Whether the company's directors have been provided. Set this Boolean totrueafter creating all the company's directors with the Persons API for accounts with arelationship.directorrequirement. This value is not automatically set totrueafter creating directors, so it needs to be updated to indicate all directors have been provided.
-
setExecutivesProvided
public AccountCreateParams.Company.Builder setExecutivesProvided(java.lang.Boolean executivesProvided)
Whether the company's executives have been provided. Set this Boolean totrueafter creating all the company's executives with the Persons API for accounts with arelationship.executiverequirement.
-
putExtraParam
public AccountCreateParams.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. SeeAccountCreateParams.Company.extraParamsfor the field documentation.
-
putAllExtraParam
public AccountCreateParams.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. SeeAccountCreateParams.Company.extraParamsfor the field documentation.
-
setName
public AccountCreateParams.Company.Builder setName(java.lang.String name)
The company's legal name.
-
setNameKana
public AccountCreateParams.Company.Builder setNameKana(java.lang.String nameKana)
The Kana variation of the company's legal name (Japan only).
-
setNameKanji
public AccountCreateParams.Company.Builder setNameKanji(java.lang.String nameKanji)
The Kanji variation of the company's legal name (Japan only).
-
setOwnersProvided
public AccountCreateParams.Company.Builder setOwnersProvided(java.lang.Boolean ownersProvided)
Whether the company's owners have been provided. Set this Boolean totrueafter creating all the company's owners with the Persons API for accounts with arelationship.ownerrequirement.
-
setPhone
public AccountCreateParams.Company.Builder setPhone(java.lang.String phone)
The company's phone number (used for verification).
-
setRegistrationNumber
public AccountCreateParams.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 AccountCreateParams.Company.Builder setStructure(AccountCreateParams.Company.Structure structure)
The category identifying the legal structure of the company or legal entity. See Business structure for more details.
-
setStructure
public AccountCreateParams.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 AccountCreateParams.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 AccountCreateParams.Company.Builder setTaxIdRegistrar(java.lang.String taxIdRegistrar)
The jurisdiction in which thetax_idis registered (Germany-based companies only).
-
setVatId
public AccountCreateParams.Company.Builder setVatId(java.lang.String vatId)
The VAT number of the company.
-
setVerification
public AccountCreateParams.Company.Builder setVerification(AccountCreateParams.Company.Verification verification)
Information on the verification state of the company.
-
-