Class: Inttegro::PurchaseIntent::UpdatePresentationBuyPageText

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

Overview

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

Value of the amount_field_label field in the Inttegro API payload.

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

Returns:

  • (String, nil)


35
36
37
38
39
# File 'lib/inttegro/purchase_intent/update_presentation_buy_page_text.rb', line 35

class UpdatePresentationBuyPageText < 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)

Value of the checkout_section_title field in the Inttegro API payload.

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

Returns:

  • (String, nil)


35
36
37
38
39
# File 'lib/inttegro/purchase_intent/update_presentation_buy_page_text.rb', line 35

class UpdatePresentationBuyPageText < 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)

Value of the primary_action_label field in the Inttegro API payload.

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

Returns:

  • (String, nil)


35
36
37
38
39
# File 'lib/inttegro/purchase_intent/update_presentation_buy_page_text.rb', line 35

class UpdatePresentationBuyPageText < 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