Sha256: 6be0e9c1366804083581fc641365112afd8bfe559d7267dfc47db37c5308f7d1

Contents?: true

Size: 1.72 KB

Versions: 16

Compression:

Stored size: 1.72 KB

Contents

module ChargeBee
  class QuotedSubscription < Model

    class Addon < Model
      attr_accessor :id, :quantity, :unit_price, :amount, :trial_end, :remaining_billing_cycles, :quantity_in_decimal, :unit_price_in_decimal, :amount_in_decimal
    end

    class EventBasedAddon < Model
      attr_accessor :id, :quantity, :unit_price, :service_period_in_days, :on_event, :charge_once, :quantity_in_decimal, :unit_price_in_decimal
    end

    class Coupon < Model
      attr_accessor :coupon_id
    end

    class SubscriptionItem < Model
      attr_accessor :item_price_id, :item_type, :quantity, :quantity_in_decimal, :metered_quantity, :last_calculated_at, :unit_price, :unit_price_in_decimal, :amount, :amount_in_decimal, :free_quantity, :free_quantity_in_decimal, :trial_end, :billing_cycles, :service_period_days, :charge_on_event, :charge_once, :charge_on_option
    end

    class ItemTier < Model
      attr_accessor :item_price_id, :starting_unit, :ending_unit, :price, :starting_unit_in_decimal, :ending_unit_in_decimal, :price_in_decimal, :index
    end

    class QuotedContractTerm < Model
      attr_accessor :contract_start, :contract_end, :billing_cycle, :action_at_term_end, :total_contract_value, :cancellation_cutoff_period
    end

  attr_accessor :id, :plan_id, :plan_quantity, :plan_unit_price, :setup_fee, :billing_period,
  :billing_period_unit, :start_date, :trial_end, :remaining_billing_cycles, :po_number, :auto_collection,
  :plan_quantity_in_decimal, :plan_unit_price_in_decimal, :changes_scheduled_at, :change_option,
  :contract_term_billing_cycle_on_renewal, :addons, :event_based_addons, :coupons, :subscription_items,
  :item_tiers, :quoted_contract_term

  # OPERATIONS
  #-----------

  end # ~QuotedSubscription
end # ~ChargeBee

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
chargebee-2.30.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.29.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.28.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.27.1 lib/chargebee/models/quoted_subscription.rb
chargebee-2.27.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.26.1 lib/chargebee/models/quoted_subscription.rb
chargebee-2.26.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.25.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.24.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.23.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.22.1 lib/chargebee/models/quoted_subscription.rb
chargebee-2.22.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.21.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.20.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.19.0 lib/chargebee/models/quoted_subscription.rb
chargebee-2.18.0 lib/chargebee/models/quoted_subscription.rb