Class: Kaltura::KalturaTimeRangeVendorCredit

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

Direct Known Subclasses

KalturaReoccurringVendorCredit

Instance Attribute Summary collapse

Attributes inherited from KalturaVendorCredit

#add_on, #credit, #from_date, #overage_credit

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#to_dateObject

Returns the value of attribute to_date.



1467
1468
1469
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 1467

def to_date
  @to_date
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1473
1474
1475
1476
1477
1478
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 1473

def from_xml(xml_element)
	super
	if xml_element.elements['toDate'] != nil
		self.to_date = xml_element.elements['toDate'].text
	end
end