Payment Cards
-
Class responsible for storing and managing Payment Cards in SDK.
- Contains editable defined Payment Cards Models
- Allows to add Custom Payment Cards Models
- Allows to edit Unknown Payment Cards Models(brands not defined by SDK and Developer)
Declaration
Swift
@MainActor final public class VGSPaymentCards -
An object representing Payment Card
See moreDeclaration
Swift
@MainActor public struct VGSPaymentCardModel : VGSPaymentCardModelProtocol -
Holds information for custom payment model.
See moreDeclaration
Swift
public struct VGSCustomPaymentCardModel : VGSPaymentCardModelProtocol -
An object representing Unknown Payment Cards - cards not defined in the SDK. Object is used when validation for
See moreCardBrand.unknownis set astrue. CheckVGSValidationRulePaymentCardfor more details. Validation attributes can be edited through `VGSPaymentCards.unknownmodel.Declaration
Swift
@MainActor public struct VGSUnknownPaymentCardModel
View on GitHub
Payment Cards Reference