Class: Inttegro::PurchaseIntent::MerchantColorScheme
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PurchaseIntent::MerchantColorScheme
- Defined in:
- lib/inttegro/purchase_intent/merchant_color_scheme.rb
Overview
Typed representation of the merchant color scheme 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
-
#border ⇒ String
readonly
Value of the
borderfield in the Inttegro API payload. -
#link ⇒ String
readonly
Value of the
linkfield in the Inttegro API payload. -
#muted_text ⇒ String
readonly
Value of the
muted_textfield in the Inttegro API payload. -
#primary ⇒ String
readonly
Value of the
primaryfield in the Inttegro API payload. -
#primary_foreground ⇒ String
readonly
Value of the
primary_foregroundfield in the Inttegro API payload. -
#surface ⇒ String
readonly
Value of the
surfacefield in the Inttegro API payload. -
#surface_muted ⇒ String
readonly
Value of the
surface_mutedfield in the Inttegro API payload. -
#text ⇒ String
readonly
Value of the
textfield in the Inttegro API payload.
Instance Attribute Details
#border ⇒ String (readonly)
Value of the border field in the Inttegro API payload.
Required in the API payload. Wire name: border.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/purchase_intent/merchant_color_scheme.rb', line 65 class MerchantColorScheme < T::Struct const :border, String const :link, String const :muted_text, String const :primary, String const :primary_foreground, String const :surface, String const :surface_muted, String const :text, String end |
#link ⇒ String (readonly)
Value of the link field in the Inttegro API payload.
Required in the API payload. Wire name: link.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/purchase_intent/merchant_color_scheme.rb', line 65 class MerchantColorScheme < T::Struct const :border, String const :link, String const :muted_text, String const :primary, String const :primary_foreground, String const :surface, String const :surface_muted, String const :text, String end |
#muted_text ⇒ String (readonly)
Value of the muted_text field in the Inttegro API payload.
Required in the API payload. Wire name: muted_text.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/purchase_intent/merchant_color_scheme.rb', line 65 class MerchantColorScheme < T::Struct const :border, String const :link, String const :muted_text, String const :primary, String const :primary_foreground, String const :surface, String const :surface_muted, String const :text, String end |
#primary ⇒ String (readonly)
Value of the primary field in the Inttegro API payload.
Required in the API payload. Wire name: primary.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/purchase_intent/merchant_color_scheme.rb', line 65 class MerchantColorScheme < T::Struct const :border, String const :link, String const :muted_text, String const :primary, String const :primary_foreground, String const :surface, String const :surface_muted, String const :text, String end |
#primary_foreground ⇒ String (readonly)
Value of the primary_foreground field in the Inttegro API payload.
Required in the API payload. Wire name: primary_foreground.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/purchase_intent/merchant_color_scheme.rb', line 65 class MerchantColorScheme < T::Struct const :border, String const :link, String const :muted_text, String const :primary, String const :primary_foreground, String const :surface, String const :surface_muted, String const :text, String end |
#surface ⇒ String (readonly)
Value of the surface field in the Inttegro API payload.
Required in the API payload. Wire name: surface.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/purchase_intent/merchant_color_scheme.rb', line 65 class MerchantColorScheme < T::Struct const :border, String const :link, String const :muted_text, String const :primary, String const :primary_foreground, String const :surface, String const :surface_muted, String const :text, String end |
#surface_muted ⇒ String (readonly)
Value of the surface_muted field in the Inttegro API payload.
Required in the API payload. Wire name: surface_muted.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/purchase_intent/merchant_color_scheme.rb', line 65 class MerchantColorScheme < T::Struct const :border, String const :link, String const :muted_text, String const :primary, String const :primary_foreground, String const :surface, String const :surface_muted, String const :text, String end |
#text ⇒ String (readonly)
Value of the text field in the Inttegro API payload.
Required in the API payload. Wire name: text.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/purchase_intent/merchant_color_scheme.rb', line 65 class MerchantColorScheme < T::Struct const :border, String const :link, String const :muted_text, String const :primary, String const :primary_foreground, String const :surface, String const :surface_muted, String const :text, String end |