Class: Stripe::PaymentLinkCreateParams::ConsentCollection::PaymentMethodReuseAgreement
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::ConsentCollection::PaymentMethodReuseAgreement
- Defined in:
- lib/stripe/params/payment_link_create_params.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.
69 70 71 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 69 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.
67 68 69 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 67 def position @position end |