Class: Instrument

Inherits:
JSONable show all
Defined in:
lib/Entities/instrument.rb

Direct Known Subclasses

ACH, CreditCard, Wallet

Instance Method Summary collapse

Methods inherited from JSONable

#from_json!, #to_h, #to_json

Instance Method Details

#CustomerId=(customerId) ⇒ Object



4
5
6
# File 'lib/Entities/instrument.rb', line 4

def CustomerId=(customerId)
  @customerId = customerId
end

#CustomerIdentifier=(customerIdentifier) ⇒ Object



24
25
26
# File 'lib/Entities/instrument.rb', line 24

def CustomerIdentifier=(customerIdentifier)
  @customerIdentifier = customerIdentifier
end

#CustomFields=(customFields) ⇒ Object

Hash type



32
33
34
# File 'lib/Entities/instrument.rb', line 32

def CustomFields=(customFields) # Hash type
  @customFields = customFields
end

#FriendlyName=(friendlyName) ⇒ Object



8
9
10
# File 'lib/Entities/instrument.rb', line 8

def FriendlyName=(friendlyName)
  @friendlyName = friendlyName
end

#getCustomerIdObject

Getters



37
38
39
# File 'lib/Entities/instrument.rb', line 37

def getCustomerId
  return @customerId
end

#getCustomerIdentifierObject



57
58
59
# File 'lib/Entities/instrument.rb', line 57

def getCustomerIdentifier
  return @customerIdentifier
end

#getCustomFieldsObject



65
66
67
# File 'lib/Entities/instrument.rb', line 65

def getCustomFields
  return @customFields
end

#getFriendlyNameObject



41
42
43
# File 'lib/Entities/instrument.rb', line 41

def getFriendlyName
  return @friendlyName
end

#getIssuerBankObject



53
54
55
# File 'lib/Entities/instrument.rb', line 53

def getIssuerBank
  return @issuerBank
end

#getResponseDetailsObject



61
62
63
# File 'lib/Entities/instrument.rb', line 61

def getResponseDetails
  return @responseDetails
end

#getStatusObject



45
46
47
# File 'lib/Entities/instrument.rb', line 45

def getStatus
  return @status
end

#getTokenObject



49
50
51
# File 'lib/Entities/instrument.rb', line 49

def getToken
  return @token
end

#IssuerBank=(issuerBank) ⇒ Object



20
21
22
# File 'lib/Entities/instrument.rb', line 20

def IssuerBank=(issuerBank)
  @issuerBank = issuerBank
end

#ResponseDetails=(responseDetails) ⇒ Object

InstrumentResponse type



28
29
30
# File 'lib/Entities/instrument.rb', line 28

def ResponseDetails=(responseDetails) #InstrumentResponse type
  @responseDetails = responseDetails
end

#Status=(status) ⇒ Object



12
13
14
# File 'lib/Entities/instrument.rb', line 12

def Status=(status)
  @status = status
end

#Token=(token) ⇒ Object



16
17
18
# File 'lib/Entities/instrument.rb', line 16

def Token=(token)
  @token = token
end