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.



451
452
453
# File 'lib/stripe/params/payment_link_create_params.rb', line 451

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

Instance Attribute Details

#enabledObject

Set to true to enable Managed Payments, Stripe's merchant of record solution, for this session.



449
450
451
# File 'lib/stripe/params/payment_link_create_params.rb', line 449

def enabled
  @enabled
end