Class: Ach

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Ach) initialize(hash)

Returns a new instance of Ach



6
7
8
9
10
# File 'lib/model/Ach.rb', line 6

def initialize(hash)
	@customerName = hash["CSTN"]
	@accountNumber = hash["ACN"]
	@accountType = hash["ACTYP"]
end

Instance Attribute Details

- (Object) accountNumber

Returns the value of attribute accountNumber



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

def accountNumber
  @accountNumber
end

- (Object) accountType

Returns the value of attribute accountType



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

def accountType
  @accountType
end

- (Object) customerName

Returns the value of attribute customerName



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

def customerName
  @customerName
end