Class: Moov::Models::Errors::PatchSweepConfigError
- Inherits:
-
Object
- Object
- Moov::Models::Errors::PatchSweepConfigError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/errors/patchsweepconfigerror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, raw_response: nil) ⇒ PatchSweepConfigError
constructor
A new instance of PatchSweepConfigError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, raw_response: nil) ⇒ PatchSweepConfigError
Returns a new instance of PatchSweepConfigError.
30 31 32 33 34 35 36 37 |
# File 'lib/moov/models/errors/patchsweepconfigerror.rb', line 30 def initialize(status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, raw_response: nil) @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
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/moov/models/errors/patchsweepconfigerror.rb', line 40 def ==(other) return false unless other.is_a? self.class 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 |