Structures

The following structures are available globally.

  • The object contains resources such as image used to display Card Art.

    Since

    1.0.0
    See more

    Declaration

    Swift

    public struct CardAsset
  • The object that contains the content of the asset.

    Since

    1.0.0
    See more

    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.0
    See more

    Declaration

    Swift

    public struct CardDetails
  • The structure containing the card digitization details.

    Since

    1.0.0
    See more

    Declaration

    Swift

    public struct CardDigitizationResult
  • The configuration parameters for D1 SDK initialization.

    Since

    1.0.0
    See more

    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

    See more

    Declaration

    Swift

    public struct D1Error : Error
    extension D1Error: LocalizedError
  • The full information of the digital card.

    Since

    1.0.0
    See more

    Declaration

    Swift

    public struct DigitalCard
  • Provisioning method of TokenRequestor.

    Since

    1.0.0
    See more

    Declaration

    Swift

    public struct ProvisioningMethod
  • A struct to encapsulate the push notification messages coming from the D1 server.

    Since

    2.4.0
    See more

    Declaration

    Swift

    public struct PushResponse
  • Information of TokenRequestor.

    Since

    1.0.0
    See more

    Declaration

    Swift

    public struct TokenRequestor
  • This represents the UI component required to display the card details securely.

    Since

    2.1.0
    See more

    Declaration

    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.0
    See more

    Declaration

    Swift

    public struct CardMetadata
  • This represents the UI component required to display the physical card PIN securely.

    Since

    1.1.0
    See more

    Declaration

    Swift

    public struct CardPINUI
  • This represents the UI component required to display the secure text entry mechanism.

    Since

    1.1.0
    See more

    Declaration

    Swift

    public struct EntryUI
  • Information about the consumer.

    Since

    3.3.0
    See more

    Declaration

    Swift

    public struct ConsumerInfo