class Stripe::Tax::Calculation
Related guide: [Calculate tax in your custom payment flow](stripe.com/docs/tax/custom)
A Tax Calculation allows you to calculate the tax to collect from your customer.
def self.list_line_items(calculation, params = {}, opts = {})
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
def list_line_items(params = {}, opts = {})
def list_line_items(params = {}, opts = {}) request_stripe_object( method: :get, path: format("/v1/tax/calculations/%<calculation>s/line_items", { calculation: CGI.escape(self["id"]) }), params: params, opts: opts ) end