Class: MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Update::AccountUpdate::Bnpl

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

Overview

See Also:

  • MethodRuby::Models::Accounts::ConsentWithdrawResponse::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



7915
# File 'sig/method_ruby/models/accounts/consent_withdraw_response.rbs', line 7915

def initialize: (

Instance Attribute Details

#balance ⇒ Integer?

Current balance in cents.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


10129
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 10129

optional :balance, Integer, nil?: true

#closed_at ⇒ Date?

Parameters:

  • value (Date, nil)

Returns:

  • (Date, nil)


10134
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 10134

optional :closed_at, Date, nil?: true

#opened_at ⇒ Date?

Parameters:

  • value (Date, nil)

Returns:

  • (Date, nil)


10139
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 10139

optional :opened_at, Date, nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


7921
# File 'sig/method_ruby/models/accounts/consent_withdraw_response.rbs', line 7921

def to_hash: -> {