Sha256: d42484f4474d2e11d47edd976169199594db8eaa96563886073b5791d6861aa5

Contents?: true

Size: 330 Bytes

Versions: 21

Compression:

Stored size: 330 Bytes

Contents

module Zuora
  class ProductRatePlanCharge < ZObject
    def product_rate_plan
      @product_rate_plan ||= ProductRatePlan.find(self.ProductRatePlanId)
    end

    def product_rate_plan_charge_tiers
      @product_rate_plan_charge_tiers ||= ProductRatePlanChargeTier.where(:productRatePlanChargeId => self.id)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
active_zuora-1.4.0 lib/active_zuora/product_rate_plan_charge.rb