Class: Inttegro::PurchaseIntent::MerchantColorScheme

Inherits:
T::Struct
  • Object
show all
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

Instance Attribute Details

#border ⇒ String (readonly)

Value of the border field in the Inttegro API payload.

Required in the API payload. Wire name: border.

Returns:

  • (String)


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

Value of the link field in the Inttegro API payload.

Required in the API payload. Wire name: link.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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