Class: Inttegro::Checkout::LegacyPurchaseIntentLookupRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/checkout/legacy_purchase_intent_lookup_request.rb

Overview

Legacy Purchase Intent amount selection. New integrations should use /checkout/pay.

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

#purchase_intent_id ⇒ String (readonly)

Purchase Intent whose customer-selected amount policy should be loaded.

Required in the API payload. Wire name: purchase_intent_id.

Returns:

  • (String)


23
24
25
# File 'lib/inttegro/checkout/legacy_purchase_intent_lookup_request.rb', line 23

class LegacyPurchaseIntentLookupRequest < T::Struct
  const :purchase_intent_id, String
end