Class: FinchAPI::Models::PaymentEvent::Data

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/payment_event.rb

Overview

def initialize: (Hash | FinchAPI::BaseModel) -> void

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#==, #[], coerce, #deconstruct_keys, defaults, dump, fields, #initialize, #inspect, known_fields, optional, required, reverse_map, #to_h, #to_s, try_strict_coerce

Methods included from Converter

#coerce, coerce, #dump, dump, #try_strict_coerce, try_strict_coerce, type_info

Constructor Details

This class inherits a constructor from FinchAPI::BaseModel

Instance Attribute Details

#pay_dateString

The date of the payment.

Returns:

  • (String)


37
# File 'lib/finch-api/models/payment_event.rb', line 37

required :pay_date, String

#payment_idString

The ID of the payment.

Returns:

  • (String)


43
# File 'lib/finch-api/models/payment_event.rb', line 43

required :payment_id, String