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.



742
743
744
745
# File 'lib/stripe/resources/account_session.rb', line 742

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



738
739
740
# File 'lib/stripe/resources/account_session.rb', line 738

def enabled
  @enabled
end

#featuresObject

The list of features enabled in the embedded component.



740
741
742
# File 'lib/stripe/resources/account_session.rb', line 740

def features
  @features
end