CardInformation

An object representing a card that can be added to Svea App Wallet.

PropertyDescriptionTypeOptional
cardNumberThe card numberStringNo
expirationDateThe card expiry dateCardDateNo
labelA name which the user sets for the card, such as “My first card”StringYes
securityCode3 or 4 digits on the back of the cardStringNo
isDefaultDefines if the card is the default payment methodBooleanYes
Copy
Copied
struct CardInformation {
    cardNumber: String
    expirationDate: CardDate
    label: String?
    securityCode: String
    isDefault : Bool
}