Class: Inttegro::PurchaseIntent::MultiUseUsage

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/purchase_intent/multi_use_usage.rb

Overview

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

#multi_use ⇒ Boolean (readonly)

Value of the multi_use field in the Inttegro API payload.

Required in the API payload. Wire name: multi_use.

Returns:

  • (Boolean)


23
24
25
# File 'lib/inttegro/purchase_intent/multi_use_usage.rb', line 23

class MultiUseUsage < T::Struct
  const :multi_use, T::Boolean
end