class Stripe::ConnectJsAccountTokenCompanySpecs
- Stripe::ConnectJsAccountTokenCompanySpecs
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/connect_js_account_token_company_specs.crConstant Summary
-
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 : JSON::PullParser)
-
.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, ownership_declaration_shown_and_signed : Bool | 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
Instance Method Summary
-
#==(other : self)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #address : Stripe::LegalEntityAndKycAddressSpecs | Nil
-
#address=(new_value : Stripe::LegalEntityAndKycAddressSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #address_kana : Stripe::JapanAddressKanaSpecs | Nil
-
#address_kana=(new_value : Stripe::JapanAddressKanaSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #address_kanji : Stripe::JapanAddressKanjiSpecs | Nil
-
#address_kanji=(new_value : Stripe::JapanAddressKanjiSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
- #directors_provided : Bool | Nil
-
#directors_provided=(new_value : Bool | Nil)
Custom attribute writer method checking allowed values (enum).
- #executives_provided : Bool | Nil
-
#executives_provided=(new_value : Bool | Nil)
Custom attribute writer method checking allowed values (enum).
- #export_license_id : String | Nil
-
#export_license_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #export_purpose_code : String | Nil
-
#export_purpose_code=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #name : String | Nil
-
#name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #name_kana : String | Nil
-
#name_kana=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #name_kanji : String | Nil
-
#name_kanji=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #owners_provided : Bool | Nil
-
#owners_provided=(new_value : Bool | Nil)
Custom attribute writer method checking allowed values (enum).
- #ownership_declaration : Stripe::CompanyOwnershipDeclaration | Nil
-
#ownership_declaration=(new_value : Stripe::CompanyOwnershipDeclaration | Nil)
Custom attribute writer method checking allowed values (enum).
- #ownership_declaration_shown_and_signed : Bool | Nil
-
#ownership_declaration_shown_and_signed=(new_value : Bool | Nil)
Custom attribute writer method checking allowed values (enum).
- #phone : String | Nil
-
#phone=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #registration_number : String | Nil
-
#registration_number=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #structure : String | Nil
-
#structure=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #tax_id : String | Nil
-
#tax_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #tax_id_registrar : String | Nil
-
#tax_id_registrar=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
-
#valid? : Bool
Check to see if the all the properties in the model are valid @return true if the model is valid
- #vat_id : String | Nil
-
#vat_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #verification : Stripe::VerificationSpecs | Nil
-
#verification=(new_value : Stripe::VerificationSpecs | Nil)
Custom attribute writer method checking allowed values (enum).
Instance methods inherited from module OpenApi::Json
after_initialize
after_initialize,
clone
clone,
eql?(o : self)
eql?,
to_hash : Hash(String, JSON::Any)
to_hash,
to_json_any : JSON::Any
to_json_any
Class methods inherited from module OpenApi::Json
build_from_hash(hash : Hash)
build_from_hash,
build_from_json_any(json_any : JSON::Any)
build_from_json_any
Instance methods inherited from module OpenApi::Validatable
list_invalid_properties : Array(String)
list_invalid_properties,
list_invalid_properties_for(key : String) : Array(String)
list_invalid_properties_for,
valid? : Bool
valid?,
validate : Nil
validate
Constructor Detail
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] address Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_kana Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_kanji Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] directors_provided Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] executives_provided Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] export_license_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] export_purpose_code Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] name_kana Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] name_kanji Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] owners_provided Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ownership_declaration Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] ownership_declaration_shown_and_signed Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] phone Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] registration_number Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] structure Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_id_registrar Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid
Custom attribute writer method checking allowed values (enum). @param [Object] vat_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] verification Object to be assigned