Sha256: b888806b849deb790169d77b994360fd573e4297de2b3ca1e330e3e7b724d2a7
Contents?: true
Size: 677 Bytes
Versions: 20
Compression:
Stored size: 677 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe module Checkout class SessionLineItemService < StripeService # When retrieving a Checkout Session, there is an includable line_items 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(session, params = {}, opts = {}) request( method: :get, path: format("/v1/checkout/sessions/%<session>s/line_items", { session: CGI.escape(session) }), params: params, opts: opts, base_address: :api ) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems