Class: Recurly::Resources::CouponDiscountPricing
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::CouponDiscountPricing
- Defined in:
- lib/recurly/resources/coupon_discount_pricing.rb
Instance Attribute Summary collapse
-
#amount ⇒ Float
Value of the fixed discount that this coupon applies.
-
#currency ⇒ String
3-letter ISO 4217 currency code.
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
#amount ⇒ Float
Returns Value of the fixed discount that this coupon applies.
11 |
# File 'lib/recurly/resources/coupon_discount_pricing.rb', line 11 define_attribute :amount, Float |
#currency ⇒ String
Returns 3-letter ISO 4217 currency code.
15 |
# File 'lib/recurly/resources/coupon_discount_pricing.rb', line 15 define_attribute :currency, String |