Class: Moov::Models::Components::WebhookDataRefundUpdated
- Inherits:
-
Object
- Object
- Moov::Models::Components::WebhookDataRefundUpdated
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/webhookdatarefundupdated.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, transfer_id:, refund_id:, status:) ⇒ WebhookDataRefundUpdated
constructor
A new instance of WebhookDataRefundUpdated.
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 = 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.account_id return false unless @transfer_id == other.transfer_id return false unless @refund_id == other.refund_id return false unless @status == other.status true end |