Class: Inttegro::PurchaseIntent::MerchantSupport

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

Overview

Typed representation of the merchant support 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

#email ⇒ String? (readonly)

Public merchant support email address

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

Returns:

  • (String, nil)


29
30
31
32
# File 'lib/inttegro/purchase_intent/merchant_support.rb', line 29

class MerchantSupport < T::Struct
  const :email, T.nilable(String), default: nil
  const :phone, T.nilable(String), default: nil
end

#phone ⇒ String? (readonly)

Public merchant support phone number

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

Returns:

  • (String, nil)


29
30
31
32
# File 'lib/inttegro/purchase_intent/merchant_support.rb', line 29

class MerchantSupport < T::Struct
  const :email, T.nilable(String), default: nil
  const :phone, T.nilable(String), default: nil
end