Class: Stripe::Account::Company
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Account::Company
- Defined in:
- lib/stripe/resources/account.rb
Defined Under Namespace
Classes: Address, AddressKana, AddressKanji, DirectorshipDeclaration, OwnershipDeclaration, RegistrationDate, RepresentativeDeclaration, Verification
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Attribute for field address.
-
#address_kana ⇒ Object
readonly
The Kana variation of the company's primary address (Japan only).
-
#address_kanji ⇒ Object
readonly
The Kanji variation of the company's primary address (Japan only).
-
#directors_provided ⇒ Object
readonly
Whether the company's directors have been provided.
-
#directorship_declaration ⇒ Object
readonly
This hash is used to attest that the director information provided to Stripe is both current and correct.
-
#executives_provided ⇒ Object
readonly
Whether the company's executives have been provided.
-
#export_license_id ⇒ Object
readonly
The export license ID number of the company, also referred as Import Export Code (India only).
-
#export_purpose_code ⇒ Object
readonly
The purpose code to use for export transactions (India only).
-
#name ⇒ Object
readonly
The company's legal name.
-
#name_kana ⇒ Object
readonly
The Kana variation of the company's legal name (Japan only).
-
#name_kanji ⇒ Object
readonly
The Kanji variation of the company's legal name (Japan only).
-
#owners_provided ⇒ Object
readonly
Whether the company's owners have been provided.
-
#ownership_declaration ⇒ Object
readonly
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
-
#ownership_exemption_reason ⇒ Object
readonly
This value is used to determine if a business is exempt from providing ultimate beneficial owners.
-
#phone ⇒ Object
readonly
The company's phone number (used for verification).
-
#registration_date ⇒ Object
readonly
Attribute for field registration_date.
-
#representative_declaration ⇒ Object
readonly
This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
-
#structure ⇒ Object
readonly
The category identifying the legal structure of the company or legal entity.
-
#tax_id_provided ⇒ Object
readonly
Whether the company's business ID number was provided.
-
#tax_id_registrar ⇒ Object
readonly
The jurisdiction in which the
tax_idis registered (Germany-based companies only). -
#vat_id_provided ⇒ Object
readonly
Whether the company's business VAT number was provided.
-
#verification ⇒ Object
readonly
Information on the verification state of the company.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#address ⇒ Object (readonly)
Attribute for field address
444 445 446 |
# File 'lib/stripe/resources/account.rb', line 444 def address @address end |
#address_kana ⇒ Object (readonly)
The Kana variation of the company's primary address (Japan only).
446 447 448 |
# File 'lib/stripe/resources/account.rb', line 446 def address_kana @address_kana end |
#address_kanji ⇒ Object (readonly)
The Kanji variation of the company's primary address (Japan only).
448 449 450 |
# File 'lib/stripe/resources/account.rb', line 448 def address_kanji @address_kanji end |
#directors_provided ⇒ Object (readonly)
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.
450 451 452 |
# File 'lib/stripe/resources/account.rb', line 450 def directors_provided @directors_provided end |
#directorship_declaration ⇒ Object (readonly)
This hash is used to attest that the director information provided to Stripe is both current and correct.
452 453 454 |
# File 'lib/stripe/resources/account.rb', line 452 def directorship_declaration @directorship_declaration end |
#executives_provided ⇒ Object (readonly)
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.
454 455 456 |
# File 'lib/stripe/resources/account.rb', line 454 def executives_provided @executives_provided end |
#export_license_id ⇒ Object (readonly)
The export license ID number of the company, also referred as Import Export Code (India only).
456 457 458 |
# File 'lib/stripe/resources/account.rb', line 456 def export_license_id @export_license_id end |
#export_purpose_code ⇒ Object (readonly)
The purpose code to use for export transactions (India only).
458 459 460 |
# File 'lib/stripe/resources/account.rb', line 458 def export_purpose_code @export_purpose_code end |
#name ⇒ Object (readonly)
The company's legal name. Also available for accounts where controller.requirement_collection is stripe.
460 461 462 |
# File 'lib/stripe/resources/account.rb', line 460 def name @name end |
#name_kana ⇒ Object (readonly)
The Kana variation of the company's legal name (Japan only). Also available for accounts where controller.requirement_collection is stripe.
462 463 464 |
# File 'lib/stripe/resources/account.rb', line 462 def name_kana @name_kana end |
#name_kanji ⇒ Object (readonly)
The Kanji variation of the company's legal name (Japan only). Also available for accounts where controller.requirement_collection is stripe.
464 465 466 |
# File 'lib/stripe/resources/account.rb', line 464 def name_kanji @name_kanji end |
#owners_provided ⇒ Object (readonly)
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).
466 467 468 |
# File 'lib/stripe/resources/account.rb', line 466 def owners_provided @owners_provided end |
#ownership_declaration ⇒ Object (readonly)
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
468 469 470 |
# File 'lib/stripe/resources/account.rb', line 468 def ownership_declaration @ownership_declaration end |
#ownership_exemption_reason ⇒ Object (readonly)
This value is used to determine if a business is exempt from providing ultimate beneficial owners. See this support article and changelog for more details.
470 471 472 |
# File 'lib/stripe/resources/account.rb', line 470 def ownership_exemption_reason @ownership_exemption_reason end |
#phone ⇒ Object (readonly)
The company's phone number (used for verification).
472 473 474 |
# File 'lib/stripe/resources/account.rb', line 472 def phone @phone end |
#registration_date ⇒ Object (readonly)
Attribute for field registration_date
474 475 476 |
# File 'lib/stripe/resources/account.rb', line 474 def registration_date @registration_date end |
#representative_declaration ⇒ Object (readonly)
This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
476 477 478 |
# File 'lib/stripe/resources/account.rb', line 476 def representative_declaration @representative_declaration end |
#structure ⇒ Object (readonly)
The category identifying the legal structure of the company or legal entity. Also available for accounts where controller.requirement_collection is stripe. See Business structure for more details.
478 479 480 |
# File 'lib/stripe/resources/account.rb', line 478 def structure @structure end |
#tax_id_provided ⇒ Object (readonly)
Whether the company's business ID number was provided.
480 481 482 |
# File 'lib/stripe/resources/account.rb', line 480 def tax_id_provided @tax_id_provided end |
#tax_id_registrar ⇒ Object (readonly)
The jurisdiction in which the tax_id is registered (Germany-based companies only).
482 483 484 |
# File 'lib/stripe/resources/account.rb', line 482 def tax_id_registrar @tax_id_registrar end |
#vat_id_provided ⇒ Object (readonly)
Whether the company's business VAT number was provided.
484 485 486 |
# File 'lib/stripe/resources/account.rb', line 484 def vat_id_provided @vat_id_provided end |
#verification ⇒ Object (readonly)
Information on the verification state of the company.
486 487 488 |
# File 'lib/stripe/resources/account.rb', line 486 def verification @verification end |
Class Method Details
.field_remappings ⇒ Object
501 502 503 |
# File 'lib/stripe/resources/account.rb', line 501 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
488 489 490 491 492 493 494 495 496 497 498 499 |
# File 'lib/stripe/resources/account.rb', line 488 def self.inner_class_types @inner_class_types = { address: Address, address_kana: AddressKana, address_kanji: AddressKanji, directorship_declaration: DirectorshipDeclaration, ownership_declaration: OwnershipDeclaration, registration_date: RegistrationDate, representative_declaration: RepresentativeDeclaration, verification: Verification, } end |