Sha256: 5299304b51bd5faa6992f0b9c482c4229828d686ce21bb9a8a8618824f6c5245

Contents?: true

Size: 1.31 KB

Versions: 41

Compression:

Stored size: 1.31 KB

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  # Products describe the specific goods or services you offer to your customers.
  # For example, you might offer a Standard and Premium version of your goods or service; each version would be a separate Product.
  # They can be used in conjunction with [Prices](https://stripe.com/docs/api#prices) to configure pricing in Payment Links, Checkout, and Subscriptions.
  #
  # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription),
  # [share a Payment Link](https://stripe.com/docs/payment-links),
  # [accept payments with Checkout](https://stripe.com/docs/payments/accept-a-payment#create-product-prices-upfront),
  # and more about [Products and Prices](https://stripe.com/docs/products-prices/overview)
  class Product < APIResource
    extend Stripe::APIOperations::Create
    include Stripe::APIOperations::Delete
    extend Stripe::APIOperations::List
    extend Stripe::APIOperations::Search
    include Stripe::APIOperations::Save

    OBJECT_NAME = "product"

    def self.search(params = {}, opts = {})
      _search("/v1/products/search", params, opts)
    end

    def self.search_auto_paging_each(params = {}, opts = {}, &blk)
      search(params, opts).auto_paging_each(&blk)
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
stripe-10.6.0.pre.beta.1 lib/stripe/resources/product.rb
stripe-10.5.0 lib/stripe/resources/product.rb
stripe-10.5.0.pre.beta.1 lib/stripe/resources/product.rb
stripe-10.4.0 lib/stripe/resources/product.rb
stripe-10.4.0.pre.beta.1 lib/stripe/resources/product.rb
stripe-10.3.0 lib/stripe/resources/product.rb
stripe-10.3.0.pre.beta.1 lib/stripe/resources/product.rb
stripe-10.2.0 lib/stripe/resources/product.rb
stripe-10.2.0.pre.beta.1 lib/stripe/resources/product.rb
stripe-10.1.0 lib/stripe/resources/product.rb
stripe-10.1.0.pre.beta.2 lib/stripe/resources/product.rb
stripe-10.1.0.pre.beta.1 lib/stripe/resources/product.rb
stripe-10.0.0 lib/stripe/resources/product.rb
stripe-9.5.0.pre.beta.2 lib/stripe/resources/product.rb
stripe-9.5.0.pre.beta.1 lib/stripe/resources/product.rb
stripe-9.4.0 lib/stripe/resources/product.rb
stripe-9.4.0.pre.beta.3 lib/stripe/resources/product.rb
stripe-9.4.0.pre.beta.2 lib/stripe/resources/product.rb
stripe-9.4.0.pre.beta.1 lib/stripe/resources/product.rb
stripe-9.3.0 lib/stripe/resources/product.rb