lib/recurly/requests/plan_create.rb in recurly-3.28.0 vs lib/recurly/requests/plan_create.rb in recurly-4.0.0

- old
+ new

@@ -36,22 +36,14 @@ # @!attribute currencies # @return [Array[PlanPricing]] Pricing define_attribute :currencies, Array, { :item_type => :PlanPricing } - # @!attribute custom_fields - # @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 description # @return [String] Optional description, not displayed. define_attribute :description, String - # @!attribute dunning_campaign_id - # @return [String] Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this plan. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used. - define_attribute :dunning_campaign_id, String - # @!attribute hosted_pages # @return [PlanHostedPages] Hosted pages settings define_attribute :hosted_pages, :PlanHostedPages # @!attribute interval_length @@ -63,17 +55,9 @@ define_attribute :interval_unit, String # @!attribute name # @return [String] This name describes your plan and will appear on the Hosted Payment Page and the subscriber's invoice. define_attribute :name, String - - # @!attribute pricing_model - # @return [String] A fixed pricing model has the same price for each billing period. A ramp pricing model defines a set of Ramp Intervals, where a subscription changes price on a specified cadence of billing periods. The price change could be an increase or decrease. - define_attribute :pricing_model, String - - # @!attribute ramp_intervals - # @return [Array[PlanRampInterval]] Ramp Intervals - define_attribute :ramp_intervals, Array, { :item_type => :PlanRampInterval } # @!attribute revenue_schedule_type # @return [String] Revenue schedule type define_attribute :revenue_schedule_type, String