Class: Stripe::AccountService::CreateParams::BusinessProfile

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_service.rb

Defined Under Namespace

Classes: AnnualRevenue, MonthlyEstimatedRevenue, SupportAddress

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(annual_revenue: nil, estimated_worker_count: nil, mcc: nil, monthly_estimated_revenue: nil, name: nil, product_description: nil, support_address: nil, support_email: nil, support_phone: nil, support_url: nil, url: nil) ⇒ BusinessProfile

Returns a new instance of BusinessProfile.



2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
# File 'lib/stripe/services/account_service.rb', line 2130

def initialize(
  annual_revenue: nil,
  estimated_worker_count: nil,
  mcc: nil,
  monthly_estimated_revenue: nil,
  name: nil,
  product_description: nil,
  support_address: nil,
  support_email: nil,
  support_phone: nil,
  support_url: nil,
  url: nil
)
  @annual_revenue = annual_revenue
  @estimated_worker_count = estimated_worker_count
  @mcc = mcc
  @monthly_estimated_revenue = monthly_estimated_revenue
  @name = name
  @product_description = product_description
  @support_address = support_address
  @support_email = support_email
  @support_phone = support_phone
  @support_url = support_url
  @url = url
end

Instance Attribute Details

#annual_revenueObject

The applicant’s gross annual revenue for its preceding fiscal year.



2108
2109
2110
# File 'lib/stripe/services/account_service.rb', line 2108

def annual_revenue
  @annual_revenue
end

#estimated_worker_countObject

An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.



2110
2111
2112
# File 'lib/stripe/services/account_service.rb', line 2110

def estimated_worker_count
  @estimated_worker_count
end

#mccObject

[The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.



2112
2113
2114
# File 'lib/stripe/services/account_service.rb', line 2112

def mcc
  @mcc
end

#monthly_estimated_revenueObject

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



2114
2115
2116
# File 'lib/stripe/services/account_service.rb', line 2114

def monthly_estimated_revenue
  @monthly_estimated_revenue
end

#nameObject

The customer-facing business name.



2116
2117
2118
# File 'lib/stripe/services/account_service.rb', line 2116

def name
  @name
end

#product_descriptionObject

Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.



2118
2119
2120
# File 'lib/stripe/services/account_service.rb', line 2118

def product_description
  @product_description
end

#support_addressObject

A publicly available mailing address for sending support issues to.



2120
2121
2122
# File 'lib/stripe/services/account_service.rb', line 2120

def support_address
  @support_address
end

#support_emailObject

A publicly available email address for sending support issues to.



2122
2123
2124
# File 'lib/stripe/services/account_service.rb', line 2122

def support_email
  @support_email
end

#support_phoneObject

A publicly available phone number to call with support issues.



2124
2125
2126
# File 'lib/stripe/services/account_service.rb', line 2124

def support_phone
  @support_phone
end

#support_urlObject

A publicly available website for handling support issues.



2126
2127
2128
# File 'lib/stripe/services/account_service.rb', line 2126

def support_url
  @support_url
end

#urlObject

The business’s publicly available website.



2128
2129
2130
# File 'lib/stripe/services/account_service.rb', line 2128

def url
  @url
end