Class: Stripe::BillingPortal::ConfigurationService::CreateParams::BusinessProfile

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/billing_portal/configuration_service.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.



47
48
49
50
51
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 47

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.



41
42
43
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 41

def headline
  @headline
end

#privacy_policy_urlObject

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



43
44
45
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 43

def privacy_policy_url
  @privacy_policy_url
end

#terms_of_service_urlObject

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



45
46
47
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 45

def terms_of_service_url
  @terms_of_service_url
end