Class: Inttegro::PurchaseIntent::Merchant

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

Overview

Merchant identity captured for the hosted checkout. Individual fields are omitted when unavailable.

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

#app_name ⇒ String? (readonly)

Value of the app_name field in the Inttegro API payload.

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

Returns:

  • (String, nil)


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

class Merchant < T::Struct
  const :app_name, T.nilable(String), default: nil
  const :organization_id, T.nilable(String), default: nil
  const :organization_name, T.nilable(String), default: nil
end

#organization_id ⇒ String? (readonly)

Value of the organization_id field in the Inttegro API payload.

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

Returns:

  • (String, nil)


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

class Merchant < T::Struct
  const :app_name, T.nilable(String), default: nil
  const :organization_id, T.nilable(String), default: nil
  const :organization_name, T.nilable(String), default: nil
end

#organization_name ⇒ String? (readonly)

Value of the organization_name field in the Inttegro API payload.

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

Returns:

  • (String, nil)


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

class Merchant < T::Struct
  const :app_name, T.nilable(String), default: nil
  const :organization_id, T.nilable(String), default: nil
  const :organization_name, T.nilable(String), default: nil
end