Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::Liability::MchID::Merchant

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

Defined Under Namespace

Modules: Type Classes: ProviderIDs

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(dpp: nil, finicity: nil, mx: nil, plaid: nil, rpps: nil) ⇒ Object

Parameters:

  • dpp (Array<String>) (defaults to: nil)
  • finicity (Array<String>) (defaults to: nil)
  • mx (Array<String>) (defaults to: nil)
  • plaid (Array<String>) (defaults to: nil)
  • rpps (Array<String>) (defaults to: nil)


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

Instance Attribute Details

#account_number_formats ⇒ Array<String>

Accepted account number formats.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


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

required :account_number_formats, MethodRuby::Internal::Type::ArrayOf[String]

#id ⇒ String

Unique identifier for the merchant.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :id, String

#is_temp ⇒ Boolean

Whether this is a temporary merchant entry.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


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

required :is_temp, MethodRuby::Internal::Type::Boolean

#logo ⇒ String

URL of the merchant logo.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :logo, String

#name ⇒ String

Display name of the merchant.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :name, String

#parent_name ⇒ String

Name of the parent merchant group.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :parent_name, String

#provider_ids ⇒ MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::Liability::MchID::Merchant::ProviderIDs



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

required :provider_ids,
-> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::Liability::MchID::Merchant::ProviderIDs }

#type ⇒ Symbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::Liability::MchID::Merchant::Type

Type of accounts supported by this merchant.

Parameters:

  • value (MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::Liability::MchID::Merchant::type_)

Returns:



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

required :type,
enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::Liability::MchID::Merchant::Type }

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


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

def to_hash: -> {