DigitalWalletAddCardViewController

public final class DigitalWalletAddCardViewController : PKAddPaymentPassViewController
extension DigitalWalletAddCardViewController: PKAddPaymentPassViewControllerDelegate

Documents view controller. Can be used to easily integrate the SDK.

  • PKAddPaymentPassViewControllerDelegate.addPaymentPassViewController(_:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:) implementation.

    Declaration

    Swift

    public func addPaymentPassViewController(
        _ controller: PKAddPaymentPassViewController,
        generateRequestWithCertificateChain certificates: [Data],
        nonce: Data,
        nonceSignature: Data,
        completionHandler handler: @escaping (PKAddPaymentPassRequest) -> Void)
  • PKAddPaymentPassViewControllerDelegate.addPaymentPassViewController(_:didFinishAdding:error:) implementation.

    Declaration

    Swift

    public func addPaymentPassViewController(
        _ controller: PKAddPaymentPassViewController,
        didFinishAdding pass: PKPaymentPass?,
        error: Error?)