Class: Moov::Models::Components::WebhookDataAuthorizationExpiring

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(merchant_account_id:, partner_account_id:, authorization_id:, expires_on:) ⇒ WebhookDataAuthorizationExpiring

Returns a new instance of WebhookDataAuthorizationExpiring.



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

def initialize(merchant_account_id:, partner_account_id:, authorization_id:, expires_on:)
  @merchant_account_id = 
  @partner_account_id = 
  @authorization_id = authorization_id
  @expires_on = expires_on
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @merchant_account_id == other.
  return false unless @partner_account_id == other.
  return false unless @authorization_id == other.authorization_id
  return false unless @expires_on == other.expires_on
  true
end