Sha256: 099ffbcc7fcf7887dab034f2a9d8094d49868327321bfef7d2744b81a94a454e

Contents?: true

Size: 563 Bytes

Versions: 16

Compression:

Stored size: 563 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class PaymentLink < APIResource
    extend Stripe::APIOperations::Create
    extend Stripe::APIOperations::List
    include Stripe::APIOperations::Save

    OBJECT_NAME = "payment_link"

    custom_method :list_line_items, http_verb: :get, http_path: "line_items"

    def list_line_items(params = {}, opts = {})
      request_stripe_object(
        method: :get,
        path: resource_url + "/line_items",
        params: params,
        opts: opts
      )
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
stripe-6.3.0 lib/stripe/resources/payment_link.rb
stripe-6.2.0 lib/stripe/resources/payment_link.rb
stripe-6.1.0 lib/stripe/resources/payment_link.rb
stripe-6.0.0 lib/stripe/resources/payment_link.rb
stripe-5.55.0 lib/stripe/resources/payment_link.rb
stripe-5.54.0 lib/stripe/resources/payment_link.rb
stripe-5.53.0 lib/stripe/resources/payment_link.rb
stripe-5.52.0 lib/stripe/resources/payment_link.rb
stripe-5.50.0 lib/stripe/resources/payment_link.rb
stripe-5.49.0 lib/stripe/resources/payment_link.rb
stripe-5.48.0 lib/stripe/resources/payment_link.rb
stripe-5.47.0 lib/stripe/resources/payment_link.rb
stripe-5.46.0 lib/stripe/resources/payment_link.rb
stripe-5.45.0 lib/stripe/resources/payment_link.rb
stripe-5.44.0 lib/stripe/resources/payment_link.rb
stripe-5.43.0 lib/stripe/resources/payment_link.rb