Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::CardBrand::AccountCardBrand::Brand

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/method_ruby/models/account_retrieve_response.rb,
sig/method_ruby/models/account_retrieve_response.rbs

Instance Attribute 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 ⇒ Object



589
# File 'sig/method_ruby/models/account_retrieve_response.rbs', line 589

def initialize: (

Instance Attribute Details

#card_product_id ⇒ String?

Associated card product ID.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


772
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 772

optional :card_product_id, String, nil?: true

#description ⇒ String?

Description of the brand.

Parameters:

  • (String)

Returns:

  • (String, nil)


778
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 778

optional :description, String

#id ⇒ String?

Unique identifier for the brand entry.

Parameters:

  • (String)

Returns:

  • (String, nil)


766
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 766

optional :id, String

#issuer ⇒ String?

The card issuer.

Parameters:

  • (String)

Returns:

  • (String, nil)


784
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 784

optional :issuer, String

#name ⇒ String?

Name of the brand.

Parameters:

  • (String)

Returns:

  • (String, nil)


790
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 790

optional :name, String

#network ⇒ String?

The card network.

Parameters:

  • (String)

Returns:

  • (String, nil)


796
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 796

optional :network, String

#network_tier ⇒ String?

The tier of the card network.

Parameters:

  • (String)

Returns:

  • (String, nil)


802
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 802

optional :network_tier, String

#type ⇒ String?

The brand type.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


808
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 808

optional :type, String, nil?: true

#url ⇒ String?

URL for the brand image.

Parameters:

  • (String)

Returns:

  • (String, nil)


814
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 814

optional :url, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


601
# File 'sig/method_ruby/models/account_retrieve_response.rbs', line 601

def to_hash: -> {