Class: Inttegro::PurchaseIntent::BundleSelection

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

Overview

Bundle selection. Components are resolved from the live catalog. Omit price and price_id to use the current catalog bundle price.

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

#id ⇒ String (readonly)

App-owned bundle ID to sell through the Buy link

Required in the API payload. Wire name: id.

Returns:

  • (String)


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

class BundleSelection < T::Struct
  const :id, String
end