Sha256: 3ca2c62aaf47c342ad9c8ae88d3415f4c44280003ac9bfd0c944297cd7ae76c8
Contents?: true
Size: 1.36 KB
Versions: 7
Compression:
Stored size: 1.36 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 = {}) request_stripe_object(method: :get, path: "/v1/products/search", params: params, opts: opts) end def self.search_auto_paging_each(params = {}, opts = {}, &blk) search(params, opts).auto_paging_each(&blk) end end end
Version data entries
7 entries across 7 versions & 1 rubygems