Class: Recurly::Resources::CouponRedemptionMini
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::CouponRedemptionMini
- Defined in:
- lib/recurly/resources/coupon_redemption_mini.rb
Instance Attribute Summary collapse
- #coupon ⇒ CouponMini
-
#created_at ⇒ DateTime
Created at.
-
#discounted ⇒ Float
The amount that was discounted upon the application of the coupon, formatted with the currency.
-
#id ⇒ String
Coupon Redemption ID.
-
#object ⇒ String
Will always be `coupon`.
-
#state ⇒ String
Invoice state.
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
#coupon ⇒ CouponMini
11 |
# File 'lib/recurly/resources/coupon_redemption_mini.rb', line 11 define_attribute :coupon, :CouponMini |
#created_at ⇒ DateTime
Returns Created at.
15 |
# File 'lib/recurly/resources/coupon_redemption_mini.rb', line 15 define_attribute :created_at, DateTime |
#discounted ⇒ Float
Returns The amount that was discounted upon the application of the coupon, formatted with the currency.
19 |
# File 'lib/recurly/resources/coupon_redemption_mini.rb', line 19 define_attribute :discounted, Float |
#id ⇒ String
Returns Coupon Redemption ID.
23 |
# File 'lib/recurly/resources/coupon_redemption_mini.rb', line 23 define_attribute :id, String |
#object ⇒ String
Returns Will always be `coupon`.
27 |
# File 'lib/recurly/resources/coupon_redemption_mini.rb', line 27 define_attribute :object, String |
#state ⇒ String
Returns Invoice state.
31 |
# File 'lib/recurly/resources/coupon_redemption_mini.rb', line 31 define_attribute :state, String |