Class: Stripe::PaymentLinkCreateParams::ManagedPayments

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_link_create_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(enabled: nil) ⇒ ManagedPayments

Returns a new instance of ManagedPayments.



481
482
483
# File 'lib/stripe/params/payment_link_create_params.rb', line 481

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

Instance Attribute Details

#enabledObject

Set to ‘true` to enable [Managed Payments](docs.stripe.com/payments/managed-payments), Stripe’s merchant of record solution, for this session.



479
480
481
# File 'lib/stripe/params/payment_link_create_params.rb', line 479

def enabled
  @enabled
end