Class: Increase::Models::InboundMailItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::InboundMailItem
- Defined in:
- lib/increase/models/inbound_mail_item.rb
Overview
Defined Under Namespace
Modules: RejectionReason, Status, Type Classes: Check
Instance Attribute Summary collapse
-
#checks ⇒ Array<Increase::Models::InboundMailItem::Check>
The checks in the mail item.
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the Inbound Mail Item was created.
-
#file_id ⇒ String
The identifier for the File containing the scanned contents of the mail item.
-
#id ⇒ String
The Inbound Mail Item identifier.
-
#lockbox_id ⇒ String?
The identifier for the Lockbox that received this mail item.
-
#recipient_name ⇒ String?
The recipient name as written on the mail item.
-
#rejection_reason ⇒ Symbol, ...
If the mail item has been rejected, why it was rejected.
-
#status ⇒ Symbol, Increase::Models::InboundMailItem::Status
If the mail item has been processed.
-
#type ⇒ Symbol, Increase::Models::InboundMailItem::Type
A constant representing the object’s type.
Class Method Summary collapse
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Increase::Internal::Type::BaseModel
Instance Attribute Details
#checks ⇒ Array<Increase::Models::InboundMailItem::Check>
The checks in the mail item.
17 |
# File 'lib/increase/models/inbound_mail_item.rb', line 17 required :checks, -> { Increase::Internal::Type::ArrayOf[Increase::InboundMailItem::Check] } |
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the Inbound Mail Item was created.
24 |
# File 'lib/increase/models/inbound_mail_item.rb', line 24 required :created_at, Time |
#file_id ⇒ String
The identifier for the File containing the scanned contents of the mail item.
30 |
# File 'lib/increase/models/inbound_mail_item.rb', line 30 required :file_id, String |
#id ⇒ String
The Inbound Mail Item identifier.
11 |
# File 'lib/increase/models/inbound_mail_item.rb', line 11 required :id, String |
#lockbox_id ⇒ String?
The identifier for the Lockbox that received this mail item. For mail items that could not be processed due to an invalid address, this will be null.
37 |
# File 'lib/increase/models/inbound_mail_item.rb', line 37 required :lockbox_id, String, nil?: true |
#recipient_name ⇒ String?
The recipient name as written on the mail item.
43 |
# File 'lib/increase/models/inbound_mail_item.rb', line 43 required :recipient_name, String, nil?: true |
#rejection_reason ⇒ Symbol, ...
If the mail item has been rejected, why it was rejected.
49 |
# File 'lib/increase/models/inbound_mail_item.rb', line 49 required :rejection_reason, enum: -> { Increase::InboundMailItem::RejectionReason }, nil?: true |
#status ⇒ Symbol, Increase::Models::InboundMailItem::Status
If the mail item has been processed.
55 |
# File 'lib/increase/models/inbound_mail_item.rb', line 55 required :status, enum: -> { Increase::InboundMailItem::Status } |
#type ⇒ Symbol, Increase::Models::InboundMailItem::Type
A constant representing the object’s type. For this resource it will always be ‘inbound_mail_item`.
62 |
# File 'lib/increase/models/inbound_mail_item.rb', line 62 required :type, enum: -> { Increase::InboundMailItem::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/inbound_mail_item.rb', line 147
|