Class: Moov::Models::Components::WebhookDataRefundUpdated

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account_id:, transfer_id:, refund_id:, status:) ⇒ WebhookDataRefundUpdated

Returns a new instance of WebhookDataRefundUpdated.



26
27
28
29
30
31
# File 'lib/moov/models/components/webhookdatarefundupdated.rb', line 26

def initialize(account_id:, transfer_id:, refund_id:, status:)
  @account_id = 
  @transfer_id = transfer_id
  @refund_id = refund_id
  @status = status
end

Instance Method Details

#==(other) ⇒ Object



34
35
36
37
38
39
40
41
# File 'lib/moov/models/components/webhookdatarefundupdated.rb', line 34

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @transfer_id == other.transfer_id
  return false unless @refund_id == other.refund_id
  return false unless @status == other.status
  true
end