Class: ACH
Instance Method Summary
collapse
Methods inherited from Instrument
#CustomFields=, #CustomerId=, #CustomerIdentifier=, #FriendlyName=, #IssuerBank=, #ResponseDetails=, #Status=, #Token=, #getCustomFields, #getCustomerId, #getCustomerIdentifier, #getFriendlyName, #getIssuerBank, #getResponseDetails, #getStatus, #getToken
Methods inherited from JSONable
#from_json!, #to_h, #to_json
Constructor Details
#initialize(h = nil) ⇒ ACH
Returns a new instance of ACH.
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/Entities/ach.rb', line 4
def initialize(h = nil)
if(h != nil)
h.each {
|k,v|
propNameFormatted = k.to_s + "="
if(ACH.instance_methods(true).include?(propNameFormatted.to_sym))
public_send("#{k}=",v)
end
}
end
end
|
Instance Method Details
#AccountHolder=(accountHolder) ⇒ Object
25
26
27
|
# File 'lib/Entities/ach.rb', line 25
def AccountHolder=(accountHolder)
@accountHolder = accountHolder
end
|
#AccountNumber=(accountNumber) ⇒ Object
21
22
23
|
# File 'lib/Entities/ach.rb', line 21
def AccountNumber=(accountNumber)
@accountNumber = accountNumber
end
|
#ChequeNumber=(chequeNumber) ⇒ Object
29
30
31
|
# File 'lib/Entities/ach.rb', line 29
def ChequeNumber=(chequeNumber)
@chequeNumber = chequeNumber
end
|