Class: Stripe::Checkout::Session::CreateParams::ConsentCollection::PaymentMethodReuseAgreement
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::Session::CreateParams::ConsentCollection::PaymentMethodReuseAgreement
- Defined in:
- lib/stripe/resources/checkout/session.rb
Instance Attribute Summary collapse
-
#position ⇒ Object
Determines the position and visibility of the payment method reuse agreement in the UI.
Instance Method Summary collapse
-
#initialize(position: nil) ⇒ PaymentMethodReuseAgreement
constructor
A new instance of PaymentMethodReuseAgreement.
Methods inherited from RequestParams
Constructor Details
#initialize(position: nil) ⇒ PaymentMethodReuseAgreement
Returns a new instance of PaymentMethodReuseAgreement.
1153 1154 1155 |
# File 'lib/stripe/resources/checkout/session.rb', line 1153 def initialize(position: nil) @position = position end |
Instance Attribute Details
#position ⇒ Object
Determines the position and visibility of the payment method reuse agreement in the UI. When set to ‘auto`, Stripe’s defaults will be used. When set to ‘hidden`, the payment method reuse agreement text will always be hidden in the UI.
1151 1152 1153 |
# File 'lib/stripe/resources/checkout/session.rb', line 1151 def position @position end |