Method: Stripe::Tax::Calculation.list_line_items

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

.list_line_items(calculation, params = {}, opts = {}) ⇒ Object

Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.



38
39
40
41
42
43
44
45
# File 'lib/stripe/resources/tax/calculation.rb', line 38

def self.list_line_items(calculation, params = {}, opts = {})
  request_stripe_object(
    method: :get,
    path: format("/v1/tax/calculations/%<calculation>s/line_items", { calculation: CGI.escape(calculation) }),
    params: params,
    opts: opts
  )
end