Class: Stripe::AccountSessionService::CreateParams::Components::TaxThresholdMonitoring

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) ⇒ TaxThresholdMonitoring

Returns a new instance of TaxThresholdMonitoring.



712
713
714
715
# File 'lib/stripe/services/account_session_service.rb', line 712

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

Instance Attribute Details

#enabledObject

Whether the embedded component is enabled.



708
709
710
# File 'lib/stripe/services/account_session_service.rb', line 708

def enabled
  @enabled
end

#featuresObject

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



710
711
712
# File 'lib/stripe/services/account_session_service.rb', line 710

def features
  @features
end