Class: Inttegro::PurchaseIntent::MerchantBranding
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PurchaseIntent::MerchantBranding
- Defined in:
- lib/inttegro/purchase_intent/merchant_branding.rb
Overview
Typed representation of the merchant branding 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
-
#accent_color ⇒ String
readonly
Merchant accent color as a normalized six-digit hexadecimal value.
-
#color_scheme ⇒ Inttegro::PurchaseIntent::MerchantColorScheme
readonly
Value of the
color_schemefield in the Inttegro API payload. -
#icon ⇒ Inttegro::PurchaseIntent::MerchantAsset?
readonly
Value of the
iconfield in the Inttegro API payload. -
#logo ⇒ Inttegro::PurchaseIntent::MerchantAsset?
readonly
Value of the
logofield in the Inttegro API payload.
Instance Attribute Details
#accent_color ⇒ String (readonly)
Merchant accent color as a normalized six-digit hexadecimal value
Required in the API payload. Wire name: accent_color.
43 44 45 46 47 48 |
# File 'lib/inttegro/purchase_intent/merchant_branding.rb', line 43 class MerchantBranding < T::Struct const :accent_color, String const :color_scheme, Inttegro::PurchaseIntent::MerchantColorScheme const :icon, T.nilable(Inttegro::PurchaseIntent::MerchantAsset), default: nil const :logo, T.nilable(Inttegro::PurchaseIntent::MerchantAsset), default: nil end |
#color_scheme ⇒ Inttegro::PurchaseIntent::MerchantColorScheme (readonly)
Value of the color_scheme field in the Inttegro API payload.
Required in the API payload. Wire name: color_scheme.
43 44 45 46 47 48 |
# File 'lib/inttegro/purchase_intent/merchant_branding.rb', line 43 class MerchantBranding < T::Struct const :accent_color, String const :color_scheme, Inttegro::PurchaseIntent::MerchantColorScheme const :icon, T.nilable(Inttegro::PurchaseIntent::MerchantAsset), default: nil const :logo, T.nilable(Inttegro::PurchaseIntent::MerchantAsset), default: nil end |
#icon ⇒ Inttegro::PurchaseIntent::MerchantAsset? (readonly)
Value of the icon field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: icon.
43 44 45 46 47 48 |
# File 'lib/inttegro/purchase_intent/merchant_branding.rb', line 43 class MerchantBranding < T::Struct const :accent_color, String const :color_scheme, Inttegro::PurchaseIntent::MerchantColorScheme const :icon, T.nilable(Inttegro::PurchaseIntent::MerchantAsset), default: nil const :logo, T.nilable(Inttegro::PurchaseIntent::MerchantAsset), default: nil end |
#logo ⇒ Inttegro::PurchaseIntent::MerchantAsset? (readonly)
Value of the logo field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: logo.
43 44 45 46 47 48 |
# File 'lib/inttegro/purchase_intent/merchant_branding.rb', line 43 class MerchantBranding < T::Struct const :accent_color, String const :color_scheme, Inttegro::PurchaseIntent::MerchantColorScheme const :icon, T.nilable(Inttegro::PurchaseIntent::MerchantAsset), default: nil const :logo, T.nilable(Inttegro::PurchaseIntent::MerchantAsset), default: nil end |