Class: Moov::Models::Errors::LinkCardError
- Inherits:
-
Object
- Object
- Moov::Models::Errors::LinkCardError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/errors/linkcarderror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(error: nil, e2ee: nil, card_number: nil, card_cvv: nil, expiration: nil, holder_name: nil, billing_address: nil, card_on_file: nil, merchant_account_id: nil, verify_name: nil, raw_response: nil) ⇒ LinkCardError
constructor
A new instance of LinkCardError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(error: nil, e2ee: nil, card_number: nil, card_cvv: nil, expiration: nil, holder_name: nil, billing_address: nil, card_on_file: nil, merchant_account_id: nil, verify_name: nil, raw_response: nil) ⇒ LinkCardError
Returns a new instance of LinkCardError.
40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/moov/models/errors/linkcarderror.rb', line 40 def initialize(error: nil, e2ee: nil, card_number: nil, card_cvv: nil, expiration: nil, holder_name: nil, billing_address: nil, card_on_file: nil, merchant_account_id: nil, verify_name: nil, raw_response: nil) @error = error @e2ee = e2ee @card_number = card_number @card_cvv = card_cvv @expiration = expiration @holder_name = holder_name @billing_address = billing_address @card_on_file = card_on_file @merchant_account_id = merchant_account_id @verify_name = verify_name @raw_response = raw_response end |
Instance Method Details
#==(other) ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/moov/models/errors/linkcarderror.rb', line 55 def ==(other) return false unless other.is_a? self.class return false unless @error == other.error return false unless @e2ee == other.e2ee return false unless @card_number == other.card_number return false unless @card_cvv == other.card_cvv return false unless @expiration == other.expiration return false unless @holder_name == other.holder_name return false unless @billing_address == other.billing_address return false unless @card_on_file == other.card_on_file return false unless @merchant_account_id == other.merchant_account_id return false unless @verify_name == other.verify_name return false unless @raw_response == other.raw_response true end |