Class: MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability
- Defined in:
- lib/method_ruby/models/accounts/consent_withdraw_response.rb
Overview
Defined Under Namespace
Modules: MchID, Ownership, Type
Instance Attribute Summary collapse
-
#fingerprint ⇒ String?
Unique fingerprint for de-duplication.
-
#mask ⇒ String?
Last 4 digits of the account number.
-
#mch_id ⇒ String, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::MchID::Merchant
The merchant ID associated with this liability.
-
#name ⇒ String?
Display name of the liability account.
-
#ownership ⇒ Symbol, ...
Ownership type of the account.
-
#sub_type ⇒ String?
More specific classification of the liability type.
-
#type ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::Type
The type of liability.
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(String, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::MchID::Merchant)
Instance Method Summary collapse
-
#initialize(fingerprint:, mask:, mch_id:, name:, ownership:, sub_type:, type:) ⇒ Object
constructor
Liability account 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(fingerprint:, mask:, mch_id:, name:, ownership:, sub_type:, type:) ⇒ Object
Liability account details. Present when ‘type` is `liability`.
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 8994
|
Instance Attribute Details
#fingerprint ⇒ String?
Unique fingerprint for de-duplication.
8952 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 8952 required :fingerprint, String, nil?: true |
#mask ⇒ String?
Last 4 digits of the account number.
8958 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 8958 required :mask, String, nil?: true |
#mch_id ⇒ String, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::MchID::Merchant
The merchant ID associated with this liability.
8964 8965 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 8964 required :mch_id, union: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::MchID } |
#name ⇒ String?
Display name of the liability account.
8971 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 8971 required :name, String, nil?: true |
#ownership ⇒ Symbol, ...
Ownership type of the account.
8977 8978 8979 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 8977 required :ownership, enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::Ownership }, nil?: true |
#sub_type ⇒ String?
More specific classification of the liability type.
8985 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 8985 required :sub_type, String, nil?: true |
#type ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::Type
The type of liability.
8991 8992 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 8991 required :type, enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9151
|
.variants ⇒ Array(String, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::Liability::MchID::Merchant)
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9156
|