Module: WhopSDK::Models::PaymentMethodRetrieveResponse

Extended by:
Internal::Type::Union
Defined in:
lib/whop_sdk/models/payment_method_retrieve_response.rb

Overview

A saved payment method with no type-specific details available.

Defined Under Namespace

Classes: BasePaymentMethod, CardPaymentMethod, CashappPaymentMethod, IdealPaymentMethod, SepaDebitPaymentMethod, UsBankAccountPaymentMethod

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Instance Method Details

#initialize(bank:, bic:) ⇒ Object

Some parameter documentations has been truncated, see WhopSDK::Models::PaymentMethodRetrieveResponse::IdealPaymentMethod::Ideal for more details.

The iDEAL-specific details for this payment method, including bank name and BIC.

Parameters:

  • bank (String, nil)

    The name of the customer’s bank used for the iDEAL transaction. Null if not avai

  • bic (String, nil)

    The Bank Identifier Code (BIC/SWIFT) of the customer’s bank. Null if not availab



# File 'lib/whop_sdk/models/payment_method_retrieve_response.rb', line 63