PaymentMethod
An object representing a Svea App Wallet payment method.
Property | Description | Type | Mandatory |
---|---|---|---|
cardNumber | Masked card number. | String | Yes |
label | Custom name set for the card. | String | Yes |
alias | Unique identifier for the card. | String | Yes |
type | Identifies the type of payment method. | PaymentType | Yes |
subType | Identifies the sub type of the card type. | PaymentSubType | Yes |
expiryInfo | The payment method expiry date if applicable. | ExpiryInfo | No |
isDefault | Defines if the card is the default payment method | Boolean | Yes |
struct PaymentMethod {
var cardNumber: String
var expiryDate: String
var label: String
var alias: String
var type: PaymentType
var subType: PaymentSubType
var expiryInfo: ExpiryInfo?
var isDefault: Bool
}