lib/recurly/resources/coupon.rb in recurly-3.2.2 vs lib/recurly/resources/coupon.rb in recurly-3.3.0
- old
+ new
@@ -25,10 +25,10 @@
# @!attribute created_at
# @return [DateTime] Created at
define_attribute :created_at, DateTime
# @!attribute discount
- # @return [CouponDiscount]
+ # @return [CouponDiscount] Details of the discount a coupon applies. Will contain a `type` property and one of the following properties: `percent`, `fixed`, `trial`.
define_attribute :discount, :CouponDiscount
# @!attribute duration
# @return [String] - "single_use" coupons applies to the first invoice only. - "temporal" coupons will apply to invoices for the duration determined by the `temporal_unit` and `temporal_amount` attributes.
define_attribute :duration, String