Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession::Standard

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/method_ruby/models/account_retrieve_response.rb,
sig/method_ruby/models/account_retrieve_response.rbs

Overview

See Also:

  • MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::LatestVerificationSession::AccountVerificationSession#standard

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 ⇒ Standard

Returns a new instance of Standard.

Parameters:

  • number: (String, nil)


6919
# File 'sig/method_ruby/models/account_retrieve_response.rbs', line 6919

def initialize: (?number: String?) -> void

Instance Attribute Details

#number ⇒ String?

The masked card number. Null if the number still needs to be provided.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


8901
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 8901

optional :number, String, nil?: true

Instance Method Details

#to_hash ⇒ { number: String? }

Returns:

  • ({ number: String? })


6921
# File 'sig/method_ruby/models/account_retrieve_response.rbs', line 6921

def to_hash: -> { number: String? }