Class: Kaltura::KalturaVendorCatalogItemPricing

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_reach_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#price_functionObject

Returns the value of attribute price_function.



596
597
598
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 596

def price_function
  @price_function
end

#price_per_unitObject

Returns the value of attribute price_per_unit.



595
596
597
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 595

def price_per_unit
  @price_per_unit
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



602
603
604
605
606
607
608
609
610
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 602

def from_xml(xml_element)
	super
	if xml_element.elements['pricePerUnit'] != nil
		self.price_per_unit = xml_element.elements['pricePerUnit'].text
	end
	if xml_element.elements['priceFunction'] != nil
		self.price_function = xml_element.elements['priceFunction'].text
	end
end