class

Stripe::BusinessProfileSpecs

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

MAX_LENGTH_FOR_MCC = 4
MAX_LENGTH_FOR_NAME = 5000
MAX_LENGTH_FOR_PRODUCT_DESCRIPTION = 40000
MAX_LENGTH_FOR_SUPPORT_PHONE = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, annual_revenue : Stripe::AnnualRevenueSpecs | Nil = nil, estimated_worker_count : Int64 | Nil = nil, mcc : String | Nil = nil, monthly_estimated_revenue : Stripe::MonthlyEstimatedRevenueSpecs | Nil = nil, name : String | Nil = nil, product_description : String | Nil = nil, support_address : Stripe::AddressSpecs | Nil = nil, support_email : String | Nil = nil, support_phone : String | Nil = nil, support_url : Stripe::BusinessProfileSpecsSupportUrl | Nil = nil, url : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

annual_revenue
Source
annual_revenue=(new_value : Stripe::AnnualRevenueSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] annual_revenue Object to be assigned

Source
estimated_worker_count

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

Source
estimated_worker_count=(new_value : Int64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] estimated_worker_count Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
mcc

The merchant category code for the account. MCCs are used to classify businesses based on the goods or services they provide.

Source
mcc=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] mcc Object to be assigned

Source
monthly_estimated_revenue
Source
monthly_estimated_revenue=(new_value : Stripe::MonthlyEstimatedRevenueSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] monthly_estimated_revenue Object to be assigned

Source
name

The customer-facing business name.

Source
name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] name Object to be assigned

Source
product_description

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

Source
product_description=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] product_description Object to be assigned

Source
support_address
Source
support_address=(new_value : Stripe::AddressSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] support_address Object to be assigned

Source
support_email

A publicly available email address for sending support issues to.

Source
support_email=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] support_email Object to be assigned

Source
support_phone

A publicly available phone number to call with support issues.

Source
support_phone=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] support_phone Object to be assigned

Source
support_url
Source
support_url=(new_value : Stripe::BusinessProfileSpecsSupportUrl | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] support_url Object to be assigned

Source
url

The business's publicly available website.

Source
url=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] url Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source