Class: Moov::Models::Components::WebhookDataDisputeCreated
- Inherits:
-
Object
- Object
- Moov::Models::Components::WebhookDataDisputeCreated
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/webhookdatadisputecreated.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, transfer_id:, transaction_id:, dispute_id:, status:, phase:) ⇒ WebhookDataDisputeCreated
constructor
A new instance of WebhookDataDisputeCreated.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, transfer_id:, transaction_id:, dispute_id:, status:, phase:) ⇒ WebhookDataDisputeCreated
Returns a new instance of WebhookDataDisputeCreated.
32 33 34 35 36 37 38 39 |
# File 'lib/moov/models/components/webhookdatadisputecreated.rb', line 32 def initialize(account_id:, transfer_id:, transaction_id:, dispute_id:, status:, phase:) @account_id = account_id @transfer_id = transfer_id @transaction_id = transaction_id @dispute_id = dispute_id @status = status @phase = phase end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/moov/models/components/webhookdatadisputecreated.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @transfer_id == other.transfer_id return false unless @transaction_id == other.transaction_id return false unless @dispute_id == other.dispute_id return false unless @status == other.status return false unless @phase == other.phase true end |