Class: Moov::Models::Components::ApplePayMerchantDomains

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account_id:, display_name:, domains:, created_on:, updated_on:) ⇒ ApplePayMerchantDomains

Returns a new instance of ApplePayMerchantDomains.



28
29
30
31
32
33
34
# File 'lib/moov/models/components/applepaymerchantdomains.rb', line 28

def initialize(account_id:, display_name:, domains:, created_on:, updated_on:)
  @account_id = 
  @display_name = display_name
  @domains = domains
  @created_on = created_on
  @updated_on = updated_on
end

Instance Method Details

#==(other) ⇒ Object



37
38
39
40
41
42
43
44
45
# File 'lib/moov/models/components/applepaymerchantdomains.rb', line 37

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @display_name == other.display_name
  return false unless @domains == other.domains
  return false unless @created_on == other.created_on
  return false unless @updated_on == other.updated_on
  true
end