Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::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::AccountACHResource::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::AccountACHResource::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 720
|
Instance Attribute Details
#account_id ⇒ String
The account this card brand belongs to.
652 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 652 required :account_id, String |
#brands ⇒ Array<MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Brand>?
Array of card brand entries for this account.
677 678 679 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 677 optional :brands, -> { MethodRuby::Internal::Type::ArrayOf[MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Brand] }, nil?: true |
#created_at ⇒ Time
Timestamp when the card brand was created.
658 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 658 required :created_at, Time |
#error ⇒ MethodRuby::Models::ResourceError?
684 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 684 optional :error, -> { MethodRuby::ResourceError }, nil?: true |
#id ⇒ String
Unique identifier for the card brand.
646 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 646 required :id, String |
#issuer ⇒ String?
The card issuer. Deprecated in favor of brands[].issuer.
690 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 690 optional :issuer, String, nil?: true |
#last4 ⇒ String?
Last 4 digits of the card number. Deprecated in favor of brands[].
696 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 696 optional :last4, String, nil?: true |
#network ⇒ Symbol, ...
The card network. Deprecated in favor of brands[].network.
702 703 704 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 702 optional :network, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Network }, nil?: true |
#shared ⇒ Boolean?
Whether this card brand record is shared.
710 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 710 optional :shared, MethodRuby::Internal::Type::Boolean |
#source ⇒ Symbol, ...
Source of the card brand data.
716 717 718 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 716 optional :source, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Source }, nil?: true |
#status ⇒ Symbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Status
Current status of the card brand request.
664 665 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 664 required :status, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Status } |
#updated_at ⇒ Time
Timestamp when the card brand was last updated.
671 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 671 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 757
|