Class: OpenApiSDK::Models::Operations::ListPayoutsPartner

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/open_api_sdk/models/operations/listpayouts_partner.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, name:, email: nil, image: nil, default_payout_method: nil, payouts_enabled_at: nil, country: nil, tenant_id: nil, group_id: nil) ⇒ ListPayoutsPartner

Returns a new instance of ListPayoutsPartner.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/open_api_sdk/models/operations/listpayouts_partner.rb', line 35

def initialize(id:, name:, email: nil, image: nil, default_payout_method: nil, payouts_enabled_at: nil, country: nil, tenant_id: nil, group_id: nil)
  @id = id
  @name = name
  @email = email
  @image = image
  @default_payout_method = default_payout_method
  @payouts_enabled_at = payouts_enabled_at
  @country = country
  @tenant_id = tenant_id
  @group_id = group_id
end

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/open_api_sdk/models/operations/listpayouts_partner.rb', line 48

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @name == other.name
  return false unless @email == other.email
  return false unless @image == other.image
  return false unless @default_payout_method == other.default_payout_method
  return false unless @payouts_enabled_at == other.payouts_enabled_at
  return false unless @country == other.country
  return false unless @tenant_id == other.tenant_id
  return false unless @group_id == other.group_id
  true
end