Class: WhopSDK::Models::PaymentMethodListResponse::IdealPaymentMethod::Ideal

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

Overview

See Also:

  • WhopSDK::Models::PaymentMethodListResponse::IdealPaymentMethod#ideal

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

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

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

#initializeIdeal

Returns a new instance of Ideal.

Parameters:

  • bank: (String, nil)
  • bic: (String, nil)


267
# File 'sig/whop_sdk/models/payment_method_list_response.rbs', line 267

def initialize: (bank: String?, bic: String?) -> void

Instance Attribute Details

#bankString?

The name of the customer's bank used for the iDEAL transaction. Null if not available.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


410
# File 'lib/whop_sdk/models/payment_method_list_response.rb', line 410

required :bank, String, nil?: true

#bicString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


417
# File 'lib/whop_sdk/models/payment_method_list_response.rb', line 417

required :bic, String, nil?: true

Instance Method Details

#to_hash{ bank: String?, bic: String? }

Returns:

  • ({ bank: String?, bic: String? })


269
# File 'sig/whop_sdk/models/payment_method_list_response.rbs', line 269

def to_hash: -> { bank: String?, bic: String? }