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.



521
522
523
# File 'lib/stripe/resources/order.rb', line 521

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

Instance Attribute Details

#enabledObject

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



519
520
521
# File 'lib/stripe/resources/order.rb', line 519

def enabled
  @enabled
end