Class: Straddle::Models::PaykeyCreatedV1WebhookEvent::Data::BankData

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

Overview

See Also:

  • Straddle::Models::PaykeyCreatedV1WebhookEvent::Data#bank_data

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

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

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

#initialize ⇒ Object



184
# File 'sig/straddle/models/paykey_created_v1_webhook_event.rbs', line 184

def initialize: (

Instance Attribute Details

#account_number ⇒ String

Masked bank account number.

Parameters:

  • value (String)

Returns:

  • (String)


196
# File 'lib/straddle/models/paykey_created_v1_webhook_event.rb', line 196

required :account_number, String

#account_type ⇒ Symbol, Straddle::Models::AccountType

Parameters:

  • value (Straddle::Models::account_type)

Returns:



201
# File 'lib/straddle/models/paykey_created_v1_webhook_event.rb', line 201

required :account_type, enum: -> { Straddle::AccountType }

#routing_number ⇒ String

Bank routing number.

Parameters:

  • value (String)

Returns:

  • (String)


207
# File 'lib/straddle/models/paykey_created_v1_webhook_event.rb', line 207

required :routing_number, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


190
# File 'sig/straddle/models/paykey_created_v1_webhook_event.rbs', line 190

def to_hash: -> {