Class: Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/check_transfer.rb

Defined Under Namespace

Modules: Category

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(category: , created_at: , postal_code: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate for more details.

Parameters:



# File 'lib/increase/models/check_transfer.rb', line 742

Instance Attribute Details

#categorySymbol, Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::Category

The type of tracking event.



727
# File 'lib/increase/models/check_transfer.rb', line 727

required :category, enum: -> { Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::Category }

#created_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the tracking event took place.

Returns:

  • (Time)


734
# File 'lib/increase/models/check_transfer.rb', line 734

required :created_at, Time

#postal_codeString

The postal code where the event took place.

Returns:

  • (String)


740
# File 'lib/increase/models/check_transfer.rb', line 740

required :postal_code, String