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.



466
467
468
# File 'lib/stripe/params/payment_link_create_params.rb', line 466

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.



464
465
466
# File 'lib/stripe/params/payment_link_create_params.rb', line 464

def enabled
  @enabled
end