Sha256: ee934a376cbdd8059b728ad12babeeba9bb727ab2f92b14eb77626e1fe9d5c9d
Contents?: true
Size: 848 Bytes
Versions: 18
Compression:
Stored size: 848 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 # `DiscountClass` seems to not be a queryable field, despite the result # from the describe call for product rate plan charge. def self.exclude_fields %w[DiscountClass] end 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
18 entries across 18 versions & 1 rubygems