Class: Stripe::AccountSessionCreateParams::Components::PayoutDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_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) ⇒ PayoutDetails

Returns a new instance of PayoutDetails.



422
423
424
425
# File 'lib/stripe/params/account_session_create_params.rb', line 422

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



418
419
420
# File 'lib/stripe/params/account_session_create_params.rb', line 418

def enabled
  @enabled
end

#featuresObject

An empty list, because this embedded component has no features.



420
421
422
# File 'lib/stripe/params/account_session_create_params.rb', line 420

def features
  @features
end