---
title: ASImportableCredential.CreditCard
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/asimportablecredential/creditcard
---

# ASImportableCredential.CreditCard

A type to represent credit card information.

## Declaration

```swift
struct CreditCard
```

## Overview

Overview This type is a representation of CreditCard as defined in the Credential Exchange Format (CXF) specification.

## Topics

### Accessing credit card properties

- [number](authenticationservices/asimportablecredential/creditcard/number.md)
- [fullName](authenticationservices/asimportablecredential/creditcard/fullname.md)
- [cardType](authenticationservices/asimportablecredential/creditcard/cardtype.md)
- [verificationNumber](authenticationservices/asimportablecredential/creditcard/verificationnumber.md)
- [expiryDate](authenticationservices/asimportablecredential/creditcard/expirydate.md)
- [validFrom](authenticationservices/asimportablecredential/creditcard/validfrom.md)

### Initializers

- [init(number:fullName:cardType:verificationNumber:pin:expiryDate:validFrom:)](authenticationservices/asimportablecredential/creditcard/init(number:fullname:cardtype:verificationnumber:pin:expirydate:validfrom:).md)

### Instance Properties

- [pin](authenticationservices/asimportablecredential/creditcard/pin.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Identity credential types

- [ASImportableCredential.creditCard(_:)](authenticationservices/asimportablecredential/creditcard(_:).md)
