Class: Stripe::DelegatedCheckout::RequestedSessionConfirmParams::AffiliateAttribution::Source

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_confirm_params.rb', line 16

def initialize(platform: nil, type: nil, url: nil)
  @platform = platform
  @type = type
  @url = url
end

Instance Attribute Details

#platformObject

The platform where the attribution originated.



10
11
12
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 10

def platform
  @platform
end

#typeObject

The type of the attribution source.



12
13
14
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 12

def type
  @type
end

#urlObject

The URL where the attribution originated.



14
15
16
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 14

def url
  @url
end