Sha256: 44d5cbbffc549cd2b0723dc5b47ab846a1ce52852be12ccf7925e71a3c6b9baf

Contents?: true

Size: 643 Bytes

Versions: 23

Compression:

Stored size: 643 Bytes

Contents

# frozen_string_literal: true

module IronBank
  module Resources
    # A product rate plan charge can be a one-time, recurring or usage-based
    # charge. It belongs to a product rate plan and can have many tiers when
    # using a Volume or Tiered pricing model.
    #
    # NOTE: if multiple currencies are enabled for your Zuora tenant, then there
    # is *at least* one tier per active currency.
    #
    class ProductRatePlanCharge < Resource
      with_schema
      with_local_records
      with_cache

      with_one :product_rate_plan, alias: :plan

      with_many :product_rate_plan_charge_tiers, alias: :tiers
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
iron_bank-5.4.1 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.4.0 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.3.2 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.3.0 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.2.6 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.2.4 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.2.3 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.2.0 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.1.1 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.1.0 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.4.3 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.0.1 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-5.0.0 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.4.1 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.4.0 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.3.1 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.3.0 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.2.0 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.1.1 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.1.0 lib/iron_bank/resources/product_rate_plan_charge.rb