Protocols
The following protocols are available globally.
-
A protocol that defines the color palette used in the Card Form.
See moreDeclaration
Swift
public protocol CardFormColors
-
A protocol that defines layout-related properties for the card entry form.
See moreDeclaration
Swift
public protocol LayoutCategories
-
A protocol that defines layout-related properties for the card entry form.
See moreDeclaration
Swift
public protocol CardLogoBannerApperance
-
The main protocol that contains all customizable components of the SDK. Developers can create their own type conforming to this protocol to provide a custom theme.
See moreDeclaration
Swift
public protocol CustomizableComponents
-
See moreCardViewLanguageprotocol defines a set of strings representing the language used by CardView components.Declaration
Swift
public protocol CardViewLanguage -
A protocol that defines a receiver for payment requests.
This protocol is generic over a
See morePayloadtype, ensuring that any conforming type can only succeed with its specific, required data structure.Declaration
Swift
public protocol PaymentRequestReceiver -
A protocol that provides a method to obtain a specific payment request receiver.
Implementing types must define the exact
See moreReceiverthey provide, which in turn defines the requiredPayload.Declaration
Swift
public protocol PaymentRequestReceivingAPI -
See moreCardMerchantPreferencesprotocol defines the preferences for a merchant. It includes a set of excluded card schemes and an initializer.Declaration
Swift
public protocol CardMerchantPreferences
Protocols Reference