Class: MethodRuby::Internal::Type::BaseModel Abstract

Inherits:
Object
  • Object
show all
Extended by:
Converter, Util::SorbetRuntimeSupport
Defined in:
lib/method_ruby/internal/type/base_model.rb

Overview

This class is abstract.

Direct Known Subclasses

Models::AccountCreateParams, Models::AccountCreateParams::Body::ACH, Models::AccountCreateParams::Body::ACH::ACH, Models::AccountCreateParams::Body::Clearing, Models::AccountCreateParams::Body::Clearing::Clearing, Models::AccountCreateParams::Body::DebitCard, Models::AccountCreateParams::Body::DebitCard::DebitCard, Models::AccountCreateParams::Body::Liability, Models::AccountCreateParams::Body::Liability::Liability, Models::AccountCreateParams::Body::Liability::Liability::CreditCard, Models::AccountCreateResponse, Models::AccountCreateResponse::Data::AccountACHResource, Models::AccountCreateResponse::Data::AccountACHResource::ACH, Models::AccountCreateResponse::Data::AccountACHResource::Attribute::AccountAttribute, Models::AccountCreateResponse::Data::AccountACHResource::Balance::AccountBalance, Models::AccountCreateResponse::Data::AccountACHResource::Balance::AccountBalance::Error, Models::AccountCreateResponse::Data::AccountACHResource::CardBrand::AccountCardBrand, Models::AccountCreateResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Brand, Models::AccountCreateResponse::Data::AccountACHResource::Clearing, Models::AccountCreateResponse::Data::AccountACHResource::DebitCard, Models::AccountCreateResponse::Data::AccountACHResource::Error, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Error, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Network, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::AccountCreateResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::AccountCreateResponse::Data::AccountACHResource::Liability, Models::AccountCreateResponse::Data::AccountACHResource::Liability::MchID::Merchant, Models::AccountCreateResponse::Data::AccountACHResource::Liability::MchID::Merchant::ProviderIDs, Models::AccountCreateResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument, Models::AccountCreateResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::AccountCreateResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::AccountCreateResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::AccountCreateResponse::Data::AccountACHResource::Payoff::AccountPayoff, Models::AccountCreateResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error, Models::AccountCreateResponse::Data::AccountACHResource::Sensitive::AccountSensitive, Models::AccountCreateResponse::Data::AccountACHResource::Sensitive::AccountSensitive::Error, Models::AccountCreateResponse::Data::AccountACHResource::Sensitive::AccountSensitive::Field, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::AutoLoan, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::Bnpl, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::CreditCard, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::Error, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::Fintech, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::Mortgage, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::PersonalLoan, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::StudentLoan, Models::AccountCreateResponse::Data::AccountACHResource::Update::AccountUpdate::StudentLoans, Models::AccountCreateResponse::Data::AccountClearingResource, Models::AccountCreateResponse::Data::AccountClearingResource::ACH, Models::AccountCreateResponse::Data::AccountClearingResource::Attribute::AccountAttribute, Models::AccountCreateResponse::Data::AccountClearingResource::Balance::AccountBalance, Models::AccountCreateResponse::Data::AccountClearingResource::Balance::AccountBalance::Error, Models::AccountCreateResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand, Models::AccountCreateResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Brand, Models::AccountCreateResponse::Data::AccountClearingResource::Clearing, Models::AccountCreateResponse::Data::AccountClearingResource::DebitCard, Models::AccountCreateResponse::Data::AccountClearingResource::Error, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Error, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Network, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::AccountCreateResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::AccountCreateResponse::Data::AccountClearingResource::Liability, Models::AccountCreateResponse::Data::AccountClearingResource::Liability::MchID::Merchant, Models::AccountCreateResponse::Data::AccountClearingResource::Liability::MchID::Merchant::ProviderIDs, Models::AccountCreateResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument, Models::AccountCreateResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::AccountCreateResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::AccountCreateResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::AccountCreateResponse::Data::AccountClearingResource::Payoff::AccountPayoff, Models::AccountCreateResponse::Data::AccountClearingResource::Payoff::AccountPayoff::Error, Models::AccountCreateResponse::Data::AccountClearingResource::Sensitive::AccountSensitive, Models::AccountCreateResponse::Data::AccountClearingResource::Sensitive::AccountSensitive::Error, Models::AccountCreateResponse::Data::AccountClearingResource::Sensitive::AccountSensitive::Field, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::AutoLoan, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::Bnpl, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::CreditCard, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::Error, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::Fintech, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::Mortgage, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::PersonalLoan, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::StudentLoan, Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::StudentLoans, Models::AccountCreateResponse::Data::AccountDebitCardResource, Models::AccountCreateResponse::Data::AccountDebitCardResource::ACH, Models::AccountCreateResponse::Data::AccountDebitCardResource::Attribute::AccountAttribute, Models::AccountCreateResponse::Data::AccountDebitCardResource::Balance::AccountBalance, Models::AccountCreateResponse::Data::AccountDebitCardResource::Balance::AccountBalance::Error, Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand, Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Brand, Models::AccountCreateResponse::Data::AccountDebitCardResource::Clearing, Models::AccountCreateResponse::Data::AccountDebitCardResource::DebitCard, Models::AccountCreateResponse::Data::AccountDebitCardResource::Error, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Error, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Network, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::AccountCreateResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::AccountCreateResponse::Data::AccountDebitCardResource::Liability, Models::AccountCreateResponse::Data::AccountDebitCardResource::Liability::MchID::Merchant, Models::AccountCreateResponse::Data::AccountDebitCardResource::Liability::MchID::Merchant::ProviderIDs, Models::AccountCreateResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument, Models::AccountCreateResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::AccountCreateResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::AccountCreateResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::AccountCreateResponse::Data::AccountDebitCardResource::Payoff::AccountPayoff, Models::AccountCreateResponse::Data::AccountDebitCardResource::Payoff::AccountPayoff::Error, Models::AccountCreateResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive, Models::AccountCreateResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive::Error, Models::AccountCreateResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive::Field, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::AutoLoan, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Bnpl, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::CreditCard, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Error, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Fintech, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Mortgage, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::PersonalLoan, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::StudentLoan, Models::AccountCreateResponse::Data::AccountDebitCardResource::Update::AccountUpdate::StudentLoans, Models::AccountCreateResponse::Data::AccountLiabilityResource, Models::AccountCreateResponse::Data::AccountLiabilityResource::ACH, Models::AccountCreateResponse::Data::AccountLiabilityResource::Attribute::AccountAttribute, Models::AccountCreateResponse::Data::AccountLiabilityResource::Balance::AccountBalance, Models::AccountCreateResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error, Models::AccountCreateResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand, Models::AccountCreateResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Brand, Models::AccountCreateResponse::Data::AccountLiabilityResource::Clearing, Models::AccountCreateResponse::Data::AccountLiabilityResource::DebitCard, Models::AccountCreateResponse::Data::AccountLiabilityResource::Error, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Error, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Network, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::AccountCreateResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::AccountCreateResponse::Data::AccountLiabilityResource::Liability, Models::AccountCreateResponse::Data::AccountLiabilityResource::Liability::MchID::Merchant, Models::AccountCreateResponse::Data::AccountLiabilityResource::Liability::MchID::Merchant::ProviderIDs, Models::AccountCreateResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument, Models::AccountCreateResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::AccountCreateResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::AccountCreateResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::AccountCreateResponse::Data::AccountLiabilityResource::Payoff::AccountPayoff, Models::AccountCreateResponse::Data::AccountLiabilityResource::Payoff::AccountPayoff::Error, Models::AccountCreateResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive, Models::AccountCreateResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive::Error, Models::AccountCreateResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive::Field, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::AutoLoan, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Bnpl, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::CreditCard, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Error, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Fintech, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Mortgage, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::PersonalLoan, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::StudentLoan, Models::AccountCreateResponse::Data::AccountLiabilityResource::Update::AccountUpdate::StudentLoans, Models::AccountListParams, Models::AccountListParams::Liability, Models::AccountListResponse, Models::AccountRetrieveParams, Models::AccountRetrieveResponse, Models::AccountRetrieveResponse::Data::AccountACHResource, Models::AccountRetrieveResponse::Data::AccountACHResource::ACH, Models::AccountRetrieveResponse::Data::AccountACHResource::Attribute::AccountAttribute, Models::AccountRetrieveResponse::Data::AccountACHResource::Balance::AccountBalance, Models::AccountRetrieveResponse::Data::AccountACHResource::Balance::AccountBalance::Error, Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand, Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Brand, Models::AccountRetrieveResponse::Data::AccountACHResource::Clearing, Models::AccountRetrieveResponse::Data::AccountACHResource::DebitCard, Models::AccountRetrieveResponse::Data::AccountACHResource::Error, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Error, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Network, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::AccountRetrieveResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::AccountRetrieveResponse::Data::AccountACHResource::Liability, Models::AccountRetrieveResponse::Data::AccountACHResource::Liability::MchID::Merchant, Models::AccountRetrieveResponse::Data::AccountACHResource::Liability::MchID::Merchant::ProviderIDs, Models::AccountRetrieveResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument, Models::AccountRetrieveResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::AccountRetrieveResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::AccountRetrieveResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::AccountRetrieveResponse::Data::AccountACHResource::Payoff::AccountPayoff, Models::AccountRetrieveResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error, Models::AccountRetrieveResponse::Data::AccountACHResource::Sensitive::AccountSensitive, Models::AccountRetrieveResponse::Data::AccountACHResource::Sensitive::AccountSensitive::Error, Models::AccountRetrieveResponse::Data::AccountACHResource::Sensitive::AccountSensitive::Field, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::AutoLoan, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::Bnpl, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::CreditCard, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::Error, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::Fintech, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::Mortgage, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::PersonalLoan, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::StudentLoan, Models::AccountRetrieveResponse::Data::AccountACHResource::Update::AccountUpdate::StudentLoans, Models::AccountRetrieveResponse::Data::AccountClearingResource, Models::AccountRetrieveResponse::Data::AccountClearingResource::ACH, Models::AccountRetrieveResponse::Data::AccountClearingResource::Attribute::AccountAttribute, Models::AccountRetrieveResponse::Data::AccountClearingResource::Balance::AccountBalance, Models::AccountRetrieveResponse::Data::AccountClearingResource::Balance::AccountBalance::Error, Models::AccountRetrieveResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand, Models::AccountRetrieveResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Brand, Models::AccountRetrieveResponse::Data::AccountClearingResource::Clearing, Models::AccountRetrieveResponse::Data::AccountClearingResource::DebitCard, Models::AccountRetrieveResponse::Data::AccountClearingResource::Error, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Error, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Network, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::AccountRetrieveResponse::Data::AccountClearingResource::Liability, Models::AccountRetrieveResponse::Data::AccountClearingResource::Liability::MchID::Merchant, Models::AccountRetrieveResponse::Data::AccountClearingResource::Liability::MchID::Merchant::ProviderIDs, Models::AccountRetrieveResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument, Models::AccountRetrieveResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::AccountRetrieveResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::AccountRetrieveResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::AccountRetrieveResponse::Data::AccountClearingResource::Payoff::AccountPayoff, Models::AccountRetrieveResponse::Data::AccountClearingResource::Payoff::AccountPayoff::Error, Models::AccountRetrieveResponse::Data::AccountClearingResource::Sensitive::AccountSensitive, Models::AccountRetrieveResponse::Data::AccountClearingResource::Sensitive::AccountSensitive::Error, Models::AccountRetrieveResponse::Data::AccountClearingResource::Sensitive::AccountSensitive::Field, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::AutoLoan, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::Bnpl, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::CreditCard, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::Error, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::Fintech, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::Mortgage, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::PersonalLoan, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::StudentLoan, Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::StudentLoans, Models::AccountRetrieveResponse::Data::AccountDebitCardResource, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::ACH, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Attribute::AccountAttribute, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Balance::AccountBalance, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Balance::AccountBalance::Error, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Brand, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Clearing, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::DebitCard, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Error, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Error, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Network, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Liability, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Liability::MchID::Merchant, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Liability::MchID::Merchant::ProviderIDs, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Payoff::AccountPayoff, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Payoff::AccountPayoff::Error, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive::Error, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive::Field, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::AutoLoan, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Bnpl, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::CreditCard, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Error, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Fintech, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Mortgage, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::PersonalLoan, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::StudentLoan, Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::StudentLoans, Models::AccountRetrieveResponse::Data::AccountLiabilityResource, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::ACH, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Attribute::AccountAttribute, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Brand, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Clearing, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::DebitCard, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Error, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Error, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Network, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Liability, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Liability::MchID::Merchant, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Liability::MchID::Merchant::ProviderIDs, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Payoff::AccountPayoff, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Payoff::AccountPayoff::Error, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive::Error, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive::Field, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::AutoLoan, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Bnpl, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::CreditCard, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Error, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Fintech, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Mortgage, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::PersonalLoan, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::StudentLoan, Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Update::AccountUpdate::StudentLoans, Models::AccountUpdateParams, Models::AccountUpdateParams::Liability, Models::AccountUpdateParams::Liability::CreditCard, Models::AccountUpdateParams::Liability::Mortgage, Models::AccountUpdateResponse, Models::Accounts::AttributeCreateParams, Models::Accounts::AttributeCreateResponse, Models::Accounts::AttributeListParams, Models::Accounts::AttributeListResponse, Models::Accounts::AttributeRetrieveParams, Models::Accounts::AttributeRetrieveResponse, Models::Accounts::BalanceCreateParams, Models::Accounts::BalanceCreateResponse, Models::Accounts::BalanceListParams, Models::Accounts::BalanceListResponse, Models::Accounts::BalanceRetrieveParams, Models::Accounts::BalanceRetrieveResponse, Models::Accounts::CardBrandCreateParams, Models::Accounts::CardBrandCreateResponse, Models::Accounts::CardBrandListParams, Models::Accounts::CardBrandListResponse, Models::Accounts::CardBrandRetrieveParams, Models::Accounts::CardBrandRetrieveResponse, Models::Accounts::ConsentWithdrawParams, Models::Accounts::ConsentWithdrawResponse, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::ACH, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Attribute::AccountAttribute, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Balance::AccountBalance, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Balance::AccountBalance::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::CardBrand::AccountCardBrand, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Brand, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Clearing, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::DebitCard, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Network, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Liability, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Liability::MchID::Merchant, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Liability::MchID::Merchant::ProviderIDs, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Sensitive::AccountSensitive, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Sensitive::AccountSensitive::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Sensitive::AccountSensitive::Field, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::AutoLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::Bnpl, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::CreditCard, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::Fintech, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::Mortgage, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::PersonalLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::StudentLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Update::AccountUpdate::StudentLoans, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::ACH, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Attribute::AccountAttribute, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Balance::AccountBalance, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Balance::AccountBalance::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Brand, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Clearing, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::DebitCard, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Network, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::MchID::Merchant, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::MchID::Merchant::ProviderIDs, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Payoff::AccountPayoff, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Payoff::AccountPayoff::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Sensitive::AccountSensitive, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Sensitive::AccountSensitive::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Sensitive::AccountSensitive::Field, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::AutoLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::Bnpl, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::CreditCard, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::Fintech, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::Mortgage, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::PersonalLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::StudentLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::StudentLoans, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::ACH, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Attribute::AccountAttribute, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Balance::AccountBalance, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Balance::AccountBalance::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Brand, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Clearing, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::DebitCard, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Network, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Liability, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Liability::MchID::Merchant, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Liability::MchID::Merchant::ProviderIDs, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Payoff::AccountPayoff, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Payoff::AccountPayoff::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive::Field, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::AutoLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Bnpl, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::CreditCard, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Fintech, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::Mortgage, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::PersonalLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::StudentLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Update::AccountUpdate::StudentLoans, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::ACH, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Attribute::AccountAttribute, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Balance::AccountBalance, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Brand, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Clearing, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::DebitCard, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Network, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Liability, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Liability::MchID::Merchant, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Liability::MchID::Merchant::ProviderIDs, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Payoff::AccountPayoff, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Payoff::AccountPayoff::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Sensitive::AccountSensitive::Field, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::AutoLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Bnpl, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::CreditCard, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Error, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Fintech, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::Mortgage, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::PersonalLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::StudentLoan, Models::Accounts::ConsentWithdrawResponse::Data::AccountLiabilityResource::Update::AccountUpdate::StudentLoans, Models::Accounts::PaymentInstrumentCreateParams, Models::Accounts::PaymentInstrumentCreateResponse, Models::Accounts::PaymentInstrumentDeleteParams, Models::Accounts::PaymentInstrumentDeleteResponse, Models::Accounts::PaymentInstrumentListParams, Models::Accounts::PaymentInstrumentListResponse, Models::Accounts::PaymentInstrumentRetrieveParams, Models::Accounts::PaymentInstrumentRetrieveResponse, Models::Accounts::PayoffCreateParams, Models::Accounts::PayoffCreateResponse, Models::Accounts::PayoffListParams, Models::Accounts::PayoffListResponse, Models::Accounts::PayoffRetrieveParams, Models::Accounts::PayoffRetrieveResponse, Models::Accounts::ProductListParams, Models::Accounts::ProductListResponse, Models::Accounts::ProductRetrieveParams, Models::Accounts::ProductRetrieveResponse, Models::Accounts::SensitiveCreateParams, Models::Accounts::SensitiveCreateResponse, Models::Accounts::SensitiveListParams, Models::Accounts::SensitiveListResponse, Models::Accounts::SensitiveRetrieveParams, Models::Accounts::SensitiveRetrieveResponse, Models::Accounts::SubscriptionCreateParams, Models::Accounts::SubscriptionCreateResponse, Models::Accounts::SubscriptionDeleteParams, Models::Accounts::SubscriptionDeleteResponse, Models::Accounts::SubscriptionListParams, Models::Accounts::SubscriptionListResponse, Models::Accounts::SubscriptionRetrieveParams, Models::Accounts::SubscriptionRetrieveResponse, Models::Accounts::TransactionListParams, Models::Accounts::TransactionListResponse, Models::Accounts::TransactionRetrieveParams, Models::Accounts::TransactionRetrieveResponse, Models::Accounts::UpdateCreateParams, Models::Accounts::UpdateCreateResponse, Models::Accounts::UpdateListParams, Models::Accounts::UpdateListResponse, Models::Accounts::UpdateRetrieveParams, Models::Accounts::UpdateRetrieveResponse, Models::Accounts::VerificationSessionCreateParams, Models::Accounts::VerificationSessionCreateResponse, Models::Accounts::VerificationSessionListParams, Models::Accounts::VerificationSessionListResponse, Models::Accounts::VerificationSessionRetrieveParams, Models::Accounts::VerificationSessionRetrieveResponse, Models::Accounts::VerificationSessionUpdateParams, Models::Accounts::VerificationSessionUpdateParams::Instant, Models::Accounts::VerificationSessionUpdateParams::MicroDeposits, Models::Accounts::VerificationSessionUpdateParams::Mx, Models::Accounts::VerificationSessionUpdateParams::Network, Models::Accounts::VerificationSessionUpdateParams::Plaid, Models::Accounts::VerificationSessionUpdateParams::PreAuth, Models::Accounts::VerificationSessionUpdateParams::Standard, Models::Accounts::VerificationSessionUpdateParams::Teller, Models::Accounts::VerificationSessionUpdateResponse, Models::Accounts::VerificationSessions::AmountRetrieveParams, Models::Accounts::VerificationSessions::AmountRetrieveResponse, Models::Address, Models::CardProductRetrieveParams, Models::CardProductRetrieveResponse, Models::Entities::AttributeCreateParams, Models::Entities::AttributeCreateResponse, Models::Entities::AttributeListParams, Models::Entities::AttributeListResponse, Models::Entities::AttributeRetrieveParams, Models::Entities::AttributeRetrieveResponse, Models::Entities::ConnectCreateParams, Models::Entities::ConnectCreateResponse, Models::Entities::ConnectListParams, Models::Entities::ConnectListResponse, Models::Entities::ConnectRetrieveParams, Models::Entities::ConnectRetrieveResponse, Models::Entities::ConsentWithdrawParams, Models::Entities::ConsentWithdrawResponse, Models::Entities::CreditScoreCreateParams, Models::Entities::CreditScoreCreateResponse, Models::Entities::CreditScoreListParams, Models::Entities::CreditScoreListResponse, Models::Entities::CreditScoreRetrieveParams, Models::Entities::CreditScoreRetrieveResponse, Models::Entities::IdentityCreateParams, Models::Entities::IdentityCreateResponse, Models::Entities::IdentityListParams, Models::Entities::IdentityListResponse, Models::Entities::IdentityRetrieveParams, Models::Entities::IdentityRetrieveResponse, Models::Entities::ManualConnectCreateParams, Models::Entities::ManualConnectCreateParams::Tradeline, Models::Entities::ManualConnectCreateParams::Tradeline::NarrativeCode, Models::Entities::ManualConnectCreateResponse, Models::Entities::ManualConnectRetrieveParams, Models::Entities::ManualConnectRetrieveResponse, Models::Entities::ProductListParams, Models::Entities::ProductListResponse, Models::Entities::ProductRetrieveParams, Models::Entities::ProductRetrieveResponse, Models::Entities::SubscriptionCreateParams, Models::Entities::SubscriptionCreateParams::Payload, Models::Entities::SubscriptionCreateParams::Payload::Attributes, Models::Entities::SubscriptionCreateResponse, Models::Entities::SubscriptionDeleteParams, Models::Entities::SubscriptionDeleteResponse, Models::Entities::SubscriptionListParams, Models::Entities::SubscriptionListResponse, Models::Entities::SubscriptionRetrieveParams, Models::Entities::SubscriptionRetrieveResponse, Models::Entities::VehicleCreateParams, Models::Entities::VehicleCreateResponse, Models::Entities::VehicleListParams, Models::Entities::VehicleListResponse, Models::Entities::VehicleRetrieveParams, Models::Entities::VehicleRetrieveResponse, Models::Entities::VerificationSessionCreateParams, Models::Entities::VerificationSessionCreateParams::ByoSMS, Models::Entities::VerificationSessionCreateResponse, Models::Entities::VerificationSessionListParams, Models::Entities::VerificationSessionListResponse, Models::Entities::VerificationSessionRetrieveParams, Models::Entities::VerificationSessionRetrieveResponse, Models::Entities::VerificationSessionUpdateParams, Models::Entities::VerificationSessionUpdateParams::Kba, Models::Entities::VerificationSessionUpdateParams::Kba::Answer, Models::Entities::VerificationSessionUpdateParams::SMS, Models::Entities::VerificationSessionUpdateResponse, Models::Entity::EntityCorporationResource, Models::Entity::EntityCorporationResource::Error, Models::Entity::EntityIndividualResource, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthCreditAge, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthCreditCardUsage, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthDerogatoryMarks, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthEntityDelinquent, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthHardInquiries, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthOpenAccounts, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthPaymentHistory, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthSoftInquiries, Models::Entity::EntityIndividualResource::Attribute::EntityAttribute::Attributes::CreditHealthTotalAccounts, Models::Entity::EntityIndividualResource::Connect::EntityConnect, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::ACH, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Attribute::AccountAttribute, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Balance::AccountBalance, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Balance::AccountBalance::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::CardBrand::AccountCardBrand, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::CardBrand::AccountCardBrand::Brand, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Clearing, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::DebitCard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Network, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Liability, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Liability::MchID::Merchant, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Liability::MchID::Merchant::ProviderIDs, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::PaymentInstrument::AccountPaymentInstrument, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Payoff::AccountPayoff, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Payoff::AccountPayoff::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Sensitive::AccountSensitive, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Sensitive::AccountSensitive::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Sensitive::AccountSensitive::Field, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::AutoLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::Bnpl, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::CreditCard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::Fintech, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::Mortgage, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::PersonalLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::StudentLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::Update::AccountUpdate::StudentLoans, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::ACH, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Attribute::AccountAttribute, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Balance::AccountBalance, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Balance::AccountBalance::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::CardBrand::AccountCardBrand, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::CardBrand::AccountCardBrand::Brand, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Clearing, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::DebitCard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Network, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Liability, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Liability::MchID::Merchant, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Liability::MchID::Merchant::ProviderIDs, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Payoff::AccountPayoff, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Payoff::AccountPayoff::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Sensitive::AccountSensitive, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Sensitive::AccountSensitive::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Sensitive::AccountSensitive::Field, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::AutoLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::Bnpl, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::CreditCard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::Fintech, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::Mortgage, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::PersonalLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::StudentLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountClearingResource::Update::AccountUpdate::StudentLoans, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::ACH, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Attribute::AccountAttribute, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Balance::AccountBalance, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Balance::AccountBalance::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::CardBrand::AccountCardBrand, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::CardBrand::AccountCardBrand::Brand, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Clearing, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::DebitCard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Network, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Liability, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Liability::MchID::Merchant, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Liability::MchID::Merchant::ProviderIDs, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Payoff::AccountPayoff, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Payoff::AccountPayoff::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Sensitive::AccountSensitive, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Sensitive::AccountSensitive::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Sensitive::AccountSensitive::Field, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::AutoLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::Bnpl, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::CreditCard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::Fintech, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::Mortgage, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::PersonalLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::StudentLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountDebitCardResource::Update::AccountUpdate::StudentLoans, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::ACH, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Attribute::AccountAttribute, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Balance::AccountBalance, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Balance::AccountBalance::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::CardBrand::AccountCardBrand, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::CardBrand::AccountCardBrand::Brand, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Clearing, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::DebitCard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Instant, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::MicroDeposits, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Mx, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Network, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Plaid, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::PreAuth, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Standard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::LatestVerificationSession::AccountVerificationSession::Teller, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Liability, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Liability::MchID::Merchant, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Liability::MchID::Merchant::ProviderIDs, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::Card, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Payoff::AccountPayoff, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Payoff::AccountPayoff::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Sensitive::AccountSensitive, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Sensitive::AccountSensitive::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Sensitive::AccountSensitive::Field, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::AutoLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::Bnpl, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::CreditCard, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::Error, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::Fintech, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::Mortgage, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::PersonalLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::StudentLoan, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::Update::AccountUpdate::StudentLoans, Models::Entity::EntityIndividualResource::Connect::EntityConnect::Error, Models::Entity::EntityIndividualResource::CreditScore::EntityCreditScore, Models::Entity::EntityIndividualResource::CreditScore::EntityCreditScore::Error, Models::Entity::EntityIndividualResource::CreditScore::EntityCreditScore::Score, Models::Entity::EntityIndividualResource::CreditScore::EntityCreditScore::Score::Factor, Models::Entity::EntityIndividualResource::Error, Models::Entity::EntityIndividualResource::Vehicle::EntityVehicle, Models::Entity::EntityIndividualResource::Vehicle::EntityVehicle::Vehicle, Models::Entity::EntityIndividualResource::Verification, Models::Entity::EntityIndividualResource::Verification::Identity, Models::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession, Models::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession::EntityVerificationSession::Error, Models::Entity::EntityIndividualResource::Verification::Phone, Models::Entity::EntityIndividualResource::Verification::Phone::LatestVerificationSession::EntityVerificationSession, Models::Entity::EntityIndividualResource::Verification::Phone::LatestVerificationSession::EntityVerificationSession::Error, Models::EntityCorporation, Models::EntityCorporationOwner, Models::EntityCreateParams, Models::EntityCreateParams::Body::Corporation, Models::EntityCreateParams::Body::Corporation::Corporation, Models::EntityCreateParams::Body::Individual, Models::EntityCreateParams::Body::Individual::Individual, Models::EntityCreateResponse, Models::EntityIndividual, Models::EntityListParams, Models::EntityListResponse, Models::EntityRetrieveParams, Models::EntityRetrieveResponse, Models::EntityUpdateParams, Models::EntityUpdateParams::Corporation, Models::EntityUpdateParams::Individual, Models::EntityUpdateResponse, Models::EventListParams, Models::EventListResponse, Models::EventRetrieveParams, Models::EventRetrieveResponse, Models::ForwardingRequestCreateParams, Models::ForwardingRequestCreateResponse, Models::ForwardingRequestRetrieveParams, Models::ForwardingRequestRetrieveResponse, Models::ManagedAccountListParams, Models::ManagedAccountListResponse, Models::ManagedAccountRetrieveParams, Models::ManagedAccountRetrieveResponse, Models::ManagedAccounts::TransactionListParams, Models::ManagedAccounts::TransactionListResponse, Models::MerchantListParams, Models::MerchantListResponse, Models::MerchantRetrieveParams, Models::MerchantRetrieveResponse, Models::PaymentCreateParams, Models::PaymentCreateParams::Fee, Models::PaymentCreateResponse, Models::PaymentDeleteParams, Models::PaymentDeleteResponse, Models::PaymentListParams, Models::PaymentListResponse, Models::PaymentRetrieveParams, Models::PaymentRetrieveResponse, Models::Payments::ReversalListParams, Models::Payments::ReversalListResponse, Models::Payments::ReversalRetrieveParams, Models::Payments::ReversalRetrieveResponse, Models::Payments::ReversalUpdateParams, Models::Payments::ReversalUpdateResponse, Models::PingCheckParams, Models::PingCheckResponse, Models::ReportCreateParams, Models::ReportCreateResponse, Models::ReportRetrieveParams, Models::ReportRetrieveResponse, Models::Reports::DownloadRetrieveParams, Models::ResourceError, Models::SecretCreateParams, Models::SecretCreateResponse, Models::SecretDeleteParams, Models::SecretDeleteResponse, Models::SecretListParams, Models::SecretListResponse, Models::SecretRetrieveParams, Models::SecretRetrieveResponse, Models::Simulate::Accounts::CardBrandCreateParams, Models::Simulate::Accounts::CardBrandCreateResponse, Models::Simulate::Accounts::TransactionCreateParams, Models::Simulate::Accounts::TransactionCreateResponse, Models::Simulate::Accounts::VerificationSessions::AmountRetrieveParams, Models::Simulate::Accounts::VerificationSessions::AmountRetrieveResponse, Models::Simulate::Entities::AttributeCreateParams, Models::Simulate::Entities::AttributeCreateResponse, Models::Simulate::Entities::ConnectCreateParams, Models::Simulate::Entities::ConnectCreateResponse, Models::Simulate::Entities::CreditScoreCreateParams, Models::Simulate::Entities::CreditScoreCreateResponse, Models::Simulate::EventCreateParams, Models::Simulate::EventCreateResponse, Models::Simulate::PaymentCreateParams, Models::Simulate::PaymentCreateResponse, Models::Simulate::Payments::PaymentInstrumentCreateParams, Models::Simulate::Payments::PaymentInstrumentCreateResponse, Models::TeamCreateParams, Models::TeamCreateResponse, Models::TeamListParams, Models::TeamListResponse, Models::Teams::DefaultEncryptionKeyCreateParams, Models::Teams::DefaultEncryptionKeyCreateResponse, Models::Teams::Mle::PublicKeyCreateParams, Models::Teams::Mle::PublicKeyCreateResponse, Models::Teams::Mle::PublicKeyDeleteParams, Models::Teams::Mle::PublicKeyDeleteResponse, Models::Teams::Mle::PublicKeyListParams, Models::Teams::Mle::PublicKeyListResponse, Models::Teams::Mle::PublicKeyRetrieveParams, Models::Teams::Mle::PublicKeyRetrieveResponse, Models::Teams::MleJwksParams, Models::Teams::MleJwksResponse, Models::Teams::MleJwksResponse::Key, Models::Teams::MleRetrieveMethodKeyParams, Models::Teams::MleRetrieveMethodKeyResponse, Models::WebhookCreateParams, Models::WebhookCreateResponse, Models::WebhookDeleteParams, Models::WebhookDeleteResponse, Models::WebhookListParams, Models::WebhookListResponse, Models::WebhookRetrieveParams, Models::WebhookRetrieveResponse, Models::WebhookUpdateParams, Models::WebhookUpdateResponse, RequestOptions

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Converter

coerce, dump, meta_info, new_coerce_state, type_info

Methods included from Util::SorbetRuntimeSupport

const_missing, define_sorbet_constant!, sorbet_constant_defined?, to_sorbet_type

Constructor Details

#initialize(data = {}) ⇒ BaseModel

Create a new instance of a model.

Parameters:

  • data (Hash{Symbol=>Object}, self) (defaults to: {})


476
477
478
479
480
481
482
483
484
485
486
487
# File 'lib/method_ruby/internal/type/base_model.rb', line 476

def initialize(data = {})
  @data = {}
  @coerced = {}
  MethodRuby::Internal::Util.coerce_hash!(data).each do
    if self.class.known_fields.key?(_1)
      public_send(:"#{_1}=", _2)
    else
      @data.store(_1, _2)
      @coerced.store(_1, false)
    end
  end
end

Class Method Details

.==(other) ⇒ Boolean

Parameters:

  • other (Object)

Returns:



207
208
209
# File 'lib/method_ruby/internal/type/base_model.rb', line 207

def ==(other)
  other.is_a?(Class) && other <= MethodRuby::Internal::Type::BaseModel && other.fields == fields
end

.coerce(value, state:) ⇒ self, Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • value (MethodRuby::Internal::Type::BaseModel, Hash{Object=>Object}, Object)
  • state (Hash{Symbol=>Object})

    .

    @option state [Boolean] :translate_names

    @option state [Boolean] :strictness

    @option state [HashSymbol=>Object] :exactness

    @option state [Class<StandardError>] :error

    @option state [Integer] :branched

Returns:

  • (self, Object)


247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'lib/method_ruby/internal/type/base_model.rb', line 247

def coerce(value, state:)
  exactness = state.fetch(:exactness)

  if value.is_a?(self)
    exactness[:yes] += 1
    return value
  end

  unless (val = MethodRuby::Internal::Util.coerce_hash(value)).is_a?(Hash)
    exactness[:no] += 1
    state[:error] = TypeError.new("#{value.class} can't be coerced into #{Hash}")
    return value
  end
  exactness[:yes] += 1

  keys = val.keys.to_set
  instance = new
  data = instance.to_h
  status = instance.instance_variable_get(:@coerced)

  # rubocop:disable Metrics/BlockLength
  fields.each do |name, field|
    mode, required, target = field.fetch_values(:mode, :required, :type)
    api_name, nilable, const = field.fetch_values(:api_name, :nilable, :const)
    src_name = state.fetch(:translate_names) ? api_name : name

    unless val.key?(src_name)
      if required && mode != :dump && const == MethodRuby::Internal::OMIT
        exactness[nilable ? :maybe : :no] += 1
      else
        exactness[:yes] += 1
      end
      next
    end

    item = val.fetch(src_name)
    keys.delete(src_name)

    state[:error] = nil
    converted =
      if item.nil? && (nilable || !required)
        exactness[nilable ? :yes : :maybe] += 1
        nil
      else
        coerced = MethodRuby::Internal::Type::Converter.coerce(target, item, state: state)
        case target
        in MethodRuby::Internal::Type::Converter | Symbol
          coerced
        else
          item
        end
      end

    status.store(name, state.fetch(:error) || true)
    data.store(name, converted)
  end
  # rubocop:enable Metrics/BlockLength

  keys.each { data.store(_1, val.fetch(_1)) }
  instance
end

.dump(value, state:) ⇒ Hash{Object=>Object}, Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • value (self, Object)
  • state (Hash{Symbol=>Object})

    .

    @option state [Boolean] :can_retry

Returns:

  • (Hash{Object=>Object}, Object)


318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
# File 'lib/method_ruby/internal/type/base_model.rb', line 318

def dump(value, state:)
  unless (coerced = MethodRuby::Internal::Util.coerce_hash(value)).is_a?(Hash)
    return super
  end

  acc = {}

  coerced.each do |key, val|
    name = key.is_a?(String) ? key.to_sym : key
    case (field = known_fields[name])
    in nil
      acc.store(name, super(val, state: state))
    else
      api_name, mode, type_fn = field.fetch_values(:api_name, :mode, :type_fn)
      case mode
      in :coerce
        next
      else
        target = type_fn.call
        acc.store(api_name, MethodRuby::Internal::Type::Converter.dump(target, val, state: state))
      end
    end
  end

  known_fields.each_value do |field|
    api_name, mode, const = field.fetch_values(:api_name, :mode, :const)
    next if mode == :coerce || acc.key?(api_name) || const == MethodRuby::Internal::OMIT
    acc.store(api_name, const)
  end

  acc
end

.fieldsHash{Symbol=>Hash{Symbol=>Object}}

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Hash{Symbol=>Hash{Symbol=>Object}})


31
32
33
34
35
# File 'lib/method_ruby/internal/type/base_model.rb', line 31

def fields
  known_fields.transform_values do |field|
    {**field.except(:type_fn), type: field.fetch(:type_fn).call}
  end
end

.hashInteger

Returns:

  • (Integer)


214
# File 'lib/method_ruby/internal/type/base_model.rb', line 214

def hash = fields.hash

.inherited(child) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Assumes superclass fields are totally defined before fields are accessed / defined on subclasses.

Parameters:



18
19
20
21
# File 'lib/method_ruby/internal/type/base_model.rb', line 18

def inherited(child)
  super
  child.known_fields.replace(known_fields.dup)
end

.inspect(depth: 0) ⇒ String

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • depth (Integer) (defaults to: 0)

Returns:

  • (String)


495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
# File 'lib/method_ruby/internal/type/base_model.rb', line 495

def inspect(depth: 0)
  return super() if depth.positive?

  depth = depth.succ
  deferred = fields.transform_values do |field|
    type, required, nilable = field.fetch_values(:type, :required, :nilable)
    inspected = [
      MethodRuby::Internal::Type::Converter.inspect(type, depth: depth),
      !required || nilable ? "nil" : nil
    ].compact.join(" | ")
    -> { inspected }.tap { _1.define_singleton_method(:inspect) { call } }
  end

  "#{name}[#{deferred.inspect}]"
end

.known_fieldsHash{Symbol=>Hash{Symbol=>Object}}

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Hash{Symbol=>Hash{Symbol=>Object}})


26
# File 'lib/method_ruby/internal/type/base_model.rb', line 26

def known_fields = @known_fields ||= {}

.optional(name_sym, type_info, spec = {}) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • name_sym (Symbol)
  • type_info (Hash{Symbol=>Object}, Proc, MethodRuby::Internal::Type::Converter, Class)
  • spec (Hash{Symbol=>Object}) (defaults to: {})

    .

    @option spec [NilClass, TrueClass, FalseClass, Integer, Float, Symbol] :const

    @option spec [Proc] :enum

    @option spec [Proc] :union

    @option spec [Boolean] :“nil?”



173
174
175
# File 'lib/method_ruby/internal/type/base_model.rb', line 173

def optional(name_sym, type_info, spec = {})
  add_field(name_sym, required: false, type_info: type_info, spec: spec)
end

.recursively_to_h(model, convert:) ⇒ Hash{Symbol=>Object}

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

Returns:

  • (Hash{Symbol=>Object})


366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
# File 'lib/method_ruby/internal/type/base_model.rb', line 366

def recursively_to_h(model, convert:)
  rec = ->(x) do
    case x
    in MethodRuby::Internal::Type::BaseModel
      if convert
        fields = x.class.known_fields
        x.to_h.to_h do |key, val|
          [key, rec.call(fields.key?(key) ? x.public_send(key) : val)]
        rescue MethodRuby::Errors::ConversionError
          [key, rec.call(val)]
        end
      else
        rec.call(x.to_h)
      end
    in Hash
      x.transform_values(&rec)
    in Array
      x.map(&rec)
    else
      x
    end
  end
  rec.call(model)
end

.required(name_sym, type_info, spec = {}) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • name_sym (Symbol)
  • type_info (Hash{Symbol=>Object}, Proc, MethodRuby::Internal::Type::Converter, Class)
  • spec (Hash{Symbol=>Object}) (defaults to: {})

    .

    @option spec [NilClass, TrueClass, FalseClass, Integer, Float, Symbol] :const

    @option spec [Proc] :enum

    @option spec [Proc] :union

    @option spec [Boolean] :“nil?”



154
155
156
# File 'lib/method_ruby/internal/type/base_model.rb', line 154

def required(name_sym, type_info, spec = {})
  add_field(name_sym, required: true, type_info: type_info, spec: spec)
end

.to_sorbet_typeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Object)


354
355
356
# File 'lib/method_ruby/internal/type/base_model.rb', line 354

def to_sorbet_type
  self
end

Instance Method Details

#==(other) ⇒ Boolean

Parameters:

  • other (Object)

Returns:



222
# File 'lib/method_ruby/internal/type/base_model.rb', line 222

def ==(other) = self.class == other.class && @data == other.to_h

#[](key) ⇒ Object?

Returns the raw value associated with the given key, if found. Otherwise, nil is returned.

It is valid to lookup keys that are not in the API spec, for example to access undocumented features. This method does not parse response data into higher-level types. Lookup by anything other than a Symbol is an ArgumentError.

Parameters:

  • key (Symbol)

Returns:

  • (Object, nil)


404
405
406
407
408
409
410
# File 'lib/method_ruby/internal/type/base_model.rb', line 404

def [](key)
  unless key.instance_of?(Symbol)
    raise ArgumentError.new("Expected symbol key for lookup, got #{key.inspect}")
  end

  @data[key]
end

#deconstruct_keys(keys) ⇒ Hash{Symbol=>Object}

Examples:

# `address` is a `MethodRuby::Address`
address => {
  city: city,
  line1: line1,
  line2: line2
}

Parameters:

  • keys (Array<Symbol>, nil)

Returns:

  • (Hash{Symbol=>Object})


447
448
449
450
451
452
453
454
455
456
457
# File 'lib/method_ruby/internal/type/base_model.rb', line 447

def deconstruct_keys(keys)
  (keys || self.class.known_fields.keys)
    .filter_map do |k|
      unless self.class.known_fields.key?(k)
        next
      end

      [k, public_send(k)]
    end
    .to_h
end

#deep_to_hHash{Symbol=>Object}

In addition to the behaviour of ‘#to_h`, this method will recursively call `#to_h` on nested models.

Returns:

  • (Hash{Symbol=>Object})


434
# File 'lib/method_ruby/internal/type/base_model.rb', line 434

def deep_to_h = self.class.recursively_to_h(@data, convert: false)

#hashInteger

Returns:

  • (Integer)


227
# File 'lib/method_ruby/internal/type/base_model.rb', line 227

def hash = [self.class, @data].hash

#inspectString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)


520
521
522
523
# File 'lib/method_ruby/internal/type/base_model.rb', line 520

def inspect
  converted = self.class.recursively_to_h(self, convert: true)
  "#<#{self.class}:0x#{object_id.to_s(16)} #{converted}>"
end

#to_hHash{Symbol=>Object} Also known as: to_hash

Returns a Hash of the data underlying this object. O(1)

Keys are Symbols and values are the raw values from the response. The return value indicates which values were ever set on the object. i.e. there will be a key in this hash if they ever were, even if the set value was nil.

This method is not recursive. The returned value is shared by the object, so it should not be mutated.

Returns:

  • (Hash{Symbol=>Object})


424
# File 'lib/method_ruby/internal/type/base_model.rb', line 424

def to_h = @data

#to_json(*a) ⇒ String

Parameters:

  • a (Object)

Returns:

  • (String)


464
# File 'lib/method_ruby/internal/type/base_model.rb', line 464

def to_json(*a) = MethodRuby::Internal::Type::Converter.dump(self.class, self).to_json(*a)

#to_sString

Returns:

  • (String)


515
# File 'lib/method_ruby/internal/type/base_model.rb', line 515

def to_s = deep_to_h.to_s

#to_yaml(*a) ⇒ String

Parameters:

  • a (Object)

Returns:

  • (String)


471
# File 'lib/method_ruby/internal/type/base_model.rb', line 471

def to_yaml(*a) = MethodRuby::Internal::Type::Converter.dump(self.class, self).to_yaml(*a)