Class: Zuora::ProductRatePlanCharge
- Defined in:
- lib/active_zuora/product_rate_plan_charge.rb
Instance Method Summary collapse
Methods inherited from ZObject
#==, all, attribute_names, #attributes, build_filter_statments, client, convert_date, create, destroy, #destroy, exclude_query_attributes, excluded_query_attributes, extra_attributes, find, #id, #initialize, klass_name, new_from_zobject, query_attribute_names, #to_zobject, #type, update_attributes, valid_id, valid_session?, where, zobject_class, #zobject_class
Constructor Details
This class inherits a constructor from Zuora::ZObject
Instance Method Details
#product_rate_plan ⇒ Object
3 4 5 |
# File 'lib/active_zuora/product_rate_plan_charge.rb', line 3 def product_rate_plan @product_rate_plan ||= ProductRatePlan.find(self.ProductRatePlanId) end |
#product_rate_plan_charge_tiers ⇒ Object
7 8 9 |
# File 'lib/active_zuora/product_rate_plan_charge.rb', line 7 def product_rate_plan_charge_tiers @product_rate_plan_charge_tiers ||= ProductRatePlanChargeTier.where(:productRatePlanChargeId => self.id) end |