Structures
The following structures are available globally.
-
Declaration
Swift
public struct CardAsset
-
Declaration
Swift
public struct CardAssetContent
-
The object encapsulating CardDetails. For security reasons, CardDetails needs to be wiped after use via the wipe function.
Use the following example to convert the variable from Data to String if needed:
let panString = String(data: pan, encoding: .utf8)
Since
1.0.0Declaration
Swift
public struct CardDetails
-
Declaration
Swift
public struct CardDigitizationResult
-
Declaration
Swift
public struct ConfigParams : Hashable
-
Contains the D1 errors.
Note
When an error occurs and support is required, it is recommended to include the full error details including the underlying errors in the report.
Since
1.0.0
Declaration
Swift
public struct D1Error : Error
extension D1Error: LocalizedError
-
Declaration
Swift
public struct DigitalCard
-
Declaration
Swift
public struct ProvisioningMethod
-
A struct to encapsulate the push notification messages coming from the D1 server.
Since
2.4.0Declaration
Swift
public struct PushResponse
-
Declaration
Swift
public struct TokenRequestor
-
This represents the UI component required to display the card details securely.
Since
2.1.0Declaration
Swift
public struct CardDetailsUI
-
The card metadata information containing basic information of the card. It is used to display the last 4 PAN digits and Card Art.
Since
1.0.0Declaration
Swift
public struct CardMetadata
-
This represents the UI component required to display the physical card PIN securely.
Since
1.1.0Declaration
Swift
public struct CardPINUI
-
This represents the UI component required to display the secure text entry mechanism.
Since
1.1.0Declaration
Swift
public struct EntryUI
-
Declaration
Swift
public struct ConsumerInfo