Class: Stripe::CustomerSessionCreateParams::Components::CustomerSheet

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/customer_session_create_params.rb

Defined Under Namespace

Classes: Features

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(enabled: nil, features: nil) ⇒ CustomerSheet

Returns a new instance of CustomerSheet.



37
38
39
40
# File 'lib/stripe/params/customer_session_create_params.rb', line 37

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

Instance Attribute Details

#enabledObject

Whether the customer sheet is enabled.



33
34
35
# File 'lib/stripe/params/customer_session_create_params.rb', line 33

def enabled
  @enabled
end

#featuresObject

This hash defines whether the customer sheet supports certain features.



35
36
37
# File 'lib/stripe/params/customer_session_create_params.rb', line 35

def features
  @features
end