Class: Dinie::Events::LoanPayment
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::Events::LoanPayment
- 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
-
#amount ⇒ money
readonly
Returns the value of attribute amount.
-
#installment_number ⇒ Integer
readonly
Returns the value of attribute installment_number.
-
#paid_at ⇒ Integer
readonly
Returns the value of attribute paid_at.
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
#amount ⇒ money (readonly)
Returns the value of attribute amount.
7 8 9 |
# File 'sig/dinie/generated/events/loan_payment_received.rbs', line 7 def amount @amount end |
#installment_number ⇒ Integer (readonly)
Returns the value of attribute installment_number.
8 9 10 |
# File 'sig/dinie/generated/events/loan_payment_received.rbs', line 8 def installment_number @installment_number end |
#paid_at ⇒ Integer (readonly)
Returns the value of attribute paid_at.
9 10 11 |
# File 'sig/dinie/generated/events/loan_payment_received.rbs', line 9 def paid_at @paid_at end |
Class Method Details
.deserialize(raw) ⇒ LoanPayment
11 12 13 14 15 16 17 |
# File 'lib/dinie/generated/events/loan_payment_received.rb', line 11 def self.deserialize(raw) new( amount: raw[:amount], installment_number: raw[:installment_number], paid_at: raw[:paid_at] ) end |