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
public class VGSPaymentCards
-
An object representing Payment Card
See moreDeclaration
Swift
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.unknown
is set astrue
. CheckVGSValidationRulePaymentCard
for more details. Validation attributes can be edited through `VGSPaymentCards.unknown
model.Declaration
Swift
public struct VGSUnknownPaymentCardModel