Class: ModernTreasury::Models::RoutingDetail
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::RoutingDetail
- Defined in:
- lib/modern_treasury/models/routing_detail.rb
Overview
Defined Under Namespace
Modules: PaymentType, RoutingNumberType
Instance Attribute Summary collapse
- #bank_address ⇒ ModernTreasury::Models::Address?
-
#bank_name ⇒ String
The name of the bank.
- #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
-
#payment_type ⇒ Symbol, ...
If the routing detail is to be used for a specific payment type this field will be populated, otherwise null.
-
#routing_number ⇒ String
The routing number of the bank.
-
#routing_number_type ⇒ Symbol, ModernTreasury::Models::RoutingDetail::RoutingNumberType
The type of routing number.
- #updated_at ⇒ Time
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , bank_address: , bank_name: , created_at: , discarded_at: , live_mode: , object: , payment_type: , routing_number: , routing_number_type: , updated_at: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see RoutingDetail 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: , bank_address: , bank_name: , created_at: , discarded_at: , live_mode: , object: , payment_type: , routing_number: , routing_number_type: , updated_at: ) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::RoutingDetail for more details.
|
|
# File 'lib/modern_treasury/models/routing_detail.rb', line 71
|
Instance Attribute Details
#bank_address ⇒ ModernTreasury::Models::Address?
15 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 15 required :bank_address, -> { ModernTreasury::Address }, nil?: true |
#bank_name ⇒ String
The name of the bank.
21 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 21 required :bank_name, String |
#created_at ⇒ Time
26 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 26 required :created_at, Time |
#discarded_at ⇒ Time?
31 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 31 required :discarded_at, Time, nil?: true |
#id ⇒ String
10 |
# File 'lib/modern_treasury/models/routing_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.
38 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 38 required :live_mode, ModernTreasury::Internal::Type::Boolean |
#object ⇒ String
43 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 43 required :object, String |
#payment_type ⇒ Symbol, ...
If the routing detail is to be used for a specific payment type this field will be populated, otherwise null.
50 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 50 required :payment_type, enum: -> { ModernTreasury::RoutingDetail::PaymentType }, nil?: true |
#routing_number ⇒ String
The routing number of the bank.
56 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 56 required :routing_number, String |
#routing_number_type ⇒ Symbol, ModernTreasury::Models::RoutingDetail::RoutingNumberType
The type of routing number. See docs.moderntreasury.com/platform/reference/routing-detail-object for more details.
64 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 64 required :routing_number_type, enum: -> { ModernTreasury::RoutingDetail::RoutingNumberType } |
#updated_at ⇒ Time
69 |
# File 'lib/modern_treasury/models/routing_detail.rb', line 69 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/modern_treasury/models/routing_detail.rb', line 140
|