Class: Stripe::OrderService::UpdateParams::AutomaticTax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/order_service.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.



1174
1175
1176
# File 'lib/stripe/services/order_service.rb', line 1174

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

Instance Attribute Details

#enabledObject

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



1172
1173
1174
# File 'lib/stripe/services/order_service.rb', line 1172

def enabled
  @enabled
end