Class: MethodRuby::Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource::DebitCard

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

Overview

See Also:

  • MethodRuby::Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountACHResource#debit_card

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



1247
# File 'sig/method_ruby/models/entity.rbs', line 1247

def initialize: (

Instance Attribute Details

#issuer ⇒ String?

The card issuer.

Parameters:

  • (String)

Returns:

  • (String, nil)


1681
# File 'lib/method_ruby/models/entity.rb', line 1681

optional :issuer, String

#mask ⇒ String?

Last 4 digits of the card number.

Parameters:

  • (String)

Returns:

  • (String, nil)


1687
# File 'lib/method_ruby/models/entity.rb', line 1687

optional :mask, String

#network ⇒ String?

The card network.

Parameters:

  • (String)

Returns:

  • (String, nil)


1693
# File 'lib/method_ruby/models/entity.rb', line 1693

optional :network, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


1253
# File 'sig/method_ruby/models/entity.rbs', line 1253

def to_hash: -> {