class

Stripe::CompanySpecs

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

ERROR_MESSAGE_FOR_STRUCTURE = "invalid value for \"structure\", must be one of [, free_zone_establishment, free_zone_llc, government_instrumentality, governmental_unit, incorporated_non_profit, incorporated_partnership, limited_liability_partnership, llc, multi_member_llc, private_company, private_corporation, private_partnership, public_company, public_corporation, public_partnership, registered_charity, single_member_llc, sole_establishment, sole_proprietorship, tax_exempt_government_instrumentality, unincorporated_association, unincorporated_non_profit, unincorporated_partnership]."
MAX_LENGTH_FOR_EXPORT_LICENSE_ID = 5000
MAX_LENGTH_FOR_EXPORT_PURPOSE_CODE = 5000
MAX_LENGTH_FOR_NAME = 100
MAX_LENGTH_FOR_NAME_KANA = 100
MAX_LENGTH_FOR_NAME_KANJI = 100
MAX_LENGTH_FOR_PHONE = 5000
MAX_LENGTH_FOR_REGISTRATION_NUMBER = 5000
MAX_LENGTH_FOR_TAX_ID = 5000
MAX_LENGTH_FOR_TAX_ID_REGISTRAR = 5000
MAX_LENGTH_FOR_VAT_ID = 5000
VALID_VALUES_FOR_STRUCTURE = String.static_array("", "free_zone_establishment", "free_zone_llc", "government_instrumentality", "governmental_unit", "incorporated_non_profit", "incorporated_partnership", "limited_liability_partnership", "llc", "multi_member_llc", "private_company", "private_corporation", "private_partnership", "public_company", "public_corporation", "public_partnership", "registered_charity", "single_member_llc", "sole_establishment", "sole_proprietorship", "tax_exempt_government_instrumentality", "unincorporated_association", "unincorporated_non_profit", "unincorporated_partnership")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, address : Stripe::LegalEntityAndKycAddressSpecs | Nil = nil, address_kana : Stripe::JapanAddressKanaSpecs | Nil = nil, address_kanji : Stripe::JapanAddressKanjiSpecs | Nil = nil, directors_provided : Bool | Nil = nil, executives_provided : Bool | Nil = nil, export_license_id : String | Nil = nil, export_purpose_code : String | Nil = nil, name : String | Nil = nil, name_kana : String | Nil = nil, name_kanji : String | Nil = nil, owners_provided : Bool | Nil = nil, ownership_declaration : Stripe::CompanyOwnershipDeclaration | Nil = nil, phone : String | Nil = nil, registration_number : String | Nil = nil, structure : String | Nil = nil, tax_id : String | Nil = nil, tax_id_registrar : String | Nil = nil, vat_id : String | Nil = nil, verification : Stripe::VerificationSpecs | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

address
Source
address=(new_value : Stripe::LegalEntityAndKycAddressSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] address Object to be assigned

Source
address_kana
Source
address_kana=(new_value : Stripe::JapanAddressKanaSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] address_kana Object to be assigned

Source
address_kanji
Source
address_kanji=(new_value : Stripe::JapanAddressKanjiSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] address_kanji Object to be assigned

Source
directors_provided

Whether the company's directors have been provided. Set this Boolean to true after creating all the company's directors with the Persons API for accounts with a relationship.director requirement. This value is not automatically set to true after creating directors, so it needs to be updated to indicate all directors have been provided.

Source
directors_provided=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] directors_provided Object to be assigned

Source
executives_provided

Whether the company's executives have been provided. Set this Boolean to true after creating all the company's executives with the Persons API for accounts with a relationship.executive requirement.

Source
executives_provided=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] executives_provided Object to be assigned

Source
export_license_id

The export license ID number of the company, also referred as Import Export Code (India only).

Source
export_license_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] export_license_id Object to be assigned

Source
export_purpose_code

The purpose code to use for export transactions (India only).

Source
export_purpose_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] export_purpose_code Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
name

The company's legal name.

Source
name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] name Object to be assigned

Source
name_kana

The Kana variation of the company's legal name (Japan only).

Source
name_kana=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] name_kana Object to be assigned

Source
name_kanji

The Kanji variation of the company's legal name (Japan only).

Source
name_kanji=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] name_kanji Object to be assigned

Source
owners_provided

Whether the company's owners have been provided. Set this Boolean to true after creating all the company's owners with the Persons API for accounts with a relationship.owner requirement.

Source
owners_provided=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] owners_provided Object to be assigned

Source
ownership_declaration
Source
ownership_declaration=(new_value : Stripe::CompanyOwnershipDeclaration | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] ownership_declaration Object to be assigned

Source
phone

The company's phone number (used for verification).

Source
phone=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] phone Object to be assigned

Source
registration_number

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).

Source
registration_number=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] registration_number Object to be assigned

Source
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.

Source
structure=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] structure Object to be assigned

Source
tax_id

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.)

Source
tax_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] tax_id Object to be assigned

Source
tax_id_registrar

The jurisdiction in which the tax_id is registered (Germany-based companies only).

Source
tax_id_registrar=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] tax_id_registrar Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
vat_id

The VAT number of the company.

Source
vat_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] vat_id Object to be assigned

Source
verification
Source
verification=(new_value : Stripe::VerificationSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] verification Object to be assigned

Source