stripe-ruby/lib/stripe/resources/promotion_code.rb
Richard Marmorstein ddf79610d9 Fix formatting
2022-10-14 10:26:51 -07:00

15 lines
463 B
Ruby

# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
# A Promotion Code represents a customer-redeemable code for a [coupon](https://stripe.com/docs/api#coupons). It can be used to
# create multiple codes for a single coupon.
class PromotionCode < APIResource
extend Stripe::APIOperations::Create
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save
OBJECT_NAME = "promotion_code"
end
end