Class: Stripe::Order::CreateParams::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.



534
535
536
# File 'lib/stripe/resources/order.rb', line 534

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

Instance Attribute Details

#enabledObject

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



532
533
534
# File 'lib/stripe/resources/order.rb', line 532

def enabled
  @enabled
end