Class: Stripe::AccountSession::CreateParams::Components::TaxRegistrations

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/account_session.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) ⇒ TaxRegistrations

Returns a new instance of TaxRegistrations.



936
937
938
939
# File 'lib/stripe/resources/account_session.rb', line 936

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



932
933
934
# File 'lib/stripe/resources/account_session.rb', line 932

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



934
935
936
# File 'lib/stripe/resources/account_session.rb', line 934

def features
  @features
end