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.



1240
1241
1242
# File 'lib/stripe/services/order_service.rb', line 1240

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

Instance Attribute Details

#enabledObject

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



1238
1239
1240
# File 'lib/stripe/services/order_service.rb', line 1238

def enabled
  @enabled
end