Sha256: 28528d1b7bf20a3ccb1412821d5bb6555eb35754daf9e2ce207363d75c455419

Contents?: true

Size: 1.73 KB

Versions: 74

Compression:

Stored size: 1.73 KB

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 UniqueCouponCode < Resource

      # @!attribute bulk_coupon_code
      #   @return [String] The Coupon code of the parent Bulk Coupon
      define_attribute :bulk_coupon_code, String

      # @!attribute bulk_coupon_id
      #   @return [String] The Coupon ID of the parent Bulk Coupon
      define_attribute :bulk_coupon_id, String

      # @!attribute code
      #   @return [String] The code the customer enters to redeem the coupon.
      define_attribute :code, String

      # @!attribute created_at
      #   @return [DateTime] Created at
      define_attribute :created_at, DateTime

      # @!attribute expired_at
      #   @return [DateTime] The date and time the coupon was expired early or reached its `max_redemptions`.
      define_attribute :expired_at, DateTime

      # @!attribute id
      #   @return [String] Unique Coupon Code ID
      define_attribute :id, String

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

      # @!attribute redeemed_at
      #   @return [DateTime] The date and time the unique coupon code was redeemed.
      define_attribute :redeemed_at, DateTime

      # @!attribute state
      #   @return [String] Indicates if the unique coupon code is redeemable or why not.
      define_attribute :state, String

      # @!attribute updated_at
      #   @return [DateTime] Updated at
      define_attribute :updated_at, DateTime
    end
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
recurly-4.5.0 lib/recurly/resources/unique_coupon_code.rb
recurly-4.4.0 lib/recurly/resources/unique_coupon_code.rb
recurly-4.3.0 lib/recurly/resources/unique_coupon_code.rb
recurly-4.2.0 lib/recurly/resources/unique_coupon_code.rb
recurly-4.1.0 lib/recurly/resources/unique_coupon_code.rb
recurly-4.0.1 lib/recurly/resources/unique_coupon_code.rb
recurly-4.0.0 lib/recurly/resources/unique_coupon_code.rb
recurly-3.18.1 lib/recurly/resources/unique_coupon_code.rb
recurly-3.18.0 lib/recurly/resources/unique_coupon_code.rb
recurly-3.17.0 lib/recurly/resources/unique_coupon_code.rb
recurly-3.16.0 lib/recurly/resources/unique_coupon_code.rb
recurly-3.15.0 lib/recurly/resources/unique_coupon_code.rb
recurly-3.14.0 lib/recurly/resources/unique_coupon_code.rb
recurly-3.13.0 lib/recurly/resources/unique_coupon_code.rb