Class: Stripe::DelegatedCheckout::RequestedSessionCreateParams::AffiliateAttribution::Source
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionCreateParams::AffiliateAttribution::Source
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_create_params.rb
Instance Attribute Summary collapse
-
#platform ⇒ Object
The platform where the attribution originated.
-
#type ⇒ Object
The type of the attribution source.
-
#url ⇒ Object
The URL where the attribution originated.
Instance Method Summary collapse
-
#initialize(platform: nil, type: nil, url: nil) ⇒ Source
constructor
A new instance of Source.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(platform: nil, type: nil, url: nil) ⇒ Source
Returns a new instance of Source.
16 17 18 19 20 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 16 def initialize(platform: nil, type: nil, url: nil) @platform = platform @type = type @url = url end |
Instance Attribute Details
#platform ⇒ Object
The platform where the attribution originated.
10 11 12 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 10 def platform @platform end |
#type ⇒ Object
The type of the attribution source.
12 13 14 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 12 def type @type end |
#url ⇒ Object
The URL where the attribution originated.
14 15 16 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 14 def url @url end |