Class: Stripe::Order::UpdateParams::AutomaticTax

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/order.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.



1596
1597
1598
# File 'lib/stripe/resources/order.rb', line 1596

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

Instance Attribute Details

#enabledObject

Enable automatic tax calculation which will automatically compute tax rates on this order.



1594
1595
1596
# File 'lib/stripe/resources/order.rb', line 1594

def enabled
  @enabled
end