Initializers
init(display:)
Creates a global message rule from a CSSdisplay value.
init(isHidden:) instead.
init(from:)
Inherited fromDecodable.init(from:).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Swift Structure
struct CheckoutGlobalMessageRule
display value.
init(display: String? = nil)
init(isHidden:) instead.
Decodable.init(from:).
init(from decoder: any Decoder) throws
init(isHidden: Bool? = nil)
| Parameter | Description |
|---|---|
isHidden | If the value is true, the checkout removes the message. If the value is false, the checkout shows the message. If the value is nil, the checkout uses its default. |
| Property | Type | Description |
|---|---|---|
display | String? | The CSS display value of the message. |
isHidden | Bool? | A Boolean value that shows if the checkout hides the message. |
Was this page helpful?
