class BillForward::PricingComponent

This entity exposes the following child entities via method_missing:

PricingComponentTier[] .tiers

Public Class Methods

get_all(options=nil, customClient=nil) click to toggle source
# File lib/bill_forward/entities/pricing_component.rb, line 8
def self.get_all(options=nil, customClient=nil)
  raise ArgumentError.new('Get All support is denied for this entity;
    at the time of writing, no working API endpoint exists to support it.
    The entity can be GETted through cascade (i.e. GET a related entity), or by ID only.'
  )
end

Protected Instance Methods

unserialize_all(hash) click to toggle source
Calls superclass method
# File lib/bill_forward/entities/pricing_component.rb, line 16
def unserialize_all(hash)
  super
  unserialize_array_of_entities('tiers', PricingComponentTier, hash)
end