Class: ModernTreasury::Models::AccountDetail
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::AccountDetail
- Defined in:
- lib/modern_treasury/models/account_detail.rb
Overview
Defined Under Namespace
Modules: AccountNumberType
Instance Attribute Summary collapse
-
#account_number ⇒ String?
The account number for the bank account.
-
#account_number_safe ⇒ String
The last 4 digits of the account_number.
-
#account_number_type ⇒ Symbol, ModernTreasury::Models::AccountDetail::AccountNumberType
One of ‘iban`, `clabe`, `wallet_address`, or `other`.
- #created_at ⇒ Time
- #discarded_at ⇒ Time?
- #id ⇒ String
-
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
- #object ⇒ String
- #updated_at ⇒ Time
Instance Method Summary collapse
-
#initialize(id: , account_number_safe: , account_number_type: , created_at: , discarded_at: , live_mode: , object: , updated_at: , account_number: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see AccountDetail for more details.
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_number_safe: , account_number_type: , created_at: , discarded_at: , live_mode: , object: , updated_at: , account_number: nil) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::AccountDetail for more details.
|
|
# File 'lib/modern_treasury/models/account_detail.rb', line 58
|
Instance Attribute Details
#account_number ⇒ String?
The account number for the bank account.
56 |
# File 'lib/modern_treasury/models/account_detail.rb', line 56 optional :account_number, String |
#account_number_safe ⇒ String
The last 4 digits of the account_number.
16 |
# File 'lib/modern_treasury/models/account_detail.rb', line 16 required :account_number_safe, String |
#account_number_type ⇒ Symbol, ModernTreasury::Models::AccountDetail::AccountNumberType
One of ‘iban`, `clabe`, `wallet_address`, or `other`. Use `other` if the bank account number is in a generic format.
23 |
# File 'lib/modern_treasury/models/account_detail.rb', line 23 required :account_number_type, enum: -> { ModernTreasury::AccountDetail::AccountNumberType } |
#created_at ⇒ Time
28 |
# File 'lib/modern_treasury/models/account_detail.rb', line 28 required :created_at, Time |
#discarded_at ⇒ Time?
33 |
# File 'lib/modern_treasury/models/account_detail.rb', line 33 required :discarded_at, Time, nil?: true |
#id ⇒ String
10 |
# File 'lib/modern_treasury/models/account_detail.rb', line 10 required :id, String |
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
40 |
# File 'lib/modern_treasury/models/account_detail.rb', line 40 required :live_mode, ModernTreasury::Internal::Type::Boolean |
#object ⇒ String
45 |
# File 'lib/modern_treasury/models/account_detail.rb', line 45 required :object, String |
#updated_at ⇒ Time
50 |
# File 'lib/modern_treasury/models/account_detail.rb', line 50 required :updated_at, Time |