Exception: Moov::Models::Errors::TransferConfigValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Moov::Models::Errors::TransferConfigValidationError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/errors/transferconfigvalidationerror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(tip_presets_calculation_basis: nil, tip_presets_percentage_options: nil, tip_presets_fixed_amount_options: nil, raw_response: nil) ⇒ TransferConfigValidationError
constructor
A new instance of TransferConfigValidationError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(tip_presets_calculation_basis: nil, tip_presets_percentage_options: nil, tip_presets_fixed_amount_options: nil, raw_response: nil) ⇒ TransferConfigValidationError
Returns a new instance of TransferConfigValidationError.
25 26 27 28 29 30 |
# File 'lib/moov/models/errors/transferconfigvalidationerror.rb', line 25 def initialize(tip_presets_calculation_basis: nil, tip_presets_percentage_options: nil, tip_presets_fixed_amount_options: nil, raw_response: nil) @tip_presets_calculation_basis = tip_presets_calculation_basis @tip_presets_percentage_options = @tip_presets_fixed_amount_options = @raw_response = raw_response end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/moov/models/errors/transferconfigvalidationerror.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @tip_presets_calculation_basis == other.tip_presets_calculation_basis return false unless @tip_presets_percentage_options == other. return false unless @tip_presets_fixed_amount_options == other. return false unless @raw_response == other.raw_response true end |