Method: Unit::Application::CreateBusinessApplicationRequest#initialize
- Defined in:
- lib/unit/models/application/create_business_application_request.rb
#initialize(name, address, phone, state_of_incorporation, ein, contact, officer, beneficial_owners, entity_type, industry = nil, dba = nil, ip = nil, website = nil, tags = nil, idempotency_key = nil, device_fingerprints = nil, annual_revenue = nil, number_of_employees = nil, cash_flow = nil, year_of_incorporation = nil, countries_of_operation = nil, stock_symbol = nil, business_vertical = nil) ⇒ CreateBusinessApplicationRequest
Returns a new instance of CreateBusinessApplicationRequest.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/unit/models/application/create_business_application_request.rb', line 36 def initialize(name, address, phone, state_of_incorporation, ein, contact, officer, beneficial_owners, entity_type, industry = nil, dba = nil, ip = nil, website = nil, = nil, idempotency_key = nil, device_fingerprints = nil, annual_revenue = nil, number_of_employees = nil, cash_flow = nil, year_of_incorporation = nil, countries_of_operation = nil, stock_symbol = nil, business_vertical = nil) @name = name @address = address @phone = phone @state_of_incorporation = state_of_incorporation @ein = ein @industry = industry @contact = contact @officer = officer @beneficial_owners = beneficial_owners.map(&:represent) @entity_type = entity_type @dba = dba @ip = ip @website = website = @idempotency_key = idempotency_key @device_fingerprints = device_fingerprints @annual_revenue = annual_revenue @number_of_employees = number_of_employees @cash_flow = cash_flow @year_of_incorporation = year_of_incorporation @countries_of_operation = countries_of_operation @stock_symbol = stock_symbol @business_vertical = business_vertical @type = "businessApplication" end |