Package apple.passkit.protocol
Interface PKAddPaymentPassViewControllerDelegate
-
public interface PKAddPaymentPassViewControllerDelegateAPI-Since: 9.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePKAddPaymentPassViewControllerDelegate.Block_addPaymentPassViewControllerGenerateRequestWithCertificateChainNonceNonceSignatureCompletionHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPaymentPassViewControllerDidFinishAddingPaymentPassError(@NotNull PKAddPaymentPassViewController controller, @Nullable PKPaymentPass pass, @Nullable NSError error)Error parameter will use codes from the PKAddPaymentPassError enumeration, using the PKPassKitErrorDomain domain.voidaddPaymentPassViewControllerGenerateRequestWithCertificateChainNonceNonceSignatureCompletionHandler(@NotNull PKAddPaymentPassViewController controller, @NotNull NSArray<? extends NSData> certificates, @NotNull NSData nonce, @NotNull NSData nonceSignature, @NotNull PKAddPaymentPassViewControllerDelegate.Block_addPaymentPassViewControllerGenerateRequestWithCertificateChainNonceNonceSignatureCompletionHandler handler)Certificates is an array of NSData, each a DER encoded X.509 certificate, with the leaf first and root last.
-
-
-
Method Detail
-
addPaymentPassViewControllerDidFinishAddingPaymentPassError
void addPaymentPassViewControllerDidFinishAddingPaymentPassError(@NotNull @NotNull PKAddPaymentPassViewController controller, @Nullable @Nullable PKPaymentPass pass, @Nullable @Nullable NSError error)Error parameter will use codes from the PKAddPaymentPassError enumeration, using the PKPassKitErrorDomain domain.
-
addPaymentPassViewControllerGenerateRequestWithCertificateChainNonceNonceSignatureCompletionHandler
void addPaymentPassViewControllerGenerateRequestWithCertificateChainNonceNonceSignatureCompletionHandler(@NotNull @NotNull PKAddPaymentPassViewController controller, @NotNull @NotNull NSArray<? extends NSData> certificates, @NotNull @NotNull NSData nonce, @NotNull @NotNull NSData nonceSignature, @NotNull @NotNull PKAddPaymentPassViewControllerDelegate.Block_addPaymentPassViewControllerGenerateRequestWithCertificateChainNonceNonceSignatureCompletionHandler handler)Certificates is an array of NSData, each a DER encoded X.509 certificate, with the leaf first and root last. The continuation handler must be called within 20 seconds or an error will be displayed. Subsequent to timeout, the continuation handler is invalid and invocations will be ignored.
-
-