Class: Inttegro::PurchaseIntent::MerchantProfile
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PurchaseIntent::MerchantProfile
- Defined in:
- lib/inttegro/purchase_intent/merchant_profile.rb
Overview
Typed representation of the merchant profile 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
-
#name ⇒ String
readonly
Current public application alias, falling back to its current application name.
-
#support ⇒ Inttegro::PurchaseIntent::MerchantSupport?
readonly
Value of the
supportfield in the Inttegro API payload. -
#website_url ⇒ String?
readonly
Public merchant website URL.
Instance Attribute Details
#name ⇒ String (readonly)
Current public application alias, falling back to its current application name
Required in the API payload. Wire name: name.
36 37 38 39 40 |
# File 'lib/inttegro/purchase_intent/merchant_profile.rb', line 36 class MerchantProfile < T::Struct const :name, String const :support, T.nilable(Inttegro::PurchaseIntent::MerchantSupport), default: nil const :website_url, T.nilable(String), default: nil end |
#support ⇒ Inttegro::PurchaseIntent::MerchantSupport? (readonly)
Value of the support field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: support.
36 37 38 39 40 |
# File 'lib/inttegro/purchase_intent/merchant_profile.rb', line 36 class MerchantProfile < T::Struct const :name, String const :support, T.nilable(Inttegro::PurchaseIntent::MerchantSupport), default: nil const :website_url, T.nilable(String), default: nil end |
#website_url ⇒ String? (readonly)
Public merchant website URL
Optional in the API payload; omitted values default to nil. Wire name: website_url.
36 37 38 39 40 |
# File 'lib/inttegro/purchase_intent/merchant_profile.rb', line 36 class MerchantProfile < T::Struct const :name, String const :support, T.nilable(Inttegro::PurchaseIntent::MerchantSupport), default: nil const :website_url, T.nilable(String), default: nil end |