Class: Moov::Models::Errors::UpdateCardError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(e2ee: nil, billing_address: nil, expiration: nil, card_cvv: nil, card_on_file: nil, merchant_account_id: nil, verify_name: nil, holder_name: nil, raw_response: nil) ⇒ UpdateCardError

Returns a new instance of UpdateCardError.



36
37
38
39
40
41
42
43
44
45
46
# File 'lib/moov/models/errors/updatecarderror.rb', line 36

def initialize(e2ee: nil, billing_address: nil, expiration: nil, card_cvv: nil, card_on_file: nil, merchant_account_id: nil, verify_name: nil, holder_name: nil, raw_response: nil)
  @e2ee = e2ee
  @billing_address = billing_address
  @expiration = expiration
  @card_cvv = card_cvv
  @card_on_file = card_on_file
  @merchant_account_id = 
  @verify_name = verify_name
  @holder_name = holder_name
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/moov/models/errors/updatecarderror.rb', line 49

def ==(other)
  return false unless other.is_a? self.class
  return false unless @e2ee == other.e2ee
  return false unless @billing_address == other.billing_address
  return false unless @expiration == other.expiration
  return false unless @card_cvv == other.card_cvv
  return false unless @card_on_file == other.card_on_file
  return false unless @merchant_account_id == other.
  return false unless @verify_name == other.verify_name
  return false unless @holder_name == other.holder_name
  return false unless @raw_response == other.raw_response
  true
end