Class: Recurly::Resources::UniqueCouponCode
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::UniqueCouponCode
- Defined in:
- lib/recurly/resources/unique_coupon_code.rb
Instance Attribute Summary collapse
-
#bulk_coupon_code ⇒ String
The Coupon code of the parent Bulk Coupon.
-
#bulk_coupon_id ⇒ String
The Coupon ID of the parent Bulk Coupon.
-
#code ⇒ String
The code the customer enters to redeem the coupon.
-
#created_at ⇒ DateTime
Created at.
-
#expired_at ⇒ DateTime
The date and time the coupon was expired early or reached its `max_redemptions`.
-
#id ⇒ String
Unique Coupon Code ID.
-
#object ⇒ String
Object type.
-
#redeemed_at ⇒ DateTime
The date and time the unique coupon code was redeemed.
-
#state ⇒ String
Indicates if the unique coupon code is redeemable or why not.
-
#updated_at ⇒ DateTime
Updated at.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#bulk_coupon_code ⇒ String
Returns The Coupon code of the parent Bulk Coupon.
11 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 11 define_attribute :bulk_coupon_code, String |
#bulk_coupon_id ⇒ String
Returns The Coupon ID of the parent Bulk Coupon.
15 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 15 define_attribute :bulk_coupon_id, String |
#code ⇒ String
Returns The code the customer enters to redeem the coupon.
19 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 19 define_attribute :code, String |
#created_at ⇒ DateTime
Returns Created at.
23 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 23 define_attribute :created_at, DateTime |
#expired_at ⇒ DateTime
Returns The date and time the coupon was expired early or reached its `max_redemptions`.
27 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 27 define_attribute :expired_at, DateTime |
#id ⇒ String
Returns Unique Coupon Code ID.
31 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 31 define_attribute :id, String |
#object ⇒ String
Returns Object type.
35 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 35 define_attribute :object, String |
#redeemed_at ⇒ DateTime
Returns The date and time the unique coupon code was redeemed.
39 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 39 define_attribute :redeemed_at, DateTime |
#state ⇒ String
Returns Indicates if the unique coupon code is redeemable or why not.
43 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 43 define_attribute :state, String |
#updated_at ⇒ DateTime
Returns Updated at.
47 |
# File 'lib/recurly/resources/unique_coupon_code.rb', line 47 define_attribute :updated_at, DateTime |