lib/recurly/resources/subscription.rb in recurly-4.28.0 vs lib/recurly/resources/subscription.rb in recurly-4.29.0
- old
+ new
@@ -44,10 +44,14 @@
# @!attribute collection_method
# @return [String] Collection method
define_attribute :collection_method, String
+ # @!attribute converted_at
+ # @return [DateTime] When the subscription was converted from a gift card.
+ define_attribute :converted_at, DateTime
+
# @!attribute coupon_redemptions
# @return [Array[CouponRedemptionMini]] Returns subscription level coupon redemptions that are tied to this subscription.
define_attribute :coupon_redemptions, Array, { :item_type => :CouponRedemptionMini }
# @!attribute created_at
@@ -147,9 +151,13 @@
define_attribute :revenue_schedule_type, String
# @!attribute shipping
# @return [SubscriptionShipping] Subscription shipping details
define_attribute :shipping, :SubscriptionShipping
+
+ # @!attribute started_with_gift
+ # @return [Boolean] Whether the subscription was started with a gift certificate.
+ define_attribute :started_with_gift, :Boolean
# @!attribute state
# @return [String] State
define_attribute :state, String