Sha256: f22fb7c27518357c2f5fe932b90f7449d448af9018ed7ce2b562586a27e72c82
Contents?: true
Size: 1.25 KB
Versions: 68
Compression:
Stored size: 1.25 KB
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe # You can now model subscriptions more flexibly using the [Prices API](https://stripe.com/docs/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration. # # Plans define the base price, currency, and billing cycle for recurring purchases of products. # [Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme. # # For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year. # # Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription) and more about [products and prices](https://stripe.com/docs/products-prices/overview). class Plan < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete extend Stripe::APIOperations::List include Stripe::APIOperations::Save OBJECT_NAME = "plan" end end
Version data entries
68 entries across 68 versions & 1 rubygems