Class: WhopSDK::Models::FinancialActivityListResponse::Data::Source::PayoutDestination

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/financial_activity_list_response.rb,
sig/whop_sdk/models/financial_activity_list_response.rbs

Overview

See Also:

  • WhopSDK::Models::FinancialActivityListResponse::Data::Source#payout_destination

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializePayoutDestination

Returns a new instance of PayoutDestination.

Parameters:

  • icon_url: (String, nil)
  • payer_name: (String, nil)


791
# File 'sig/whop_sdk/models/financial_activity_list_response.rbs', line 791

def initialize: (?icon_url: String?, ?payer_name: String?) -> void

Instance Attribute Details

#icon_urlString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1007
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 1007

optional :icon_url, String, nil?: true

#payer_nameString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


1012
# File 'lib/whop_sdk/models/financial_activity_list_response.rb', line 1012

optional :payer_name, String, nil?: true

Instance Method Details

#to_hash{ icon_url: String?, payer_name: String? }

Returns:

  • ({ icon_url: String?, payer_name: String? })


793
# File 'sig/whop_sdk/models/financial_activity_list_response.rbs', line 793

def to_hash: -> { icon_url: String?, payer_name: String? }