Class: Inttegro::Order::SendInvoiceResponseDelivery
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::SendInvoiceResponseDelivery
- Defined in:
- lib/inttegro/order/send_invoice_response_delivery.rb
Overview
Delivery result for one hosted order document link.
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<Object>
readonly
Value of the
deliveriesfield in the Inttegro API payload. -
#document_kind ⇒ Inttegro::Order::SendInvoiceResponseDeliveryDocumentKind
readonly
Value of the
document_kindfield in the Inttegro API payload. -
#document_url ⇒ String
readonly
Hosted invoice or receipt URL sent to the customer.
-
#failed_channels ⇒ Array<Inttegro::Shared::DeliveryChannel>?
readonly
Channels that failed to send.
-
#failures ⇒ Array<Inttegro::Order::DocumentDeliveryFailure>?
readonly
Per-channel delivery failures.
-
#sent_channels ⇒ Array<Object>
readonly
Value of the
sent_channelsfield in the Inttegro API payload.
Instance Attribute Details
#deliveries ⇒ Array<Object> (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/send_invoice_response_delivery.rb', line 57 class SendInvoiceResponseDelivery < T::Struct const :deliveries, T::Array[Object] const :document_kind, Inttegro::Order::SendInvoiceResponseDeliveryDocumentKind const :document_url, String const :failed_channels, T.nilable(T::Array[Inttegro::Shared::DeliveryChannel]), default: nil const :failures, T.nilable(T::Array[Inttegro::Order::DocumentDeliveryFailure]), default: nil const :sent_channels, T::Array[Object] end |
#document_kind ⇒ Inttegro::Order::SendInvoiceResponseDeliveryDocumentKind (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/send_invoice_response_delivery.rb', line 57 class SendInvoiceResponseDelivery < T::Struct const :deliveries, T::Array[Object] const :document_kind, Inttegro::Order::SendInvoiceResponseDeliveryDocumentKind const :document_url, String const :failed_channels, T.nilable(T::Array[Inttegro::Shared::DeliveryChannel]), default: nil const :failures, T.nilable(T::Array[Inttegro::Order::DocumentDeliveryFailure]), default: nil const :sent_channels, T::Array[Object] end |
#document_url ⇒ String (readonly)
Hosted invoice or receipt URL sent to the customer. Receipt URLs use the hosted receipt path, not the invoice PDF path.
Required in the API payload. Wire name: document_url.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/send_invoice_response_delivery.rb', line 57 class SendInvoiceResponseDelivery < T::Struct const :deliveries, T::Array[Object] const :document_kind, Inttegro::Order::SendInvoiceResponseDeliveryDocumentKind const :document_url, String const :failed_channels, T.nilable(T::Array[Inttegro::Shared::DeliveryChannel]), default: nil const :failures, T.nilable(T::Array[Inttegro::Order::DocumentDeliveryFailure]), default: nil const :sent_channels, T::Array[Object] end |
#failed_channels ⇒ Array<Inttegro::Shared::DeliveryChannel>? (readonly)
Channels that failed to send.
Optional in the API payload; omitted values default to nil. Wire name: failed_channels.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/send_invoice_response_delivery.rb', line 57 class SendInvoiceResponseDelivery < T::Struct const :deliveries, T::Array[Object] const :document_kind, Inttegro::Order::SendInvoiceResponseDeliveryDocumentKind const :document_url, String const :failed_channels, T.nilable(T::Array[Inttegro::Shared::DeliveryChannel]), default: nil const :failures, T.nilable(T::Array[Inttegro::Order::DocumentDeliveryFailure]), default: nil const :sent_channels, T::Array[Object] end |
#failures ⇒ Array<Inttegro::Order::DocumentDeliveryFailure>? (readonly)
Per-channel delivery failures.
Optional in the API payload; omitted values default to nil. Wire name: failures.
57 58 59 60 61 62 63 64 |
# File 'lib/inttegro/order/send_invoice_response_delivery.rb', line 57 class SendInvoiceResponseDelivery < T::Struct const :deliveries, T::Array[Object] const :document_kind, Inttegro::Order::SendInvoiceResponseDeliveryDocumentKind const :document_url, String const :failed_channels, T.nilable(T::Array[Inttegro::Shared::DeliveryChannel]), default: nil const :failures, T.nilable(T::Array[Inttegro::Order::DocumentDeliveryFailure]), default: nil const :sent_channels, T::Array[Object] end |
#sent_channels ⇒ Array<Object> (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/send_invoice_response_delivery.rb', line 57 class SendInvoiceResponseDelivery < T::Struct const :deliveries, T::Array[Object] const :document_kind, Inttegro::Order::SendInvoiceResponseDeliveryDocumentKind const :document_url, String const :failed_channels, T.nilable(T::Array[Inttegro::Shared::DeliveryChannel]), default: nil const :failures, T.nilable(T::Array[Inttegro::Order::DocumentDeliveryFailure]), default: nil const :sent_channels, T::Array[Object] end |