Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Update::AccountUpdate::CreditCard

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::AccountDebitCardResource::Update::AccountUpdate#credit_card

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



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

def initialize: (

Instance Attribute Details

#available_credit ⇒ Integer?

Available credit in cents.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


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

optional :available_credit, Integer, nil?: true

#balance ⇒ Integer?

Current balance in cents.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


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

optional :balance, Integer, nil?: true

#closed_at ⇒ Date?

Parameters:

  • value (Date, nil)

Returns:

  • (Date, nil)


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

optional :closed_at, Date, nil?: true

#credit_limit ⇒ Integer?

Credit limit in cents.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


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

optional :credit_limit, Integer, nil?: true

#interest_rate_percentage_max ⇒ Float?

Parameters:

  • value (Float, nil)

Returns:

  • (Float, nil)


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

optional :interest_rate_percentage_max, Float, nil?: true

#interest_rate_percentage_min ⇒ Float?

Parameters:

  • value (Float, nil)

Returns:

  • (Float, nil)


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

optional :interest_rate_percentage_min, Float, nil?: true

#interest_rate_type ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :interest_rate_type, String, nil?: true

#last_payment_amount ⇒ Integer?

Last payment amount in cents.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


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

optional :last_payment_amount, Integer, nil?: true

#last_payment_date ⇒ Date?

Parameters:

  • value (Date, nil)

Returns:

  • (Date, nil)


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

optional :last_payment_date, Date, nil?: true

#next_payment_due_date ⇒ Date?

Parameters:

  • value (Date, nil)

Returns:

  • (Date, nil)


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

optional :next_payment_due_date, Date, nil?: true

#next_payment_minimum_amount ⇒ Integer?

Minimum payment due in cents.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


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

optional :next_payment_minimum_amount, Integer, nil?: true

#opened_at ⇒ Date?

Parameters:

  • value (Date, nil)

Returns:

  • (Date, nil)


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

optional :opened_at, Date, nil?: true

#sub_type ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :sub_type, String, nil?: true

#usage_pattern ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :usage_pattern, String, nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


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

def to_hash: -> {