Sha256: 48f9cccc1ae5d2a089a4ca61800bc29151ea33aba76b0b006fa64f11c19690b8
Contents?: true
Size: 863 Bytes
Versions: 68
Compression:
Stored size: 863 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe # A coupon contains information about a percent-off or amount-off discount you # might want to apply to a customer. Coupons may be applied to [subscriptions](https://stripe.com/docs/api#subscriptions), [invoices](https://stripe.com/docs/api#invoices), # [checkout sessions](https://stripe.com/docs/api/checkout/sessions), [quotes](https://stripe.com/docs/api#quotes), and more. Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge) or [payment intents](https://stripe.com/docs/api/payment_intents). class Coupon < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete extend Stripe::APIOperations::List include Stripe::APIOperations::Save OBJECT_NAME = "coupon" end end
Version data entries
68 entries across 68 versions & 1 rubygems