Class: Increase::Models::RealTimeDecision::DigitalWalletToken::Device

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/real_time_decision.rb,
sig/increase/models/real_time_decision.rbs

Overview

See Also:

  • Increase::Models::RealTimeDecision::DigitalWalletToken#device

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

#initializeDevice

Returns a new instance of Device.

Parameters:

  • identifier: (String, nil)


2676
# File 'sig/increase/models/real_time_decision.rbs', line 2676

def initialize: (identifier: String?) -> void

Instance Attribute Details

#identifierString?

ID assigned to the device by the digital wallet provider.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


3738
# File 'lib/increase/models/real_time_decision.rb', line 3738

required :identifier, String, nil?: true

Instance Method Details

#to_hash{ identifier: String? }

Returns:

  • ({ identifier: String? })


2678
# File 'sig/increase/models/real_time_decision.rbs', line 2678

def to_hash: -> { identifier: String? }