Class: Inttegro::Order::DocumentDeliveryRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/order/document_delivery_request.rb

Overview

Typed representation of the document delivery request 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

Instance Attribute Details

#order_id ⇒ String (readonly)

Order whose hosted invoice or receipt link should be delivered.

Required in the API payload. Wire name: order_id.

Returns:

  • (String)


23
24
25
# File 'lib/inttegro/order/document_delivery_request.rb', line 23

class DocumentDeliveryRequest < T::Struct
  const :order_id, String
end