Class: Inttegro::PurchaseIntent::CreatePresentation

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

Overview

Optional merchant-authored copy for the hosted Buy page. Omit it to use product-aware defaults.

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::CreatePresentationBuyPage (readonly)

Value of the buy_page field in the Inttegro API payload.

Required in the API payload. Wire name: buy_page.



25
26
27
# File 'lib/inttegro/purchase_intent/create_presentation.rb', line 25

class CreatePresentation < T::Struct
  const :buy_page, Inttegro::PurchaseIntent::CreatePresentationBuyPage
end