Exception: Moov::Models::Errors::CreateInvoicePaymentError
- Inherits:
-
StandardError
- Object
- StandardError
- Moov::Models::Errors::CreateInvoicePaymentError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/errors/createinvoicepaymenterror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(amount: nil, foreign_id: nil, description: nil, payment_date: nil, raw_response: nil) ⇒ CreateInvoicePaymentError
constructor
A new instance of CreateInvoicePaymentError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(amount: nil, foreign_id: nil, description: nil, payment_date: nil, raw_response: nil) ⇒ CreateInvoicePaymentError
Returns a new instance of CreateInvoicePaymentError.
27 28 29 30 31 32 33 |
# File 'lib/moov/models/errors/createinvoicepaymenterror.rb', line 27 def initialize(amount: nil, foreign_id: nil, description: nil, payment_date: nil, raw_response: nil) @amount = amount @foreign_id = foreign_id @description = description @payment_date = payment_date @raw_response = raw_response end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/moov/models/errors/createinvoicepaymenterror.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @amount == other.amount return false unless @foreign_id == other.foreign_id return false unless @description == other.description return false unless @payment_date == other.payment_date return false unless @raw_response == other.raw_response true end |