Class: Stripe::DelegatedCheckout::RequestedSessionConfirmParams::BuyerConsents

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

Defined Under Namespace

Classes: Marketing

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(marketing: nil) ⇒ BuyerConsents

Returns a new instance of BuyerConsents.



95
96
97
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 95

def initialize(marketing: nil)
  @marketing = marketing
end

Instance Attribute Details

#marketingObject

The marketing consent data for the buyer.



93
94
95
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 93

def marketing
  @marketing
end