Class: Inttegro::PurchaseIntent::Presentation

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

Overview

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

#buy_page ⇒ Inttegro::PurchaseIntent::PresentationBuyPage? (readonly)

Value of the buy_page field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: buy_page.



24
25
26
# File 'lib/inttegro/purchase_intent/presentation.rb', line 24

class Presentation < T::Struct
  const :buy_page, T.nilable(Inttegro::PurchaseIntent::PresentationBuyPage), default: nil
end