Class: App42::AppTab::TransactionStor

Inherits:
Object
  • Object
show all
Defined in:
lib/appTab/Bill.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stor) ⇒ TransactionStor

This is a constructor that takes no parameter



75
76
77
# File 'lib/appTab/Bill.rb', line 75

def initialize(stor)
  stor.transactionList.push(self)
end

Instance Attribute Details

#serviceNameObject

Returns the value of attribute serviceName.



66
67
68
# File 'lib/appTab/Bill.rb', line 66

def serviceName
  @serviceName
end

#transactionIdObject

Returns the value of attribute transactionId.



66
67
68
# File 'lib/appTab/Bill.rb', line 66

def transactionId
  @transactionId
end

#usageObject

Returns the value of attribute usage.



66
67
68
# File 'lib/appTab/Bill.rb', line 66

def usage
  @usage
end

#usageDateObject

Returns the value of attribute usageDate.



66
67
68
# File 'lib/appTab/Bill.rb', line 66

def usageDate
  @usageDate
end