Class: Stripe::V2::Core::Account::Identity::BusinessDetails

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/v2/core/account.rb

Defined Under Namespace

Classes: Address, AnnualRevenue, Documents, IdNumber, MonthlyEstimatedRevenue, ScriptAddresses, ScriptNames

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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?, #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

#addressObject (readonly)

The company’s primary address.



2813
2814
2815
# File 'lib/stripe/resources/v2/core/account.rb', line 2813

def address
  @address
end

#annual_revenueObject (readonly)

The business gross annual revenue for its preceding fiscal year.



2815
2816
2817
# File 'lib/stripe/resources/v2/core/account.rb', line 2815

def annual_revenue
  @annual_revenue
end

#documentsObject (readonly)

Documents that may be submitted to satisfy various informational requests.



2817
2818
2819
# File 'lib/stripe/resources/v2/core/account.rb', line 2817

def documents
  @documents
end

#estimated_worker_countObject (readonly)

Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).



2819
2820
2821
# File 'lib/stripe/resources/v2/core/account.rb', line 2819

def estimated_worker_count
  @estimated_worker_count
end

#id_numbersObject (readonly)

The provided ID numbers of a business entity.



2821
2822
2823
# File 'lib/stripe/resources/v2/core/account.rb', line 2821

def id_numbers
  @id_numbers
end

#monthly_estimated_revenueObject (readonly)

An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.



2823
2824
2825
# File 'lib/stripe/resources/v2/core/account.rb', line 2823

def monthly_estimated_revenue
  @monthly_estimated_revenue
end

#phoneObject (readonly)

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



2825
2826
2827
# File 'lib/stripe/resources/v2/core/account.rb', line 2825

def phone
  @phone
end

#registered_nameObject (readonly)

The business legal name.



2827
2828
2829
# File 'lib/stripe/resources/v2/core/account.rb', line 2827

def registered_name
  @registered_name
end

#script_addressesObject (readonly)

The business registration address of the business entity in non latin script.



2829
2830
2831
# File 'lib/stripe/resources/v2/core/account.rb', line 2829

def script_addresses
  @script_addresses
end

#script_namesObject (readonly)

The business legal name in non latin script.



2831
2832
2833
# File 'lib/stripe/resources/v2/core/account.rb', line 2831

def script_names
  @script_names
end

#structureObject (readonly)

The category identifying the legal structure of the business.



2833
2834
2835
# File 'lib/stripe/resources/v2/core/account.rb', line 2833

def structure
  @structure
end

Class Method Details

.field_remappingsObject



2847
2848
2849
# File 'lib/stripe/resources/v2/core/account.rb', line 2847

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
# File 'lib/stripe/resources/v2/core/account.rb', line 2835

def self.inner_class_types
  @inner_class_types = {
    address: Address,
    annual_revenue: AnnualRevenue,
    documents: Documents,
    id_numbers: IdNumber,
    monthly_estimated_revenue: MonthlyEstimatedRevenue,
    script_addresses: ScriptAddresses,
    script_names: ScriptNames,
  }
end