Exception: Moov::Models::Errors::LinkGooglePayError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(error: nil, merchant_account_id: nil, payment_method_data: nil, raw_response: nil) ⇒ LinkGooglePayError

Returns a new instance of LinkGooglePayError.



25
26
27
28
29
30
# File 'lib/moov/models/errors/linkgooglepayerror.rb', line 25

def initialize(error: nil, merchant_account_id: nil, payment_method_data: nil, raw_response: nil)
  @error = error
  @merchant_account_id = 
  @payment_method_data = payment_method_data
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/moov/models/errors/linkgooglepayerror.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @error == other.error
  return false unless @merchant_account_id == other.
  return false unless @payment_method_data == other.payment_method_data
  return false unless @raw_response == other.raw_response
  true
end