Class: Stripe::Checkout::SessionCreateParams::BrandingSettings::Logo
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionCreateParams::BrandingSettings::Logo
- Defined in:
- lib/stripe/params/checkout/session_create_params.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
The ID of a [File upload](stripe.com/docs/api/files) representing the logo.
-
#type ⇒ Object
The type of image for the logo.
-
#url ⇒ Object
The URL of the image.
Instance Method Summary collapse
-
#initialize(file: nil, type: nil, url: nil) ⇒ Logo
constructor
A new instance of Logo.
Methods inherited from RequestParams
Constructor Details
#initialize(file: nil, type: nil, url: nil) ⇒ Logo
87 88 89 90 91 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 87 def initialize(file: nil, type: nil, url: nil) @file = file @type = type @url = url end |
Instance Attribute Details
#file ⇒ Object
The ID of a [File upload](stripe.com/docs/api/files) representing the logo. Purpose must be ‘business_logo`. Required if `type` is `file` and disallowed otherwise.
81 82 83 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 81 def file @file end |
#type ⇒ Object
The type of image for the logo. Must be one of ‘file` or `url`.
83 84 85 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 83 def type @type end |
#url ⇒ Object
The URL of the image. Required if ‘type` is `url` and disallowed otherwise.
85 86 87 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 85 def url @url end |