Class: Stripe::Subscription::ListParams::AutomaticTax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/subscription.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(enabled: nil) ⇒ AutomaticTax

Returns a new instance of AutomaticTax.



849
850
851
# File 'lib/stripe/resources/subscription.rb', line 849

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

Instance Attribute Details

#enabledObject

Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.



847
848
849
# File 'lib/stripe/resources/subscription.rb', line 847

def enabled
  @enabled
end