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.



424
425
426
427
# File 'lib/stripe/services/account_session_service.rb', line 424

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



419
420
421
# File 'lib/stripe/services/account_session_service.rb', line 419

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



422
423
424
# File 'lib/stripe/services/account_session_service.rb', line 422

def features
  @features
end