Class: Stripe::AccountSessionService::CreateParams::Components::PaymentDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_session_service.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) ⇒ PaymentDetails

Returns a new instance of PaymentDetails.



325
326
327
328
# File 'lib/stripe/services/account_session_service.rb', line 325

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



321
322
323
# File 'lib/stripe/services/account_session_service.rb', line 321

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



323
324
325
# File 'lib/stripe/services/account_session_service.rb', line 323

def features
  @features
end