VGSCardState
@MainActor
public class VGSCardState : VGSTextFieldState
An object that describes VGSTextField state with configuration FieldType.cardNumber . State attributes are read-only.
-
Last 4 digits of the valid card number from associated
VGSTextFieldwith field configuration typeFieldType.cardNumber.Declaration
Swift
@MainActor internal(set) open var last4: String { get } -
Bin digits of the valid card number from associated
VGSTextFieldwith field configuration typeFieldType.cardNumber.Declaration
Swift
@MainActor internal(set) open var bin: String { get } -
Credit Card Brand of the card number from associated
VGSTextFieldwith field configuration typeFieldType.cardNumber.Declaration
Swift
@MainActor internal(set) open var cardBrand: VGSPaymentCards.CardBrand { get } -
Message that contains
VGSCardStateattributes and their values.Declaration
Swift
@MainActor override public var description: String { get }
View on GitHub