Class: Inttegro::Order::DocumentFormat

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

Overview

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

Instance Attribute Details

#url ⇒ String (readonly)

Value of the url field in the Inttegro API payload.

Required in the API payload. Wire name: url.

Returns:

  • (String)


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

class DocumentFormat < T::Struct
  const :url, String
end