Sha256: fd8a82026a8dd5b6b0274c88463e86c4b8a3061371c4fc218323f73e08bd5e26

Contents?: true

Size: 928 Bytes

Versions: 13

Compression:

Stored size: 928 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Issuing
    class PhysicalBundleService < StripeService
      # Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
      def list(params = {}, opts = {})
        request(
          method: :get,
          path: "/v1/issuing/physical_bundles",
          params: params,
          opts: opts,
          base_address: :api
        )
      end

      # Retrieves a physical bundle object.
      def retrieve(physical_bundle, params = {}, opts = {})
        request(
          method: :get,
          path: format("/v1/issuing/physical_bundles/%<physical_bundle>s", { physical_bundle: CGI.escape(physical_bundle) }),
          params: params,
          opts: opts,
          base_address: :api
        )
      end
    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/issuing/physical_bundle_service.rb
stripe-13.2.0 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.1.2 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.1.1 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.1.0 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.0.2 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.0.1 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/issuing/physical_bundle_service.rb
stripe-13.0.0 lib/stripe/services/issuing/physical_bundle_service.rb