lib/recurly/requests/subscription_update.rb in recurly-3.2.2 vs lib/recurly/requests/subscription_update.rb in recurly-3.3.0
- old
+ new
@@ -13,11 +13,11 @@
# @!attribute collection_method
# @return [String] Change collection method
define_attribute :collection_method, String
# @!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 customer_notes
# @return [String] Specify custom notes to add or override Customer Notes. Custom notes will stay with a subscription on all renewals.
define_attribute :customer_notes, String
@@ -41,10 +41,10 @@
# @!attribute renewal_billing_cycles
# @return [Integer] If `auto_renew=true`, when a term completes, `total_billing_cycles` takes this value as the length of subsequent terms. Defaults to the plan's `total_billing_cycles`.
define_attribute :renewal_billing_cycles, Integer
# @!attribute shipping
- # @return [SubscriptionShippingUpdate]
+ # @return [SubscriptionShippingUpdate] Subscription shipping details
define_attribute :shipping, :SubscriptionShippingUpdate
# @!attribute terms_and_conditions
# @return [String] Specify custom notes to add or override Terms and Conditions. Custom notes will stay with a subscription on all renewals.
define_attribute :terms_and_conditions, String