Class: Inttegro::PurchaseIntent::CreatePresentationBuyPageText

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

Overview

Typed representation of the create presentation buy page text 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

#amount_field_label ⇒ String? (readonly)

Plain, single-line label for a customer-selected amount field

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

Returns:

  • (String, nil)


36
37
38
39
40
# File 'lib/inttegro/purchase_intent/create_presentation_buy_page_text.rb', line 36

class CreatePresentationBuyPageText < T::Struct
  const :checkout_section_title, T.nilable(String), default: nil
  const :amount_field_label, T.nilable(String), default: nil
  const :primary_action_label, T.nilable(String), default: nil
end

#checkout_section_title ⇒ String? (readonly)

Plain, single-line title shown above the Buy page form

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

Returns:

  • (String, nil)


36
37
38
39
40
# File 'lib/inttegro/purchase_intent/create_presentation_buy_page_text.rb', line 36

class CreatePresentationBuyPageText < T::Struct
  const :checkout_section_title, T.nilable(String), default: nil
  const :amount_field_label, T.nilable(String), default: nil
  const :primary_action_label, T.nilable(String), default: nil
end

#primary_action_label ⇒ String? (readonly)

Plain, single-line label used for the ready primary action. Validation and loading labels remain system-owned.

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

Returns:

  • (String, nil)


36
37
38
39
40
# File 'lib/inttegro/purchase_intent/create_presentation_buy_page_text.rb', line 36

class CreatePresentationBuyPageText < T::Struct
  const :checkout_section_title, T.nilable(String), default: nil
  const :amount_field_label, T.nilable(String), default: nil
  const :primary_action_label, T.nilable(String), default: nil
end