Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand
- Defined in:
- lib/method_ruby/models/account_retrieve_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::AccountRetrieveResponse::Data::AccountLiabilityResource::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::AccountRetrieveResponse::Data::AccountLiabilityResource::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/account_retrieve_response.rb', line 4318
|
Instance Attribute Details
#account_id ⇒ String
The account this card brand belongs to.
4246 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4246 required :account_id, String |
#brands ⇒ Array<MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Brand>?
Array of card brand entries for this account.
4271 4272 4273 4274 4275 4276 4277 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4271 optional :brands, -> do MethodRuby::Internal::Type::ArrayOf[ MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Brand ] end, nil?: true |
#created_at ⇒ Time
Timestamp when the card brand was created.
4252 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4252 required :created_at, Time |
#error ⇒ MethodRuby::Models::ResourceError?
4282 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4282 optional :error, -> { MethodRuby::ResourceError }, nil?: true |
#id ⇒ String
Unique identifier for the card brand.
4240 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4240 required :id, String |
#issuer ⇒ String?
The card issuer. Deprecated in favor of brands[].issuer.
4288 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4288 optional :issuer, String, nil?: true |
#last4 ⇒ String?
Last 4 digits of the card number. Deprecated in favor of brands[].
4294 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4294 optional :last4, String, nil?: true |
#network ⇒ Symbol, ...
The card network. Deprecated in favor of brands[].network.
4300 4301 4302 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4300 optional :network, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Network }, nil?: true |
#shared ⇒ Boolean?
Whether this card brand record is shared.
4308 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4308 optional :shared, MethodRuby::Internal::Type::Boolean |
#source ⇒ Symbol, ...
Source of the card brand data.
4314 4315 4316 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4314 optional :source, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Source }, nil?: true |
#status ⇒ Symbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Status
Current status of the card brand request.
4258 4259 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4258 required :status, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::CardBrand::AccountCardBrand::Status } |
#updated_at ⇒ Time
Timestamp when the card brand was last updated.
4265 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4265 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4355
|