Sha256: 748124f52edbd5d55a316578b370a95b99c10a079dd4e8a933b2439aef9db20e
Contents?: true
Size: 618 Bytes
Versions: 13
Compression:
Stored size: 618 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe class CreditNoteLineItemService < StripeService # When retrieving a credit note, you'll get a lines property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. def list(credit_note, params = {}, opts = {}) request( method: :get, path: format("/v1/credit_notes/%<credit_note>s/lines", { credit_note: CGI.escape(credit_note) }), params: params, opts: opts, base_address: :api ) end end end
Version data entries
13 entries across 13 versions & 1 rubygems