Class: Inttegro::PurchaseIntent::MerchantAsset
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PurchaseIntent::MerchantAsset
- Defined in:
- lib/inttegro/purchase_intent/merchant_asset.rb
Overview
Typed representation of the merchant asset 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
-
#alt_text ⇒ String?
readonly
Accessible description of the merchant asset.
-
#url ⇒ String
readonly
Public URL of the merchant asset.
Instance Attribute Details
#alt_text ⇒ String? (readonly)
Accessible description of the merchant asset
Optional in the API payload; omitted values default to nil. Wire name: alt_text.
29 30 31 32 |
# File 'lib/inttegro/purchase_intent/merchant_asset.rb', line 29 class MerchantAsset < T::Struct const :alt_text, T.nilable(String), default: nil const :url, String end |
#url ⇒ String (readonly)
Public URL of the merchant asset
Required in the API payload. Wire name: url.
29 30 31 32 |
# File 'lib/inttegro/purchase_intent/merchant_asset.rb', line 29 class MerchantAsset < T::Struct const :alt_text, T.nilable(String), default: nil const :url, String end |