Class: Inttegro::PurchaseIntent::Merchant
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PurchaseIntent::Merchant
- 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
-
#app_name ⇒ String?
readonly
Value of the
app_namefield in the Inttegro API payload. -
#organization_id ⇒ String?
readonly
Value of the
organization_idfield in the Inttegro API payload. -
#organization_name ⇒ String?
readonly
Value of the
organization_namefield in the Inttegro API payload.
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.
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.
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.
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 |