SaveCardToggleOption
public enum SaveCardToggleOption : Equatable
Defines the visibility and labeling options for the “Save Card” toggle in the payment form.
-
The save card toggle is not displayed to the user.
Declaration
Swift
case none -
The save card toggle is visible and uses the default localized string provided by the
CardFormLanguageAPI.Declaration
Swift
case defaultLabel -
The save card toggle is visible and displays a custom string.
Declaration
Swift
case customLabel(String)Parameters
StringThe custom text to be displayed alongside the toggle.