lib/recurly/requests/subscription_purchase.rb in recurly-3.2.2 vs lib/recurly/requests/subscription_purchase.rb in recurly-3.3.0
- old
+ new
@@ -13,10 +13,10 @@
# @!attribute auto_renew
# @return [Boolean] Whether the subscription renews at the end of its term.
define_attribute :auto_renew, :Boolean
# @!attribute custom_fields
- # @return [Array[CustomField]]
+ # @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
define_attribute :custom_fields, Array, { :item_type => :CustomField }
# @!attribute next_bill_date
# @return [DateTime] If present, this sets the date the subscription's next billing period will start (`current_period_ends_at`). This can be used to align the subscription’s billing to a specific day of the month. The initial invoice will be prorated for the period between the subscription's activation date and the billing period end date. Subsequent periods will be based off the plan interval. For a subscription with a trial period, this will change when the trial expires.
define_attribute :next_bill_date, DateTime