Class: Stripe::CustomerSession::CreateParams::Components::PricingTable

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/customer_session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(enabled: nil) ⇒ PricingTable

Returns a new instance of PricingTable.



131
132
133
# File 'lib/stripe/resources/customer_session.rb', line 131

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

Instance Attribute Details

#enabledObject

Whether the pricing table is enabled.



129
130
131
# File 'lib/stripe/resources/customer_session.rb', line 129

def enabled
  @enabled
end