Sha256: a4f53c18401f6fdbaccc23fa461232485a8d6be76348cab885da3ca3cdd13409

Contents?: true

Size: 542 Bytes

Versions: 13

Compression:

Stored size: 542 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class CreditNotePreviewLinesService < StripeService
    # When retrieving a credit note preview, you'll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items.
    def list(params = {}, opts = {})
      request(
        method: :get,
        path: "/v1/credit_notes/preview/lines",
        params: params,
        opts: opts,
        base_address: :api
      )
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.2.0 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.1.2 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.1.1 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.1.0 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.0.2 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.0.1 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/credit_note_preview_lines_service.rb
stripe-13.0.0 lib/stripe/services/credit_note_preview_lines_service.rb