Class: Stripe::BillingPortal::Configuration::UpdateParams::BusinessProfile

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



379
380
381
382
383
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 379

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.



373
374
375
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 373

def headline
  @headline
end

#privacy_policy_urlObject

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



375
376
377
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 375

def privacy_policy_url
  @privacy_policy_url
end

#terms_of_service_urlObject

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



377
378
379
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 377

def terms_of_service_url
  @terms_of_service_url
end