Class: Moov::Models::Errors::CreateSweepConfigError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(wallet_id: nil, status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, raw_response: nil) ⇒ CreateSweepConfigError

Returns a new instance of CreateSweepConfigError.



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

def initialize(wallet_id: nil, status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, raw_response: nil)
  @wallet_id = wallet_id
  @status = status
  @push_payment_method_id = push_payment_method_id
  @pull_payment_method_id = pull_payment_method_id
  @statement_descriptor = statement_descriptor
  @minimum_balance = minimum_balance
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



43
44
45
46
47
48
49
50
51
52
53
# File 'lib/moov/models/errors/createsweepconfigerror.rb', line 43

def ==(other)
  return false unless other.is_a? self.class
  return false unless @wallet_id == other.wallet_id
  return false unless @status == other.status
  return false unless @push_payment_method_id == other.push_payment_method_id
  return false unless @pull_payment_method_id == other.pull_payment_method_id
  return false unless @statement_descriptor == other.statement_descriptor
  return false unless @minimum_balance == other.minimum_balance
  return false unless @raw_response == other.raw_response
  true
end