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.
570 571 572 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 570 def price_function @price_function end |
#price_per_unit ⇒ Object
Returns the value of attribute price_per_unit.
569 570 571 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 569 def price_per_unit @price_per_unit end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
576 577 578 579 580 581 582 583 584 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 576 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 |