Class: Moov::Models::Components::PartnerRiskOutcomesResponse

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

Overview

The risk rules that contributed to a transfer's risk decision.

This information has limited availability and must be enabled for your account by Moov.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(transfer_id:, contributing_rules:) ⇒ PartnerRiskOutcomesResponse

Returns a new instance of PartnerRiskOutcomesResponse.



23
24
25
26
# File 'lib/moov/models/components/partnerriskoutcomesresponse.rb', line 23

def initialize(transfer_id:, contributing_rules:)
  @transfer_id = transfer_id
  @contributing_rules = contributing_rules
end

Instance Method Details

#==(other) ⇒ Object



29
30
31
32
33
34
# File 'lib/moov/models/components/partnerriskoutcomesresponse.rb', line 29

def ==(other)
  return false unless other.is_a? self.class
  return false unless @transfer_id == other.transfer_id
  return false unless @contributing_rules == other.contributing_rules
  true
end