Class: Moov::Models::Components::ResolutionLink

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/components/resolutionlink.rb

Overview

A temporary, secure link sent to a merchant to resolve account requirements such as KYC verification or document uploads.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(code:, account_id:, partner_account_id:, recipient:, url:, created_on:, updated_on:, expires_on:, disabled_on: nil) ⇒ ResolutionLink

Returns a new instance of ResolutionLink.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/moov/models/components/resolutionlink.rb', line 35

def initialize(code:, account_id:, partner_account_id:, recipient:, url:, created_on:, updated_on:, expires_on:, disabled_on: nil)
  @code = code
  @account_id = 
  @partner_account_id = 
  @recipient = recipient
  @url = url
  @created_on = created_on
  @updated_on = updated_on
  @expires_on = expires_on
  @disabled_on = disabled_on
end

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/moov/models/components/resolutionlink.rb', line 48

def ==(other)
  return false unless other.is_a? self.class
  return false unless @code == other.code
  return false unless @account_id == other.
  return false unless @partner_account_id == other.
  return false unless @recipient == other.recipient
  return false unless @url == other.url
  return false unless @created_on == other.created_on
  return false unless @updated_on == other.updated_on
  return false unless @expires_on == other.expires_on
  return false unless @disabled_on == other.disabled_on
  true
end