Package com.stripe.param
Class TokenCreateParams.Account.Company.Builder
java.lang.Object
com.stripe.param.TokenCreateParams.Account.Company.Builder
- Enclosing class:
- TokenCreateParams.Account.Company
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.The company's primary address.The Kana variation of the company's primary address (Japan only).The Kanji variation of the company's primary address (Japan only).setDirectorsProvided
(Boolean directorsProvided) Whether the company's directors have been provided.setExecutivesProvided
(Boolean executivesProvided) Whether the company's executives have been provided.setExportLicenseId
(String exportLicenseId) The export license ID number of the company, also referred as Import Export Code (India only).setExportPurposeCode
(String exportPurposeCode) The purpose code to use for export transactions (India only).The company's legal name.setNameKana
(String nameKana) The Kana variation of the company's legal name (Japan only).setNameKanji
(String nameKanji) The Kanji variation of the company's legal name (Japan only).setOwnershipDeclaration
(TokenCreateParams.Account.Company.OwnershipDeclaration ownershipDeclaration) This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.setOwnershipDeclarationShownAndSigned
(Boolean ownershipDeclarationShownAndSigned) Whether the user described by the data in the token has been shown the Ownership Declaration and indicated that it is correct.setOwnersProvided
(Boolean ownersProvided) Whether the company's owners have been provided.The company's phone number (used for verification).setRegistrationNumber
(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.setStructure
(EmptyParam structure) The category identifying the legal structure of the company or legal entity.The category identifying the legal structure of the company or legal entity.The business ID number of the company, as appropriate for the company’s country.setTaxIdRegistrar
(String taxIdRegistrar) The jurisdiction in which thetax_id
is registered (Germany-based companies only).The VAT number of the company.Information on the verification state of the company.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
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
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. -
setExportLicenseId
The export license ID number of the company, also referred as Import Export Code (India only). -
setExportPurposeCode
The purpose code to use for export transactions (India only). -
putExtraParam
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
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
The company's legal name. -
setNameKana
The Kana variation of the company's legal name (Japan only). -
setNameKanji
The Kanji variation of the company's legal name (Japan only). -
setOwnersProvided
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. -
setOwnershipDeclaration
public TokenCreateParams.Account.Company.Builder setOwnershipDeclaration(TokenCreateParams.Account.Company.OwnershipDeclaration ownershipDeclaration) This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct. -
setOwnershipDeclarationShownAndSigned
public TokenCreateParams.Account.Company.Builder setOwnershipDeclarationShownAndSigned(Boolean ownershipDeclarationShownAndSigned) Whether the user described by the data in the token has been shown the Ownership Declaration and indicated that it is correct. -
setPhone
The company's phone number (used for verification). -
setRegistrationNumber
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. Pass an empty string to unset this value. -
setStructure
The category identifying the legal structure of the company or legal entity. See Business structure for more details. Pass an empty string to unset this value. -
setTaxId
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
The jurisdiction in which thetax_id
is registered (Germany-based companies only). -
setVatId
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.
-