Class: Increase::Models::InboundMailItem
- Defined in:
- lib/increase/models/inbound_mail_item.rb
Defined Under Namespace
Classes: ReturnAddress
Instance Attribute Summary collapse
-
#created_at ⇒ String
The 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.
-
#return_address ⇒ Increase::Models::InboundMailItem::ReturnAddress
The return address as written on the mail item.
-
#status ⇒ Symbol
If the mail item has been processed.
-
#type ⇒ Symbol
A constant representing the object's type.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#created_at ⇒ String
The ISO 8601 time at which the Inbound Mail Item was created.
14 |
# File 'lib/increase/models/inbound_mail_item.rb', line 14 required :created_at, String |
#file_id ⇒ String
The identifier for the File containing the scanned contents of the mail item.
19 |
# File 'lib/increase/models/inbound_mail_item.rb', line 19 required :file_id, String |
#id ⇒ String
The Inbound Mail Item identifier.
9 |
# File 'lib/increase/models/inbound_mail_item.rb', line 9 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.
24 |
# File 'lib/increase/models/inbound_mail_item.rb', line 24 required :lockbox_id, String |
#recipient_name ⇒ String
The recipient name as written on the mail item.
29 |
# File 'lib/increase/models/inbound_mail_item.rb', line 29 required :recipient_name, String |
#rejection_reason ⇒ Symbol
If the mail item has been rejected, why it was rejected.
34 |
# File 'lib/increase/models/inbound_mail_item.rb', line 34 required :rejection_reason, Increase::Enum.new(:no_matching_lockbox, :no_check, :lockbox_not_active) |
#return_address ⇒ Increase::Models::InboundMailItem::ReturnAddress
The return address as written on the mail item.
39 |
# File 'lib/increase/models/inbound_mail_item.rb', line 39 required :return_address, -> { Increase::Models::InboundMailItem::ReturnAddress } |
#status ⇒ Symbol
If the mail item has been processed.
44 |
# File 'lib/increase/models/inbound_mail_item.rb', line 44 required :status, Increase::Enum.new(:pending, :processed, :rejected) |
#type ⇒ Symbol
A constant representing the object's type. For this resource it will always be inbound_mail_item
.
49 |
# File 'lib/increase/models/inbound_mail_item.rb', line 49 required :type, Increase::Enum.new(:inbound_mail_item) |