Class: MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand
- Defined in:
- lib/method_ruby/models/account_create_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::AccountCreateResponse::Data::AccountDebitCardResource::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::AccountCreateResponse::Data::AccountDebitCardResource::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_create_response.rb', line 11471
|
Instance Attribute Details
#account_id ⇒ String
The account this card brand belongs to.
11399 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11399 required :account_id, String |
#brands ⇒ Array<MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Brand>?
Array of card brand entries for this account.
11424 11425 11426 11427 11428 11429 11430 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11424 optional :brands, -> do MethodRuby::Internal::Type::ArrayOf[ MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Brand ] end, nil?: true |
#created_at ⇒ Time
Timestamp when the card brand was created.
11405 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11405 required :created_at, Time |
#error ⇒ MethodRuby::Models::ResourceError?
11435 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11435 optional :error, -> { MethodRuby::ResourceError }, nil?: true |
#id ⇒ String
Unique identifier for the card brand.
11393 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11393 required :id, String |
#issuer ⇒ String?
The card issuer. Deprecated in favor of brands[].issuer.
11441 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11441 optional :issuer, String, nil?: true |
#last4 ⇒ String?
Last 4 digits of the card number. Deprecated in favor of brands[].
11447 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11447 optional :last4, String, nil?: true |
#network ⇒ Symbol, ...
The card network. Deprecated in favor of brands[].network.
11453 11454 11455 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11453 optional :network, enum: -> { MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Network }, nil?: true |
#shared ⇒ Boolean?
Whether this card brand record is shared.
11461 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11461 optional :shared, MethodRuby::Internal::Type::Boolean |
#source ⇒ Symbol, ...
Source of the card brand data.
11467 11468 11469 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11467 optional :source, enum: -> { MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Source }, nil?: true |
#status ⇒ Symbol, MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Status
Current status of the card brand request.
11411 11412 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11411 required :status, enum: -> { MethodRuby::Models::AccountCreateResponse::Data::AccountDebitCardResource::CardBrand::AccountCardBrand::Status } |
#updated_at ⇒ Time
Timestamp when the card brand was last updated.
11418 |
# File 'lib/method_ruby/models/account_create_response.rb', line 11418 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/account_create_response.rb', line 11508
|