Class: Recurring

Inherits:
Object
  • Object
show all
Defined in:
lib/model/Recurring.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Recurring) initialize(hash)

Returns a new instance of Recurring



8
9
10
11
12
13
14
# File 'lib/model/Recurring.rb', line 8

def initialize(hash)
	@amount = hash["AMT"]
	@beginDate = hash["BD"]
	@endDate = hash["ED"]
	@scheduleType = hash["SCHTYP"]
	@scheduleDate = hash["SCHD"]
end

Instance Attribute Details

- (Object) amount

Returns the value of attribute amount



2
3
4
# File 'lib/model/Recurring.rb', line 2

def amount
  @amount
end

- (Object) beginDate

Returns the value of attribute beginDate



3
4
5
# File 'lib/model/Recurring.rb', line 3

def beginDate
  @beginDate
end

- (Object) endDate

Returns the value of attribute endDate



4
5
6
# File 'lib/model/Recurring.rb', line 4

def endDate
  @endDate
end

- (Object) scheduleDate

Returns the value of attribute scheduleDate



6
7
8
# File 'lib/model/Recurring.rb', line 6

def scheduleDate
  @scheduleDate
end

- (Object) scheduleType

Returns the value of attribute scheduleType



5
6
7
# File 'lib/model/Recurring.rb', line 5

def scheduleType
  @scheduleType
end