Class: Stripe::V2::Core::AccountUpdateParams::Identity::BusinessDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_update_params.rb

Defined Under Namespace

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(address: nil, annual_revenue: nil, documents: nil, estimated_worker_count: nil, id_numbers: nil, monthly_estimated_revenue: nil, phone: nil, registered_name: nil, script_addresses: nil, script_names: nil, structure: nil) ⇒ BusinessDetails

Returns a new instance of BusinessDetails.



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1631

def initialize(
  address: nil,
  annual_revenue: nil,
  documents: nil,
  estimated_worker_count: nil,
  id_numbers: nil,
  monthly_estimated_revenue: nil,
  phone: nil,
  registered_name: nil,
  script_addresses: nil,
  script_names: nil,
  structure: nil
)
  @address = address
  @annual_revenue = annual_revenue
  @documents = documents
  @estimated_worker_count = estimated_worker_count
  @id_numbers = id_numbers
  @monthly_estimated_revenue = monthly_estimated_revenue
  @phone = phone
  @registered_name = registered_name
  @script_addresses = script_addresses
  @script_names = script_names
  @structure = structure
end

Instance Attribute Details

#addressObject

The business registration address of the business entity.



1609
1610
1611
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1609

def address
  @address
end

#annual_revenueObject

The business gross annual revenue for its preceding fiscal year.



1611
1612
1613
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1611

def annual_revenue
  @annual_revenue
end

#documentsObject

A document verifying the business.



1613
1614
1615
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1613

def documents
  @documents
end

#estimated_worker_countObject

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



1615
1616
1617
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1615

def estimated_worker_count
  @estimated_worker_count
end

#id_numbersObject

The ID numbers of a business entity.



1617
1618
1619
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1617

def id_numbers
  @id_numbers
end

#monthly_estimated_revenueObject

An estimate of the monthly revenue of the business.



1619
1620
1621
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1619

def monthly_estimated_revenue
  @monthly_estimated_revenue
end

#phoneObject

The phone number of the Business Entity.



1621
1622
1623
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1621

def phone
  @phone
end

#registered_nameObject

The business legal name.



1623
1624
1625
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1623

def registered_name
  @registered_name
end

#script_addressesObject

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



1625
1626
1627
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1625

def script_addresses
  @script_addresses
end

#script_namesObject

The business legal name in non latin script.



1627
1628
1629
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1627

def script_names
  @script_names
end

#structureObject

The category identifying the legal structure of the business.



1629
1630
1631
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1629

def structure
  @structure
end