Class: Stripe::Account::BusinessProfile
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Account::BusinessProfile
- Defined in:
- lib/stripe/resources/account.rb
Defined Under Namespace
Classes: AnnualRevenue, MonthlyEstimatedRevenue, SupportAddress
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#annual_revenue ⇒ Object
readonly
The applicant’s gross annual revenue for its preceding fiscal year.
-
#estimated_worker_count ⇒ Object
readonly
An estimated upper bound of employees, contractors, vendors, etc.
-
#mcc ⇒ Object
readonly
[The merchant category code for the account](/connect/setting-mcc).
-
#minority_owned_business_designation ⇒ Object
readonly
Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
-
#monthly_estimated_revenue ⇒ Object
readonly
Attribute for field monthly_estimated_revenue.
-
#name ⇒ Object
readonly
The customer-facing business name.
-
#product_description ⇒ Object
readonly
Internal-only description of the product sold or service provided by the business.
-
#support_address ⇒ Object
readonly
A publicly available mailing address for sending support issues to.
-
#support_email ⇒ Object
readonly
A publicly available email address for sending support issues to.
-
#support_phone ⇒ Object
readonly
A publicly available phone number to call with support issues.
-
#support_url ⇒ Object
readonly
A publicly available website for handling support issues.
-
#url ⇒ Object
readonly
The business’s publicly available website.
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?, #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
#annual_revenue ⇒ Object (readonly)
The applicant’s gross annual revenue for its preceding fiscal year.
93 94 95 |
# File 'lib/stripe/resources/account.rb', line 93 def annual_revenue @annual_revenue end |
#estimated_worker_count ⇒ Object (readonly)
An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
95 96 97 |
# File 'lib/stripe/resources/account.rb', line 95 def estimated_worker_count @estimated_worker_count end |
#mcc ⇒ Object (readonly)
[The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
97 98 99 |
# File 'lib/stripe/resources/account.rb', line 97 def mcc @mcc end |
#minority_owned_business_designation ⇒ Object (readonly)
Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
99 100 101 |
# File 'lib/stripe/resources/account.rb', line 99 def minority_owned_business_designation @minority_owned_business_designation end |
#monthly_estimated_revenue ⇒ Object (readonly)
Attribute for field monthly_estimated_revenue
101 102 103 |
# File 'lib/stripe/resources/account.rb', line 101 def monthly_estimated_revenue @monthly_estimated_revenue end |
#name ⇒ Object (readonly)
The customer-facing business name.
103 104 105 |
# File 'lib/stripe/resources/account.rb', line 103 def name @name end |
#product_description ⇒ Object (readonly)
Internal-only description of the product sold or service provided by the business. It’s used by Stripe for risk and underwriting purposes.
105 106 107 |
# File 'lib/stripe/resources/account.rb', line 105 def product_description @product_description end |
#support_address ⇒ Object (readonly)
A publicly available mailing address for sending support issues to.
107 108 109 |
# File 'lib/stripe/resources/account.rb', line 107 def support_address @support_address end |
#support_email ⇒ Object (readonly)
A publicly available email address for sending support issues to.
109 110 111 |
# File 'lib/stripe/resources/account.rb', line 109 def support_email @support_email end |
#support_phone ⇒ Object (readonly)
A publicly available phone number to call with support issues.
111 112 113 |
# File 'lib/stripe/resources/account.rb', line 111 def support_phone @support_phone end |
#support_url ⇒ Object (readonly)
A publicly available website for handling support issues.
113 114 115 |
# File 'lib/stripe/resources/account.rb', line 113 def support_url @support_url end |
#url ⇒ Object (readonly)
The business’s publicly available website.
115 116 117 |
# File 'lib/stripe/resources/account.rb', line 115 def url @url end |
Class Method Details
.field_remappings ⇒ Object
125 126 127 |
# File 'lib/stripe/resources/account.rb', line 125 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
117 118 119 120 121 122 123 |
# File 'lib/stripe/resources/account.rb', line 117 def self.inner_class_types @inner_class_types = { annual_revenue: AnnualRevenue, monthly_estimated_revenue: MonthlyEstimatedRevenue, support_address: SupportAddress, } end |