InstrumentDataComponents
public struct InstrumentDataComponents : Sendable
Components of InstrumentData.
-
Initializes
InstrumentDataComponentswith the encrypted card data.Declaration
Swift
public init(encryptedCardData: Data, publicKeyIdentifier: String? = nil)Parameters
encryptedCardDataThe encrypted card data.
publicKeyIdentifierIdentifier of the public key.
-
Initializes
InstrumentDataComponentswith scheme, type, version and push receipt payload.Declaration
Swift
public init( scheme: DigitalCard.Scheme, payload: String, type: String = "pushAccountReceipt", version: String? = nil )Parameters
schemePrimary card scheme
payloadPush receipt value as received from issuer wallet
typeType of issuer push receipt.
versionVersion of push receipt used
-
Builds the instrument data.
Declaration
Swift
public func instrumentData() -> InstrumentDataReturn Value
InstrumentDataComponents Structure Reference