Method: Stripe::Tax::Calculation.create

Defined in:
lib/stripe/resources/tax/calculation.rb

.create(params = {}, opts = {}) ⇒ Object

Calculates tax based on the input and returns a Tax Calculation object.



18
19
20
21
22
23
24
25
# File 'lib/stripe/resources/tax/calculation.rb', line 18

def self.create(params = {}, opts = {})
  request_stripe_object(
    method: :post,
    path: "/v1/tax/calculations",
    params: params,
    opts: opts
  )
end