Class: MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand
- Defined in:
- lib/method_ruby/models/accounts/consent_withdraw_response.rb
Defined Under Namespace
Modules: Network, Source, Status Classes: Brand
Instance Attribute Summary collapse
-
#account_id ⇒ String
The account this card brand belongs to.
-
#brands ⇒ Array<MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Brand>?
Array of card brand entries for this account.
-
#created_at ⇒ Time
Timestamp when the card brand was created.
- #error ⇒ MethodRuby::Models::ResourceError?
-
#id ⇒ String
Unique identifier for the card brand.
-
#issuer ⇒ String?
The card issuer.
-
#last4 ⇒ String?
Last 4 digits of the card number.
-
#network ⇒ Symbol, ...
The card network.
-
#shared ⇒ Boolean?
Whether this card brand record is shared.
-
#source ⇒ Symbol, ...
Source of the card brand data.
-
#status ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Status
Current status of the card brand request.
-
#updated_at ⇒ Time
Timestamp when the card brand was last updated.
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: nil, card_product_id: nil, description: nil, issuer: nil, name: nil, network: nil, network_tier: nil, type: nil, url: nil) ⇒ Object
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7906
|
Instance Attribute Details
#account_id ⇒ String
The account this card brand belongs to.
7834 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7834 required :account_id, String |
#brands ⇒ Array<MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Brand>?
Array of card brand entries for this account.
7859 7860 7861 7862 7863 7864 7865 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7859 optional :brands, -> do MethodRuby::Internal::Type::ArrayOf[ MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Brand ] end, nil?: true |
#created_at ⇒ Time
Timestamp when the card brand was created.
7840 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7840 required :created_at, Time |
#error ⇒ MethodRuby::Models::ResourceError?
7870 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7870 optional :error, -> { MethodRuby::ResourceError }, nil?: true |
#id ⇒ String
Unique identifier for the card brand.
7828 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7828 required :id, String |
#issuer ⇒ String?
The card issuer. Deprecated in favor of brands[].issuer.
7876 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7876 optional :issuer, String, nil?: true |
#last4 ⇒ String?
Last 4 digits of the card number. Deprecated in favor of brands[].
7882 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7882 optional :last4, String, nil?: true |
#network ⇒ Symbol, ...
The card network. Deprecated in favor of brands[].network.
7888 7889 7890 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7888 optional :network, enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Network }, nil?: true |
#shared ⇒ Boolean?
Whether this card brand record is shared.
7896 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7896 optional :shared, MethodRuby::Internal::Type::Boolean |
#source ⇒ Symbol, ...
Source of the card brand data.
7902 7903 7904 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7902 optional :source, enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Source }, nil?: true |
#status ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Status
Current status of the card brand request.
7846 7847 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7846 required :status, enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::CardBrand::AccountCardBrand::Status } |
#updated_at ⇒ Time
Timestamp when the card brand was last updated.
7853 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7853 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 7943
|