Class: Stripe::InvoiceCreateParams::ManagedPayments

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_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.



130
131
132
# File 'lib/stripe/params/invoice_create_params.rb', line 130

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

Instance Attribute Details

#enabledObject

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



128
129
130
# File 'lib/stripe/params/invoice_create_params.rb', line 128

def enabled
  @enabled
end