Class: WhopSDK::Models::Account::Capabilities

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

Overview

See Also:

  • WhopSDK::Models::Account#capabilities

Defined Under Namespace

Modules: AcceptBankPayments, AcceptBnplPayments, AcceptCardPayments, BankDeposit, CardDeposit, CardIssuing, CryptoDeposit, CryptoPayout, InstantPayout, StandardPayout, Transfer

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

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

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

#initialize(accept_bank_payments:, accept_bnpl_payments:, accept_card_payments:, bank_deposit:, card_deposit:, card_issuing:, crypto_deposit:, crypto_payout:, instant_payout:, standard_payout:, transfer:) ⇒ Object

Payment rails enabled for this account, each active, inactive, or pending (onboarding or review in progress). Computed only on retrieve and me for callers with company:balance:read scope; null otherwise.

Parameters:



# File 'lib/whop_sdk/models/account.rb', line 506

Instance Attribute Details

#accept_bank_paymentsSymbol, WhopSDK::Models::Account::Capabilities::AcceptBankPayments

Bank payins: debits, transfers, and local bank rails

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::accept_bank_payments)

Returns:



444
# File 'lib/whop_sdk/models/account.rb', line 444

required :accept_bank_payments, enum: -> { WhopSDK::Account::Capabilities::AcceptBankPayments }

#accept_bnpl_paymentsSymbol, WhopSDK::Models::Account::Capabilities::AcceptBnplPayments

Buy-now-pay-later payins; requires approval

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::accept_bnpl_payments)

Returns:



450
# File 'lib/whop_sdk/models/account.rb', line 450

required :accept_bnpl_payments, enum: -> { WhopSDK::Account::Capabilities::AcceptBnplPayments }

#accept_card_paymentsSymbol, WhopSDK::Models::Account::Capabilities::AcceptCardPayments

Card payins, including Apple Pay and Google Pay

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::accept_card_payments)

Returns:



456
# File 'lib/whop_sdk/models/account.rb', line 456

required :accept_card_payments, enum: -> { WhopSDK::Account::Capabilities::AcceptCardPayments }

#bank_depositSymbol, WhopSDK::Models::Account::Capabilities::BankDeposit

Deposits by bank wire or ACH to the account's virtual bank account

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::bank_deposit)

Returns:



462
# File 'lib/whop_sdk/models/account.rb', line 462

required :bank_deposit, enum: -> { WhopSDK::Account::Capabilities::BankDeposit }

#card_depositSymbol, WhopSDK::Models::Account::Capabilities::CardDeposit

Balance top-ups by charging a stored payment method

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::card_deposit)

Returns:



468
# File 'lib/whop_sdk/models/account.rb', line 468

required :card_deposit, enum: -> { WhopSDK::Account::Capabilities::CardDeposit }

#card_issuingSymbol, WhopSDK::Models::Account::Capabilities::CardIssuing

Issuing Whop cards; requires card application approval

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::card_issuing)

Returns:



474
# File 'lib/whop_sdk/models/account.rb', line 474

required :card_issuing, enum: -> { WhopSDK::Account::Capabilities::CardIssuing }

#crypto_depositSymbol, WhopSDK::Models::Account::Capabilities::CryptoDeposit

On-chain deposits to the account's crypto wallet

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::crypto_deposit)

Returns:



480
# File 'lib/whop_sdk/models/account.rb', line 480

required :crypto_deposit, enum: -> { WhopSDK::Account::Capabilities::CryptoDeposit }

#crypto_payoutSymbol, WhopSDK::Models::Account::Capabilities::CryptoPayout

On-chain payouts to a crypto wallet

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::crypto_payout)

Returns:



486
# File 'lib/whop_sdk/models/account.rb', line 486

required :crypto_payout, enum: -> { WhopSDK::Account::Capabilities::CryptoPayout }

#instant_payoutSymbol, WhopSDK::Models::Account::Capabilities::InstantPayout

Instant payouts to an eligible payout destination

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::instant_payout)

Returns:



492
# File 'lib/whop_sdk/models/account.rb', line 492

required :instant_payout, enum: -> { WhopSDK::Account::Capabilities::InstantPayout }

#standard_payoutSymbol, WhopSDK::Models::Account::Capabilities::StandardPayout

Standard payouts to an external payout destination

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::standard_payout)

Returns:



498
# File 'lib/whop_sdk/models/account.rb', line 498

required :standard_payout, enum: -> { WhopSDK::Account::Capabilities::StandardPayout }

#transferSymbol, WhopSDK::Models::Account::Capabilities::Transfer

Transfers to other accounts

Parameters:

  • value (WhopSDK::Models::Account::Capabilities::transfer)

Returns:



504
# File 'lib/whop_sdk/models/account.rb', line 504

required :transfer, enum: -> { WhopSDK::Account::Capabilities::Transfer }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/whop_sdk/models/account.rb', line 543

Instance Method Details

#to_hash{

Returns:

  • ({)


328
# File 'sig/whop_sdk/models/account.rbs', line 328

def to_hash: -> {