Class: MethodRuby::Models::Entity::EntityIndividualResource::Connect::EntityConnect::Account::AccountLiabilityResource::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::AccountLiabilityResource#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



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

def initialize: (

Instance Attribute Details

#issuer ⇒ String?

The card issuer.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :issuer, String

#mask ⇒ String?

Last 4 digits of the card number.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :mask, String

#network ⇒ String?

The card network.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :network, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


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

def to_hash: -> {