Class: Inttegro::Order::ReceiptDocumentFormat
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::ReceiptDocumentFormat
- Defined in:
- lib/inttegro/order/receipt_document_format.rb
Overview
Typed representation of the receipt document format object in the Inttegro API.
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
-
#delivery_summary ⇒ Inttegro::Order::DocumentDeliverySummary?
readonly
Bounded aggregate of Chime-accepted sends for one generated order document.
-
#url ⇒ String
readonly
Value of the
urlfield in the Inttegro API payload.
Instance Attribute Details
#delivery_summary ⇒ Inttegro::Order::DocumentDeliverySummary? (readonly)
Bounded aggregate of Chime-accepted sends for one generated order document.
Optional in the API payload; omitted values default to nil. Wire name: delivery_summary.
30 31 32 33 |
# File 'lib/inttegro/order/receipt_document_format.rb', line 30 class ReceiptDocumentFormat < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :url, String end |
#url ⇒ String (readonly)
Value of the url field in the Inttegro API payload.
Required in the API payload. Wire name: url.
30 31 32 33 |
# File 'lib/inttegro/order/receipt_document_format.rb', line 30 class ReceiptDocumentFormat < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :url, String end |