Class: Worldline::Connect::SDK::V1::Domain::LoanRecipient Deprecated
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::LoanRecipient
- Defined in:
- lib/worldline/connect/sdk/v1/domain/loan_recipient.rb
Overview
Deprecated.
No replacement
Instance Attribute Summary collapse
-
#account_number ⇒ Object
deprecated
Deprecated.
No replacement
-
#date_of_birth ⇒ Object
deprecated
Deprecated.
No replacement
-
#partial_pan ⇒ Object
deprecated
Deprecated.
No replacement
-
#surname ⇒ Object
deprecated
Deprecated.
No replacement
-
#zip ⇒ Object
deprecated
Deprecated.
No replacement
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#account_number ⇒ Object
Deprecated.
No replacement
18 19 20 |
# File 'lib/worldline/connect/sdk/v1/domain/loan_recipient.rb', line 18 def account_number @account_number end |
#date_of_birth ⇒ Object
Deprecated.
No replacement
18 19 20 |
# File 'lib/worldline/connect/sdk/v1/domain/loan_recipient.rb', line 18 def date_of_birth @date_of_birth end |
#partial_pan ⇒ Object
Deprecated.
No replacement
18 19 20 |
# File 'lib/worldline/connect/sdk/v1/domain/loan_recipient.rb', line 18 def partial_pan @partial_pan end |
#surname ⇒ Object
Deprecated.
No replacement
18 19 20 |
# File 'lib/worldline/connect/sdk/v1/domain/loan_recipient.rb', line 18 def surname @surname end |
#zip ⇒ Object
Deprecated.
No replacement
18 19 20 |
# File 'lib/worldline/connect/sdk/v1/domain/loan_recipient.rb', line 18 def zip @zip end |
Instance Method Details
#from_hash(hash) ⇒ Object
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/worldline/connect/sdk/v1/domain/loan_recipient.rb', line 46 def from_hash(hash) super if hash.has_key? 'accountNumber' @account_number = hash['accountNumber'] end if hash.has_key? 'dateOfBirth' @date_of_birth = hash['dateOfBirth'] end if hash.has_key? 'partialPan' @partial_pan = hash['partialPan'] end if hash.has_key? 'surname' @surname = hash['surname'] end if hash.has_key? 'zip' @zip = hash['zip'] end end |
#to_h ⇒ Hash
36 37 38 39 40 41 42 43 44 |
# File 'lib/worldline/connect/sdk/v1/domain/loan_recipient.rb', line 36 def to_h hash = super hash['accountNumber'] = @account_number unless @account_number.nil? hash['dateOfBirth'] = @date_of_birth unless @date_of_birth.nil? hash['partialPan'] = @partial_pan unless @partial_pan.nil? hash['surname'] = @surname unless @surname.nil? hash['zip'] = @zip unless @zip.nil? hash end |