Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Payoff::AccountPayoff

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

Defined Under Namespace

Modules: Status Classes: Error

Instance Attribute Summary collapse

Class Method 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(id:, account_id:, amount:, created_at:, per_diem_amount:, status:, term:, updated_at:, error: nil) ⇒ Object

A payoff record for an account.

Parameters:



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

Instance Attribute Details

#account_idString

The account this payoff belongs to.

Returns:

  • (String)


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

required :account_id, String

#amountFloat?

The payoff amount in cents.

Returns:

  • (Float, nil)


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

required :amount, Float, nil?: true

#created_atTime

Timestamp when the payoff was created.

Returns:

  • (Time)


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

required :created_at, Time

#errorMethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Payoff::AccountPayoff::Error?

Error details when a payoff sync fails.



9475
9476
9477
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 9475

optional :error,
-> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Payoff::AccountPayoff::Error },
nil?: true

#idString

Unique identifier for the payoff.

Returns:

  • (String)


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

required :id, String

#per_diem_amountFloat?

Per diem interest amount in cents.

Returns:

  • (Float, nil)


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

required :per_diem_amount, Float, nil?: true

#statusSymbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Payoff::AccountPayoff::Status

Current status of the payoff request.



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

required :status,
enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Payoff::AccountPayoff::Status }

#termFloat?

Number of days the payoff amount is valid.

Returns:

  • (Float, nil)


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

required :term, Float, nil?: true

#updated_atTime

Timestamp when the payoff was last updated.

Returns:

  • (Time)


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

required :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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