Class: FinchAPI::Models::PaymentEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::PaymentEvent::Data
- Defined in:
- lib/finch_api/models/payment_event.rb
Instance Attribute Summary collapse
-
#pay_date ⇒ String
The date of the payment.
-
#payment_id ⇒ String
The ID of the payment.
Instance Method Summary collapse
- #initialize(data: nil, event_type: nil) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!
Constructor Details
#initialize(data: nil, event_type: nil) ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/finch_api/models/payment_event.rb', line 20 class Data < FinchAPI::Internal::Type::BaseModel # @!attribute pay_date # The date of the payment. # # @return [String] required :pay_date, String # @!attribute payment_id # The ID of the payment. # # @return [String] required :payment_id, String # @!method initialize(pay_date:, payment_id:) # @param pay_date [String] The date of the payment. # # @param payment_id [String] The ID of the payment. end |
Instance Attribute Details
#pay_date ⇒ String
The date of the payment.
25 |
# File 'lib/finch_api/models/payment_event.rb', line 25 required :pay_date, String |
#payment_id ⇒ String
The ID of the payment.
31 |
# File 'lib/finch_api/models/payment_event.rb', line 31 required :payment_id, String |