Class: Inttegro::Product::ActionRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/product/action_request.rb

Overview

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

#product_id ⇒ String (readonly)

Product ID to perform action on

Required in the API payload. Wire name: product_id.

Returns:

  • (String)


23
24
25
# File 'lib/inttegro/product/action_request.rb', line 23

class ActionRequest < T::Struct
  const :product_id, String
end