Class: Dinie::Events::LoanPaymentReceivedData
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::Events::LoanPaymentReceivedData
- Defined in:
- lib/dinie/generated/events/loan_payment_received.rb,
sig/dinie/generated/events/loan_payment_received.rbs
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Instance Attribute Summary collapse
-
#id ⇒ loan_id
readonly
Returns the value of attribute id.
-
#payment ⇒ LoanPayment
readonly
Returns the value of attribute payment.
-
#status ⇒ loan_status
readonly
Returns the value of attribute status.
Class Method Summary collapse
Methods inherited from Internal::Model
#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Dinie::Internal::Model
Instance Attribute Details
#id ⇒ loan_id (readonly)
Returns the value of attribute id.
15 16 17 |
# File 'sig/dinie/generated/events/loan_payment_received.rbs', line 15 def id @id end |
#payment ⇒ LoanPayment (readonly)
Returns the value of attribute payment.
16 17 18 |
# File 'sig/dinie/generated/events/loan_payment_received.rbs', line 16 def payment @payment end |
#status ⇒ loan_status (readonly)
Returns the value of attribute status.
17 18 19 |
# File 'sig/dinie/generated/events/loan_payment_received.rbs', line 17 def status @status end |
Class Method Details
.deserialize(raw) ⇒ LoanPaymentReceivedData
23 24 25 26 27 28 29 |
# File 'lib/dinie/generated/events/loan_payment_received.rb', line 23 def self.deserialize(raw) new( id: raw[:id], payment: LoanPayment.deserialize(raw[:payment]), status: raw[:status] ) end |