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-4.0.2 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.0.1 lib/iron_bank/resources/product_rate_plan_charge.rb
iron_bank-4.0.0 lib/iron_bank/resources/product_rate_plan_charge.rb