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.



292
293
294
295
# File 'lib/stripe/services/account_session_service.rb', line 292

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



288
289
290
# File 'lib/stripe/services/account_session_service.rb', line 288

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



290
291
292
# File 'lib/stripe/services/account_session_service.rb', line 290

def features
  @features
end