Class: Kaltura::KalturaVendorCatalogItemPricing
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaVendorCatalogItemPricing
- Defined in:
- lib/kaltura_plugins/kaltura_reach_client_plugin.rb
Instance Attribute Summary collapse
-
#price_function ⇒ Object
Returns the value of attribute price_function.
-
#price_per_unit ⇒ Object
Returns the value of attribute price_per_unit.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#price_function ⇒ Object
Returns the value of attribute price_function.
649 650 651 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 649 def price_function @price_function end |
#price_per_unit ⇒ Object
Returns the value of attribute price_per_unit.
648 649 650 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 648 def price_per_unit @price_per_unit end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
655 656 657 658 659 660 661 662 663 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 655 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 |