class

Stripe::LegalEntityCompany

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 = 5000
MAX_LENGTH_FOR_NAME_KANA = 5000
MAX_LENGTH_FOR_NAME_KANJI = 5000
MAX_LENGTH_FOR_PHONE = 5000
MAX_LENGTH_FOR_TAX_ID_REGISTRAR = 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::Address | Nil = nil, address_kana : Stripe::LegalEntityCompanyAddressKana | Nil = nil, address_kanji : Stripe::LegalEntityCompanyAddressKanji | 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::LegalEntityCompanyOwnershipDeclaration | Nil = nil, phone : String | Nil = nil, structure : String | Nil = nil, tax_id_provided : Bool | Nil = nil, tax_id_registrar : String | Nil = nil, vat_id_provided : Bool | Nil = nil, verification : Stripe::LegalEntityCompanyVerification1 | 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::Address | 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::LegalEntityCompanyAddressKana | Nil)

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

Source
address_kana_present=(address_kana_present : Bool)
Source
address_kana_present?
Source
address_kanji
Source
address_kanji=(new_value : Stripe::LegalEntityCompanyAddressKanji | Nil)

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

Source
address_kanji_present=(address_kanji_present : Bool)
Source
address_kanji_present?
Source
directors_provided

Whether the company's directors have been provided. This Boolean will be true if you've manually indicated that all directors are provided via the directors_provided parameter.

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. This Boolean will be true if you've manually indicated that all executives are provided via the executives_provided parameter, or if Stripe determined that sufficient executives were provided.

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_kana_present=(name_kana_present : Bool)
Source
name_kana_present?
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
name_kanji_present=(name_kanji_present : Bool)
Source
name_kanji_present?
Source
name_present=(name_present : Bool)
Source
name_present?
Source
owners_provided

Whether the company's owners have been provided. This Boolean will be true if you've manually indicated that all owners are provided via the owners_provided parameter, or if Stripe determined that sufficient owners were provided. Stripe determines ownership requirements using both the number of owners provided and their total percent ownership (calculated by adding the percent_ownership of each owner together).

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::LegalEntityCompanyOwnershipDeclaration | Nil)

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

Source
ownership_declaration_present=(ownership_declaration_present : Bool)
Source
ownership_declaration_present?
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
phone_present=(phone_present : Bool)
Source
phone_present?
Source
structure

The category identifying the legal structure of the company or legal entity. See Business structure for more details.

Source
structure=(new_value : String | Nil)

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

Source
tax_id_provided

Whether the company's business ID number was provided.

Source
tax_id_provided=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] tax_id_provided 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_provided

Whether the company's business VAT number was provided.

Source
vat_id_provided=(new_value : Bool | Nil)

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

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

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

Source
verification_present=(verification_present : Bool)
Source
verification_present?
Source