Class: WhopSDK::Models::PayoutAccountRetrieveResponse::LatestVerification

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/whop_sdk/models/payout_account_retrieve_response.rb

Overview

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

#initialize(id:, last_error_code:, last_error_reason:, status:) ⇒ Object

Some parameter documentations has been truncated, see WhopSDK::Models::PayoutAccountRetrieveResponse::LatestVerification for more details.

The latest verification for the connected account.

Parameters:

  • id (String)

    The unique identifier for the verification.

  • last_error_code (Symbol, WhopSDK::Models::VerificationErrorCode, nil)

    An error code for a verification attempt.

  • last_error_reason (String, nil)

    A human-readable explanation of the most recent verification error. Null if no e

  • status (Symbol, WhopSDK::Models::VerificationStatus)

    The current status of this verification session.



# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 206

Instance Attribute Details

#idString

The unique identifier for the verification.

Returns:

  • (String)


185
# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 185

required :id, String

#last_error_codeSymbol, ...

An error code for a verification attempt.

Returns:



191
# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 191

required :last_error_code, enum: -> { WhopSDK::VerificationErrorCode }, nil?: true

#last_error_reasonString?

A human-readable explanation of the most recent verification error. Null if no error has occurred.

Returns:

  • (String, nil)


198
# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 198

required :last_error_reason, String, nil?: true

#statusSymbol, WhopSDK::Models::VerificationStatus

The current status of this verification session.



204
# File 'lib/whop_sdk/models/payout_account_retrieve_response.rb', line 204

required :status, enum: -> { WhopSDK::VerificationStatus }