Class: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/finch_api/models/account_update_event.rb,
sig/finch_api/models/account_update_event.rbs

Overview

See Also:

  • FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment#pay_period

Instance Attribute Summary collapse

Instance Method Summary collapse

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_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializePayPeriod

Returns a new instance of PayPeriod.

Parameters:

  • end_date: (Boolean)
  • start_date: (Boolean)


1406
# File 'sig/finch_api/models/account_update_event.rbs', line 1406

def initialize: (?end_date: bool, ?start_date: bool) -> void

Instance Attribute Details

#end_dateBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1118
# File 'lib/finch_api/models/account_update_event.rb', line 1118

optional :end_date, FinchAPI::Internal::Type::Boolean

#start_dateBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1123
# File 'lib/finch_api/models/account_update_event.rb', line 1123

optional :start_date, FinchAPI::Internal::Type::Boolean

Instance Method Details

#to_hash{ end_date: bool, start_date: bool }

Returns:

  • ({ end_date: bool, start_date: bool })


1408
# File 'sig/finch_api/models/account_update_event.rbs', line 1408

def to_hash: -> { end_date: bool, start_date: bool }