Class: Inttegro::Order::DocumentPartialDelivery
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::DocumentPartialDelivery
- Defined in:
- lib/inttegro/order/document_partial_delivery.rb
Overview
Partial order-document delivery with at least one accepted and one failed channel.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#deliveries ⇒ Array<Inttegro::Order::DocumentDeliveryAttempt>
readonly
Value of the
deliveriesfield in the Inttegro API payload. -
#document_kind ⇒ Inttegro::Order::DocumentKind
readonly
Value of the
document_kindfield in the Inttegro API payload. -
#document_url ⇒ String
readonly
Value of the
document_urlfield in the Inttegro API payload. -
#failed_channels ⇒ Array<Inttegro::Shared::DeliveryChannel>
readonly
Value of the
failed_channelsfield in the Inttegro API payload. -
#failures ⇒ Array<Inttegro::Order::DocumentDeliveryFailure>
readonly
Value of the
failuresfield in the Inttegro API payload. -
#sent_channels ⇒ Array<Inttegro::Shared::DeliveryChannel>
readonly
Value of the
sent_channelsfield in the Inttegro API payload.
Instance Attribute Details
#deliveries ⇒ Array<Inttegro::Order::DocumentDeliveryAttempt> (readonly)
Value of the deliveries field in the Inttegro API payload.
Required in the API payload. Wire name: deliveries.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/document_partial_delivery.rb', line 57 class DocumentPartialDelivery < T::Struct const :deliveries, T::Array[Inttegro::Order::DocumentDeliveryAttempt] const :document_kind, Inttegro::Order::DocumentKind const :document_url, String const :failed_channels, T::Array[Inttegro::Shared::DeliveryChannel] const :failures, T::Array[Inttegro::Order::DocumentDeliveryFailure] const :sent_channels, T::Array[Inttegro::Shared::DeliveryChannel] end |
#document_kind ⇒ Inttegro::Order::DocumentKind (readonly)
Value of the document_kind field in the Inttegro API payload.
Required in the API payload. Wire name: document_kind.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/document_partial_delivery.rb', line 57 class DocumentPartialDelivery < T::Struct const :deliveries, T::Array[Inttegro::Order::DocumentDeliveryAttempt] const :document_kind, Inttegro::Order::DocumentKind const :document_url, String const :failed_channels, T::Array[Inttegro::Shared::DeliveryChannel] const :failures, T::Array[Inttegro::Order::DocumentDeliveryFailure] const :sent_channels, T::Array[Inttegro::Shared::DeliveryChannel] end |
#document_url ⇒ String (readonly)
Value of the document_url field in the Inttegro API payload.
Required in the API payload. Wire name: document_url.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/document_partial_delivery.rb', line 57 class DocumentPartialDelivery < T::Struct const :deliveries, T::Array[Inttegro::Order::DocumentDeliveryAttempt] const :document_kind, Inttegro::Order::DocumentKind const :document_url, String const :failed_channels, T::Array[Inttegro::Shared::DeliveryChannel] const :failures, T::Array[Inttegro::Order::DocumentDeliveryFailure] const :sent_channels, T::Array[Inttegro::Shared::DeliveryChannel] end |
#failed_channels ⇒ Array<Inttegro::Shared::DeliveryChannel> (readonly)
Value of the failed_channels field in the Inttegro API payload.
Required in the API payload. Wire name: failed_channels.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/document_partial_delivery.rb', line 57 class DocumentPartialDelivery < T::Struct const :deliveries, T::Array[Inttegro::Order::DocumentDeliveryAttempt] const :document_kind, Inttegro::Order::DocumentKind const :document_url, String const :failed_channels, T::Array[Inttegro::Shared::DeliveryChannel] const :failures, T::Array[Inttegro::Order::DocumentDeliveryFailure] const :sent_channels, T::Array[Inttegro::Shared::DeliveryChannel] end |
#failures ⇒ Array<Inttegro::Order::DocumentDeliveryFailure> (readonly)
Value of the failures field in the Inttegro API payload.
Required in the API payload. Wire name: failures.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/document_partial_delivery.rb', line 57 class DocumentPartialDelivery < T::Struct const :deliveries, T::Array[Inttegro::Order::DocumentDeliveryAttempt] const :document_kind, Inttegro::Order::DocumentKind const :document_url, String const :failed_channels, T::Array[Inttegro::Shared::DeliveryChannel] const :failures, T::Array[Inttegro::Order::DocumentDeliveryFailure] const :sent_channels, T::Array[Inttegro::Shared::DeliveryChannel] end |
#sent_channels ⇒ Array<Inttegro::Shared::DeliveryChannel> (readonly)
Value of the sent_channels field in the Inttegro API payload.
Required in the API payload. Wire name: sent_channels.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/document_partial_delivery.rb', line 57 class DocumentPartialDelivery < T::Struct const :deliveries, T::Array[Inttegro::Order::DocumentDeliveryAttempt] const :document_kind, Inttegro::Order::DocumentKind const :document_url, String const :failed_channels, T::Array[Inttegro::Shared::DeliveryChannel] const :failures, T::Array[Inttegro::Order::DocumentDeliveryFailure] const :sent_channels, T::Array[Inttegro::Shared::DeliveryChannel] end |