Sha256: ab5f4a66a78b09582b5a09d7533687003fa52173724f42aa6ebd877ff3f6f75e

Contents?: true

Size: 974 Bytes

Versions: 94

Compression:

Stored size: 974 Bytes

Contents

# This file is automatically created by Recurly's OpenAPI generation process
# and thus any edits you make by hand will be lost. If you wish to make a
# change to this file, please create a Github issue explaining the changes you
# need and we will usher them to the appropriate places.
module Recurly
  module Resources
    class CouponDiscount < Resource

      # @!attribute currencies
      #   @return [Array[CouponDiscountPricing]] This is only present when `type=fixed`.
      define_attribute :currencies, Array, { :item_type => :CouponDiscountPricing }

      # @!attribute percent
      #   @return [Integer] This is only present when `type=percent`.
      define_attribute :percent, Integer

      # @!attribute trial
      #   @return [CouponDiscountTrial] This is only present when `type=free_trial`.
      define_attribute :trial, :CouponDiscountTrial

      # @!attribute type
      #   @return [String]
      define_attribute :type, String
    end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
recurly-3.22.0 lib/recurly/resources/coupon_discount.rb
recurly-4.21.1 lib/recurly/resources/coupon_discount.rb
recurly-4.21.0 lib/recurly/resources/coupon_discount.rb
recurly-4.20.0 lib/recurly/resources/coupon_discount.rb
recurly-3.21.0 lib/recurly/resources/coupon_discount.rb
recurly-4.19.0 lib/recurly/resources/coupon_discount.rb
recurly-3.20.0 lib/recurly/resources/coupon_discount.rb
recurly-4.18.0 lib/recurly/resources/coupon_discount.rb
recurly-4.17.0 lib/recurly/resources/coupon_discount.rb
recurly-3.19.0 lib/recurly/resources/coupon_discount.rb
recurly-4.15.0 lib/recurly/resources/coupon_discount.rb
recurly-4.14.0 lib/recurly/resources/coupon_discount.rb
recurly-4.13.0 lib/recurly/resources/coupon_discount.rb
recurly-4.12.0 lib/recurly/resources/coupon_discount.rb
recurly-4.11.0 lib/recurly/resources/coupon_discount.rb
recurly-4.10.0 lib/recurly/resources/coupon_discount.rb
recurly-4.9.0 lib/recurly/resources/coupon_discount.rb
recurly-4.8.0 lib/recurly/resources/coupon_discount.rb
recurly-4.7.0 lib/recurly/resources/coupon_discount.rb
recurly-4.6.0 lib/recurly/resources/coupon_discount.rb