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

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/method_ruby/models/account_create_response.rb,
sig/method_ruby/models/account_create_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_create_response.rb', line 1882


Instance Attribute Details

#account_number_formats ⇒ Array<String>

Accepted account number formats.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


1843
# File 'lib/method_ruby/models/account_create_response.rb', line 1843

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

#id ⇒ String

Unique identifier for the merchant.

Parameters:

  • value (String)

Returns:

  • (String)


1837
# File 'lib/method_ruby/models/account_create_response.rb', line 1837

required :id, String

#is_temp ⇒ Boolean

Whether this is a temporary merchant entry.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


1849
# File 'lib/method_ruby/models/account_create_response.rb', line 1849

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

#logo ⇒ String

URL of the merchant logo.

Parameters:

  • value (String)

Returns:

  • (String)


1855
# File 'lib/method_ruby/models/account_create_response.rb', line 1855

required :logo, String

#name ⇒ String

Display name of the merchant.

Parameters:

  • value (String)

Returns:

  • (String)


1861
# File 'lib/method_ruby/models/account_create_response.rb', line 1861

required :name, String

#parent_name ⇒ String

Name of the parent merchant group.

Parameters:

  • value (String)

Returns:

  • (String)


1867
# File 'lib/method_ruby/models/account_create_response.rb', line 1867

required :parent_name, String

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



1872
1873
# File 'lib/method_ruby/models/account_create_response.rb', line 1872

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

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

Type of accounts supported by this merchant.

Parameters:

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

Returns:



1879
1880
# File 'lib/method_ruby/models/account_create_response.rb', line 1879

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

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


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

def to_hash: -> {