Class: MethodRuby::Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate::Bnpl

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

Overview

See Also:

  • MethodRuby::Models::AccountCreateResponse::Data::AccountClearingResource::Update::AccountUpdate#bnpl

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



7911
# File 'sig/method_ruby/models/account_create_response.rbs', line 7911

def initialize: (

Instance Attribute Details

#balance ⇒ Integer?

Current balance in cents.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


10116
# File 'lib/method_ruby/models/account_create_response.rb', line 10116

optional :balance, Integer, nil?: true

#closed_at ⇒ Date?

Parameters:

  • value (Date, nil)

Returns:

  • (Date, nil)


10121
# File 'lib/method_ruby/models/account_create_response.rb', line 10121

optional :closed_at, Date, nil?: true

#opened_at ⇒ Date?

Parameters:

  • value (Date, nil)

Returns:

  • (Date, nil)


10126
# File 'lib/method_ruby/models/account_create_response.rb', line 10126

optional :opened_at, Date, nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


7917
# File 'sig/method_ruby/models/account_create_response.rbs', line 7917

def to_hash: -> {