Class: App42::AppTab::PackageData

Inherits:
App42Response show all
Defined in:
lib/appTab/PackageData.rb

Instance Attribute Summary collapse

Attributes inherited from App42Response

#isResponseSuccess, #strResponse, #totalRecords

Instance Method Summary collapse

Instance Attribute Details

#bandwidthDataObject

Returns the value of attribute bandwidthData.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def bandwidthData
  @bandwidthData
end

#currencyObject

Returns the value of attribute currency.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def currency
  @currency
end

#descriptionObject

Returns the value of attribute description.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def description
  @description
end

#durationObject

Returns the value of attribute duration.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def duration
  @duration
end

#featureDataObject

Returns the value of attribute featureData.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def featureData
  @featureData
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def name
  @name
end

#packageListObject

Returns the value of attribute packageList.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def packageList
  @packageList
end

#priceObject

Returns the value of attribute price.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def price
  @price
end

#storageDataObject

Returns the value of attribute storageData.



6
7
8
# File 'lib/appTab/PackageData.rb', line 6

def storageData
  @storageData
end

Instance Method Details

#getJSONObjectObject



16
17
18
19
20
21
22
23
# File 'lib/appTab/PackageData.rb', line 16

def getJSONObject
  obj = Hash.new()
  obj.store("name", self.name);
  obj.store("duration", self.duration);
  obj.store("currency", self.currency);
  obj.store("description", self.description);
  return obj;
end