Class: Stripe::BillingPortal::ConfigurationCreateParams::BusinessProfile

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/billing_portal/configuration_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(headline: nil, privacy_policy_url: nil, terms_of_service_url: nil) ⇒ BusinessProfile

Returns a new instance of BusinessProfile.



15
16
17
18
19
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 15

def initialize(headline: nil, privacy_policy_url: nil, terms_of_service_url: nil)
  @headline = headline
  @privacy_policy_url = privacy_policy_url
  @terms_of_service_url = terms_of_service_url
end

Instance Attribute Details

#headlineObject

The messaging shown to customers in the portal.



9
10
11
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 9

def headline
  @headline
end

#privacy_policy_urlObject

A link to the business’s publicly available privacy policy.



11
12
13
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 11

def privacy_policy_url
  @privacy_policy_url
end

#terms_of_service_urlObject

A link to the business’s publicly available terms of service.



13
14
15
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 13

def terms_of_service_url
  @terms_of_service_url
end