Class: FinchAPI::Models::Provider::AuthenticationMethod::SupportedFields

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

Overview

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

Defined Under Namespace

Classes: Company, Directory, Employment, Individual, PayGroup, PayStatement, Payment

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amount: nil, currency: nil, employer: nil, name: nil, type: nil) ⇒ SupportedFields

Returns a new instance of SupportedFields.

Parameters:

  • amount (Boolean) (defaults to: nil)
  • currency (Boolean) (defaults to: nil)
  • employer (Boolean) (defaults to: nil)
  • name (Boolean) (defaults to: nil)
  • type (Boolean) (defaults to: nil)


11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/finch-api/models/provider.rb', line 11

def initialize(
  company: nil,
  directory: nil,
  employment: nil,
  individual: nil,
  pay_group: nil,
  pay_statement: nil,
  payment: nil,
  **
)
  super
end

Instance Attribute Details

#id=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/provider.rb', line 2

def id=(value)
  @id = value
end

#offset=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/provider.rb', line 2

def offset=(value)
  @offset = value
end

#pay_frequencies=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/provider.rb', line 2

def pay_frequencies=(value)
  @pay_frequencies = value
end

#state=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/provider.rb', line 2

def state=(value)
  @state = value
end

#type=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/provider.rb', line 2

def type=(value)
  @type = value
end