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.
596 597 598 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 596 def price_function @price_function end |
#price_per_unit ⇒ Object
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 |