Class: FinchAPI::Models::PaymentEvent
- Inherits:
-
BaseWebhookEvent
- Object
- Internal::Type::BaseModel
- BaseWebhookEvent
- FinchAPI::Models::PaymentEvent
- Defined in:
- lib/finch_api/models/payment_event.rb
Defined Under Namespace
Modules: EventType Classes: Data
Instance Attribute Summary collapse
Attributes inherited from BaseWebhookEvent
#account_id, #company_id, #connection_id
Instance Method Summary collapse
- #initialize(pay_date: , payment_id: ) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, dump, fields, hash, #hash, inspect, #inspect, known_fields, optional, required, #to_h, #to_json, #to_s, #to_yaml, walk
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Constructor Details
#initialize(pay_date: , payment_id: ) ⇒ Object
|
|
# File 'lib/finch_api/models/payment_event.rb', line 33
|
Instance Attribute Details
#data ⇒ FinchAPI::PaymentEvent::Data?
9 |
# File 'lib/finch_api/models/payment_event.rb', line 9 optional :data, -> { FinchAPI::PaymentEvent::Data } |
#event_type ⇒ Symbol, ...
14 |
# File 'lib/finch_api/models/payment_event.rb', line 14 optional :event_type, enum: -> { FinchAPI::PaymentEvent::EventType } |