Documentation
¶
Overview ¶
Package passkit provides purego-based Go bindings for the macOS PassKit framework.
Apple documentation: https://developer.apple.com/documentation/passkit
Index ¶
- func PKAddIdentityDocumentConfigurationConfigurationForMetadataCompletion(metadata *PKIdentityDocumentMetadata, ...)
- func PKAddSecureElementPassErrorDomain() uintptr
- func PKAddShareablePassConfigurationConfigurationForPassMetadataPrimaryActionCompletion(passMetadata *foundation.NSArray[*PKShareablePassMetadata], ...)
- func PKAddShareablePassConfigurationConfigurationForPassMetadataProvisioningPolicyIdentifierPrimaryActionCompletion(passMetadata *foundation.NSArray[*PKShareablePassMetadata], ...)
- func PKContactFieldEmailAddress() *foundation.NSString
- func PKContactFieldName() *foundation.NSString
- func PKContactFieldPhoneNumber() *foundation.NSString
- func PKContactFieldPhoneticName() *foundation.NSString
- func PKContactFieldPostalAddress() *foundation.NSString
- func PKDisbursementErrorContactFieldUserInfoKey() *foundation.NSString
- func PKDisbursementErrorDomain() uintptr
- func PKDisbursementRequestDisbursementCardUnsupportedError() unsafe.Pointer
- func PKDisbursementRequestDisbursementContactInvalidErrorWithContactFieldLocalizedDescription(field *foundation.NSString, localizedDescription *foundation.NSString) unsafe.Pointer
- func PKEncryptionSchemeECC_V2() *foundation.NSString
- func PKEncryptionSchemeRSA_V2() *foundation.NSString
- func PKMerchantCategoryCodeNone() int16
- func PKPassKitErrorDomain() uintptr
- func PKPassLibraryAddedPassesUserInfoKey() *foundation.NSString
- func PKPassLibraryDidChangeNotification() *foundation.NSString
- func PKPassLibraryEndAutomaticPassPresentationSuppressionWithRequestToken(requestToken uint)
- func PKPassLibraryIsPassLibraryAvailable() bool
- func PKPassLibraryIsPaymentPassActivationAvailable() bool
- func PKPassLibraryIsSuppressingAutomaticPassPresentation() bool
- func PKPassLibraryPassTypeIdentifierUserInfoKey() *foundation.NSString
- func PKPassLibraryRecoveredPassesUserInfoKey() *foundation.NSString
- func PKPassLibraryRemotePaymentPassesDidChangeNotification() *foundation.NSString
- func PKPassLibraryRemovedPassInfosUserInfoKey() *foundation.NSString
- func PKPassLibraryReplacementPassesUserInfoKey() *foundation.NSString
- func PKPassLibraryRequestAutomaticPassPresentationSuppressionWithResponseHandler(responseHandler func(PKAutomaticPassPresentationSuppressionResult)) uint
- func PKPassLibrarySerialNumberUserInfoKey() *foundation.NSString
- func PKPaymentAuthorizationControllerCanMakePayments() bool
- func PKPaymentAuthorizationControllerCanMakePaymentsUsingNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString]) bool
- func PKPaymentAuthorizationControllerCanMakePaymentsUsingNetworksCapabilities(supportedNetworks *foundation.NSArray[*foundation.NSString], ...) bool
- func PKPaymentAuthorizationControllerSupportsDisbursements() bool
- func PKPaymentAuthorizationControllerSupportsDisbursementsUsingNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString]) bool
- func PKPaymentAuthorizationControllerSupportsDisbursementsUsingNetworksCapabilities(supportedNetworks *foundation.NSArray[*foundation.NSString], ...) bool
- func PKPaymentAuthorizationViewControllerCanMakePayments() bool
- func PKPaymentAuthorizationViewControllerCanMakePaymentsUsingNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString]) bool
- func PKPaymentAuthorizationViewControllerCanMakePaymentsUsingNetworksCapabilities(supportedNetworks *foundation.NSArray[*foundation.NSString], ...) bool
- func PKPaymentAuthorizationViewControllerSupportsDisbursements() bool
- func PKPaymentAuthorizationViewControllerSupportsDisbursementsUsingNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString]) bool
- func PKPaymentAuthorizationViewControllerSupportsDisbursementsUsingNetworksCapabilities(supportedNetworks *foundation.NSArray[*foundation.NSString], ...) bool
- func PKPaymentErrorContactFieldUserInfoKey() *foundation.NSString
- func PKPaymentErrorDomain() uintptr
- func PKPaymentErrorPostalAddressUserInfoKey() *foundation.NSString
- func PKPaymentNetworkAmex() *foundation.NSString
- func PKPaymentNetworkBancomat() *foundation.NSString
- func PKPaymentNetworkBancontact() *foundation.NSString
- func PKPaymentNetworkBankAxept() *foundation.NSString
- func PKPaymentNetworkBarcode() *foundation.NSString
- func PKPaymentNetworkCarteBancaire() *foundation.NSStringdeprecated
- func PKPaymentNetworkCarteBancaires() *foundation.NSStringdeprecated
- func PKPaymentNetworkCartesBancaires() *foundation.NSString
- func PKPaymentNetworkChinaUnionPay() *foundation.NSString
- func PKPaymentNetworkConecs() *foundation.NSString
- func PKPaymentNetworkDankort() *foundation.NSString
- func PKPaymentNetworkDiscover() *foundation.NSString
- func PKPaymentNetworkEftpos() *foundation.NSString
- func PKPaymentNetworkElCorteIngles() *foundation.NSString
- func PKPaymentNetworkElectron() *foundation.NSString
- func PKPaymentNetworkElo() *foundation.NSString
- func PKPaymentNetworkGirocard() *foundation.NSString
- func PKPaymentNetworkHimyan() *foundation.NSString
- func PKPaymentNetworkIDCredit() *foundation.NSString
- func PKPaymentNetworkInterac() *foundation.NSString
- func PKPaymentNetworkJCB() *foundation.NSString
- func PKPaymentNetworkJaywan() *foundation.NSString
- func PKPaymentNetworkMada() *foundation.NSString
- func PKPaymentNetworkMaestro() *foundation.NSString
- func PKPaymentNetworkMasterCard() *foundation.NSString
- func PKPaymentNetworkMeeza() *foundation.NSString
- func PKPaymentNetworkMir() *foundation.NSString
- func PKPaymentNetworkMyDebit() *foundation.NSString
- func PKPaymentNetworkNAPAS() *foundation.NSString
- func PKPaymentNetworkNanaco() *foundation.NSString
- func PKPaymentNetworkPagoBancomat() *foundation.NSStringdeprecated
- func PKPaymentNetworkPostFinance() *foundation.NSString
- func PKPaymentNetworkPrivateLabel() *foundation.NSString
- func PKPaymentNetworkQuicPay() *foundation.NSString
- func PKPaymentNetworkSuica() *foundation.NSString
- func PKPaymentNetworkTmoney() *foundation.NSString
- func PKPaymentNetworkVPay() *foundation.NSString
- func PKPaymentNetworkVisa() *foundation.NSString
- func PKPaymentNetworkWaon() *foundation.NSString
- func PKPaymentRequestAvailableNetworks() *foundation.NSArray[*foundation.NSString]
- func PKPaymentRequestPaymentBillingAddressInvalidErrorWithKeyLocalizedDescription(postalAddressKey *foundation.NSString, ...) unsafe.Pointer
- func PKPaymentRequestPaymentContactInvalidErrorWithContactFieldLocalizedDescription(field *foundation.NSString, localizedDescription *foundation.NSString) unsafe.Pointer
- func PKPaymentRequestPaymentCouponCodeExpiredErrorWithLocalizedDescription(localizedDescription *foundation.NSString) unsafe.Pointer
- func PKPaymentRequestPaymentCouponCodeInvalidErrorWithLocalizedDescription(localizedDescription *foundation.NSString) unsafe.Pointer
- func PKPaymentRequestPaymentShippingAddressInvalidErrorWithKeyLocalizedDescription(postalAddressKey *foundation.NSString, ...) unsafe.Pointer
- func PKPaymentRequestPaymentShippingAddressUnserviceableErrorWithLocalizedDescription(localizedDescription *foundation.NSString) unsafe.Pointer
- func PKShareSecureElementPassErrorDomain() uintptr
- func PKStoredValuePassBalanceTypeCash() *foundation.NSString
- func PKStoredValuePassBalanceTypeLoyaltyPoints() *foundation.NSString
- func PKVehicleConnectionSessionSessionForPassDelegateCompletion(pass *PKSecureElementPass, delegate PKVehicleConnectionDelegate, ...)
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type CGLCPContextPriorityRequest
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type EvCmd
- type Filesec_property_t
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type NXMouseButton
- type Os_clockid_t
- type Os_unfair_lock_flags_t
- type PKAddCarKeyPassConfiguration
- func (o *PKAddCarKeyPassConfiguration) Init() *PKAddCarKeyPassConfiguration
- func (o *PKAddCarKeyPassConfiguration) ManufacturerIdentifier() *foundation.NSString
- func (o *PKAddCarKeyPassConfiguration) Password() *foundation.NSString
- func (o *PKAddCarKeyPassConfiguration) ProductPlanIdentifier() *foundation.NSString
- func (o *PKAddCarKeyPassConfiguration) ProvisioningTemplateIdentifier() *foundation.NSString
- func (o *PKAddCarKeyPassConfiguration) SetManufacturerIdentifier(manufacturerIdentifier *foundation.NSString)
- func (o *PKAddCarKeyPassConfiguration) SetPassword(password *foundation.NSString)
- func (o *PKAddCarKeyPassConfiguration) SetProductPlanIdentifier(productPlanIdentifier *foundation.NSString)
- func (o *PKAddCarKeyPassConfiguration) SetProvisioningTemplateIdentifier(provisioningTemplateIdentifier *foundation.NSString)
- func (o *PKAddCarKeyPassConfiguration) SetSupportedRadioTechnologies(supportedRadioTechnologies PKRadioTechnology)
- func (o *PKAddCarKeyPassConfiguration) SupportedRadioTechnologies() PKRadioTechnology
- type PKAddIdentityDocumentConfiguration
- type PKAddIdentityDocumentMetadata
- func (o *PKAddIdentityDocumentMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierIssuingCountryCodeDocumentTypePreview(credentialIdentifier *foundation.NSString, ...) *PKAddIdentityDocumentMetadata
- func (o *PKAddIdentityDocumentMetadata) Preview() *PKAddPassMetadataPreview
- type PKAddIdentityDocumentType
- type PKAddPassMetadataPreview
- func (o *PKAddPassMetadataPreview) InitWithPassThumbnailLocalizedDescription(passThumbnail unsafe.Pointer, description *foundation.NSString) *PKAddPassMetadataPreview
- func (o *PKAddPassMetadataPreview) LocalizedDescription() *foundation.NSString
- func (o *PKAddPassMetadataPreview) PassThumbnailImage() unsafe.Pointer
- type PKAddPaymentPassError
- type PKAddPaymentPassRequest
- func (o *PKAddPaymentPassRequest) ActivationData() *foundation.NSData
- func (o *PKAddPaymentPassRequest) EncryptedPassData() *foundation.NSData
- func (o *PKAddPaymentPassRequest) EphemeralPublicKey() *foundation.NSData
- func (o *PKAddPaymentPassRequest) Init() *PKAddPaymentPassRequest
- func (o *PKAddPaymentPassRequest) SetActivationData(activationData *foundation.NSData)
- func (o *PKAddPaymentPassRequest) SetEncryptedPassData(encryptedPassData *foundation.NSData)
- func (o *PKAddPaymentPassRequest) SetEphemeralPublicKey(ephemeralPublicKey *foundation.NSData)
- func (o *PKAddPaymentPassRequest) SetWrappedKey(wrappedKey *foundation.NSData)
- func (o *PKAddPaymentPassRequest) WrappedKey() *foundation.NSData
- type PKAddPaymentPassRequestConfiguration
- func (o *PKAddPaymentPassRequestConfiguration) CardDetails() *foundation.NSArray[*PKLabeledValue]
- func (o *PKAddPaymentPassRequestConfiguration) CardholderName() *foundation.NSString
- func (o *PKAddPaymentPassRequestConfiguration) EncryptionScheme() *foundation.NSString
- func (o *PKAddPaymentPassRequestConfiguration) InitWithEncryptionScheme(encryptionScheme *foundation.NSString) *PKAddPaymentPassRequestConfiguration
- func (o *PKAddPaymentPassRequestConfiguration) LocalizedDescription() *foundation.NSString
- func (o *PKAddPaymentPassRequestConfiguration) PaymentNetwork() *foundation.NSString
- func (o *PKAddPaymentPassRequestConfiguration) PrimaryAccountIdentifier() *foundation.NSString
- func (o *PKAddPaymentPassRequestConfiguration) PrimaryAccountSuffix() *foundation.NSString
- func (o *PKAddPaymentPassRequestConfiguration) ProductIdentifiers() *foundation.NSSet[*foundation.NSString]
- func (o *PKAddPaymentPassRequestConfiguration) RequiresFelicaSecureElement() bool
- func (o *PKAddPaymentPassRequestConfiguration) SetCardDetails(cardDetails *foundation.NSArray[*PKLabeledValue])
- func (o *PKAddPaymentPassRequestConfiguration) SetCardholderName(cardholderName *foundation.NSString)
- func (o *PKAddPaymentPassRequestConfiguration) SetLocalizedDescription(localizedDescription *foundation.NSString)
- func (o *PKAddPaymentPassRequestConfiguration) SetPaymentNetwork(paymentNetwork *foundation.NSString)
- func (o *PKAddPaymentPassRequestConfiguration) SetPrimaryAccountIdentifier(primaryAccountIdentifier *foundation.NSString)
- func (o *PKAddPaymentPassRequestConfiguration) SetPrimaryAccountSuffix(primaryAccountSuffix *foundation.NSString)
- func (o *PKAddPaymentPassRequestConfiguration) SetProductIdentifiers(productIdentifiers *foundation.NSSet[*foundation.NSString])
- func (o *PKAddPaymentPassRequestConfiguration) SetRequiresFelicaSecureElement(requiresFelicaSecureElement bool)
- func (o *PKAddPaymentPassRequestConfiguration) SetStyle(style PKAddPaymentPassStyle)
- func (o *PKAddPaymentPassRequestConfiguration) Style() PKAddPaymentPassStyle
- type PKAddPaymentPassStyle
- type PKAddSecureElementPassConfiguration
- func (o *PKAddSecureElementPassConfiguration) IssuerIdentifier() *foundation.NSString
- func (o *PKAddSecureElementPassConfiguration) LocalizedDescription() *foundation.NSString
- func (o *PKAddSecureElementPassConfiguration) SetIssuerIdentifier(issuerIdentifier *foundation.NSString)
- func (o *PKAddSecureElementPassConfiguration) SetLocalizedDescription(localizedDescription *foundation.NSString)
- type PKAddSecureElementPassErrorCode
- type PKAddShareablePassConfiguration
- func (o *PKAddShareablePassConfiguration) CredentialsMetadata() *foundation.NSArray[*PKShareablePassMetadata]
- func (o *PKAddShareablePassConfiguration) PrimaryAction() PKAddShareablePassConfigurationPrimaryAction
- func (o *PKAddShareablePassConfiguration) ProvisioningPolicyIdentifier() *foundation.NSString
- type PKAddShareablePassConfigurationPrimaryAction
- type PKAddressField
- type PKApplePayLaterAvailability
- type PKAutomaticPassPresentationSuppressionResult
- type PKAutomaticReloadPaymentRequest
- func (o *PKAutomaticReloadPaymentRequest) AutomaticReloadBilling() *PKAutomaticReloadPaymentSummaryItem
- func (o *PKAutomaticReloadPaymentRequest) BillingAgreement() *foundation.NSString
- func (o *PKAutomaticReloadPaymentRequest) InitWithPaymentDescriptionAutomaticReloadBillingManagementURL(paymentDescription *foundation.NSString, ...) *PKAutomaticReloadPaymentRequest
- func (o *PKAutomaticReloadPaymentRequest) ManagementURL() *foundation.NSURL
- func (o *PKAutomaticReloadPaymentRequest) PaymentDescription() *foundation.NSString
- func (o *PKAutomaticReloadPaymentRequest) SetAutomaticReloadBilling(automaticReloadBilling *PKAutomaticReloadPaymentSummaryItem)
- func (o *PKAutomaticReloadPaymentRequest) SetBillingAgreement(billingAgreement *foundation.NSString)
- func (o *PKAutomaticReloadPaymentRequest) SetManagementURL(managementURL *foundation.NSURL)
- func (o *PKAutomaticReloadPaymentRequest) SetPaymentDescription(paymentDescription *foundation.NSString)
- func (o *PKAutomaticReloadPaymentRequest) SetTokenNotificationURL(tokenNotificationURL *foundation.NSURL)
- func (o *PKAutomaticReloadPaymentRequest) TokenNotificationURL() *foundation.NSURL
- type PKAutomaticReloadPaymentSummaryItem
- type PKBarcodeEventConfigurationDataType
- type PKBarcodeEventConfigurationRequest
- type PKBarcodeEventMetadataRequest
- type PKBarcodeEventMetadataResponse
- func (o *PKBarcodeEventMetadataResponse) InitWithPaymentInformation(paymentInformation *foundation.NSData) *PKBarcodeEventMetadataResponse
- func (o *PKBarcodeEventMetadataResponse) PaymentInformation() *foundation.NSData
- func (o *PKBarcodeEventMetadataResponse) SetPaymentInformation(paymentInformation *foundation.NSData)
- type PKBarcodeEventSignatureRequest
- func (o *PKBarcodeEventSignatureRequest) Amount() *foundation.NSNumber
- func (o *PKBarcodeEventSignatureRequest) BarcodeIdentifier() *foundation.NSString
- func (o *PKBarcodeEventSignatureRequest) CurrencyCode() *foundation.NSString
- func (o *PKBarcodeEventSignatureRequest) DeviceAccountIdentifier() *foundation.NSString
- func (o *PKBarcodeEventSignatureRequest) MerchantName() *foundation.NSString
- func (o *PKBarcodeEventSignatureRequest) PartialSignature() *foundation.NSData
- func (o *PKBarcodeEventSignatureRequest) RawMerchantName() *foundation.NSString
- func (o *PKBarcodeEventSignatureRequest) TransactionDate() *foundation.NSDate
- func (o *PKBarcodeEventSignatureRequest) TransactionIdentifier() *foundation.NSString
- func (o *PKBarcodeEventSignatureRequest) TransactionStatus() *foundation.NSString
- type PKBarcodeEventSignatureResponse
- type PKContact
- func (o *PKContact) EmailAddress() *foundation.NSString
- func (o *PKContact) Name() *foundation.NSPersonNameComponents
- func (o *PKContact) PhoneNumber() *contacts.CNPhoneNumber
- func (o *PKContact) PostalAddress() *contacts.CNPostalAddress
- func (o *PKContact) SetEmailAddress(emailAddress *foundation.NSString)
- func (o *PKContact) SetName(name *foundation.NSPersonNameComponents)
- func (o *PKContact) SetPhoneNumber(phoneNumber *contacts.CNPhoneNumber)
- func (o *PKContact) SetPostalAddress(postalAddress *contacts.CNPostalAddress)
- func (o *PKContact) SetSupplementarySubLocality(supplementarySubLocality *foundation.NSString)
- func (o *PKContact) SupplementarySubLocality() *foundation.NSString
- type PKDateComponentsRange
- func (o *PKDateComponentsRange) EndDateComponents() *foundation.NSDateComponents
- func (o *PKDateComponentsRange) InitWithStartDateComponentsEndDateComponents(startDateComponents *foundation.NSDateComponents, ...) *PKDateComponentsRange
- func (o *PKDateComponentsRange) StartDateComponents() *foundation.NSDateComponents
- type PKDeferredPaymentRequest
- func (o *PKDeferredPaymentRequest) BillingAgreement() *foundation.NSString
- func (o *PKDeferredPaymentRequest) DeferredBilling() *PKDeferredPaymentSummaryItem
- func (o *PKDeferredPaymentRequest) FreeCancellationDate() *foundation.NSDate
- func (o *PKDeferredPaymentRequest) FreeCancellationDateTimeZone() *foundation.NSTimeZone
- func (o *PKDeferredPaymentRequest) InitWithPaymentDescriptionDeferredBillingManagementURL(paymentDescription *foundation.NSString, ...) *PKDeferredPaymentRequest
- func (o *PKDeferredPaymentRequest) ManagementURL() *foundation.NSURL
- func (o *PKDeferredPaymentRequest) PaymentDescription() *foundation.NSString
- func (o *PKDeferredPaymentRequest) SetBillingAgreement(billingAgreement *foundation.NSString)
- func (o *PKDeferredPaymentRequest) SetDeferredBilling(deferredBilling *PKDeferredPaymentSummaryItem)
- func (o *PKDeferredPaymentRequest) SetFreeCancellationDate(freeCancellationDate *foundation.NSDate)
- func (o *PKDeferredPaymentRequest) SetFreeCancellationDateTimeZone(freeCancellationDateTimeZone *foundation.NSTimeZone)
- func (o *PKDeferredPaymentRequest) SetManagementURL(managementURL *foundation.NSURL)
- func (o *PKDeferredPaymentRequest) SetPaymentDescription(paymentDescription *foundation.NSString)
- func (o *PKDeferredPaymentRequest) SetTokenNotificationURL(tokenNotificationURL *foundation.NSURL)
- func (o *PKDeferredPaymentRequest) TokenNotificationURL() *foundation.NSURL
- type PKDeferredPaymentSummaryItem
- type PKDisbursementErrorCode
- type PKDisbursementRequest
- func (o *PKDisbursementRequest) ApplicationData() *foundation.NSData
- func (o *PKDisbursementRequest) CurrencyCode() *foundation.NSString
- func (o *PKDisbursementRequest) InitWithMerchantIdentifierCurrencyCodeRegionCodeSupportedNetworksMerchantCapabilitiesSummaryItems(merchantIdentifier *foundation.NSString, currencyCode *foundation.NSString, ...) *PKDisbursementRequest
- func (o *PKDisbursementRequest) IsDelegatedRequest() bool
- func (o *PKDisbursementRequest) MerchantCapabilities() PKMerchantCapability
- func (o *PKDisbursementRequest) MerchantIdentifier() *foundation.NSString
- func (o *PKDisbursementRequest) RecipientContact() *PKContact
- func (o *PKDisbursementRequest) RegionCode() *foundation.NSString
- func (o *PKDisbursementRequest) RequiredRecipientContactFields() *foundation.NSArray[*foundation.NSString]
- func (o *PKDisbursementRequest) SetApplicationData(applicationData *foundation.NSData)
- func (o *PKDisbursementRequest) SetCurrencyCode(currencyCode *foundation.NSString)
- func (o *PKDisbursementRequest) SetIsDelegatedRequest(isDelegatedRequest bool)
- func (o *PKDisbursementRequest) SetMerchantCapabilities(merchantCapabilities PKMerchantCapability)
- func (o *PKDisbursementRequest) SetMerchantIdentifier(merchantIdentifier *foundation.NSString)
- func (o *PKDisbursementRequest) SetRecipientContact(recipientContact *PKContact)
- func (o *PKDisbursementRequest) SetRegionCode(regionCode *foundation.NSString)
- func (o *PKDisbursementRequest) SetRequiredRecipientContactFields(requiredRecipientContactFields *foundation.NSArray[*foundation.NSString])
- func (o *PKDisbursementRequest) SetSummaryItems(summaryItems *foundation.NSArray[*PKPaymentSummaryItem])
- func (o *PKDisbursementRequest) SetSupportedNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString])
- func (o *PKDisbursementRequest) SetSupportedRegions(supportedRegions *foundation.NSArray[*foundation.NSString])
- func (o *PKDisbursementRequest) SummaryItems() *foundation.NSArray[*PKPaymentSummaryItem]
- func (o *PKDisbursementRequest) SupportedNetworks() *foundation.NSArray[*foundation.NSString]
- func (o *PKDisbursementRequest) SupportedRegions() *foundation.NSArray[*foundation.NSString]
- type PKDisbursementSummaryItem
- type PKIdentityDocumentMetadata
- func (o *PKIdentityDocumentMetadata) CardConfigurationIdentifier() *foundation.NSString
- func (o *PKIdentityDocumentMetadata) CardTemplateIdentifier() *foundation.NSString
- func (o *PKIdentityDocumentMetadata) CredentialIdentifier() *foundation.NSString
- func (o *PKIdentityDocumentMetadata) DocumentType() PKAddIdentityDocumentType
- func (o *PKIdentityDocumentMetadata) IssuingCountryCode() *foundation.NSString
- func (o *PKIdentityDocumentMetadata) ServerEnvironmentIdentifier() *foundation.NSString
- func (o *PKIdentityDocumentMetadata) SetServerEnvironmentIdentifier(serverEnvironmentIdentifier *foundation.NSString)
- func (o *PKIdentityDocumentMetadata) SharingInstanceIdentifier() *foundation.NSString
- type PKInstantFundsOutFeeSummaryItem
- type PKIssuerProvisioningExtensionPassEntry
- type PKIssuerProvisioningExtensionPaymentPassEntry
- func (o *PKIssuerProvisioningExtensionPaymentPassEntry) AddRequestConfiguration() *PKAddPaymentPassRequestConfiguration
- func (o *PKIssuerProvisioningExtensionPaymentPassEntry) InitWithIdentifierTitleArtAddRequestConfiguration(identifier *foundation.NSString, title *foundation.NSString, ...) *PKIssuerProvisioningExtensionPaymentPassEntry
- type PKIssuerProvisioningExtensionStatus
- func (o *PKIssuerProvisioningExtensionStatus) Init() *PKIssuerProvisioningExtensionStatus
- func (o *PKIssuerProvisioningExtensionStatus) PassEntriesAvailable() bool
- func (o *PKIssuerProvisioningExtensionStatus) RemotePassEntriesAvailable() bool
- func (o *PKIssuerProvisioningExtensionStatus) RequiresAuthentication() bool
- func (o *PKIssuerProvisioningExtensionStatus) SetPassEntriesAvailable(passEntriesAvailable bool)
- func (o *PKIssuerProvisioningExtensionStatus) SetRemotePassEntriesAvailable(remotePassEntriesAvailable bool)
- func (o *PKIssuerProvisioningExtensionStatus) SetRequiresAuthentication(requiresAuthentication bool)
- type PKJapanIndividualNumberCardMetadata
- func (o *PKJapanIndividualNumberCardMetadata) AuthenticationPassword() *foundation.NSString
- func (o *PKJapanIndividualNumberCardMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview(credentialIdentifier *foundation.NSString, ...) *PKJapanIndividualNumberCardMetadata
- func (o *PKJapanIndividualNumberCardMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview(credentialIdentifier *foundation.NSString, ...) *PKJapanIndividualNumberCardMetadata
- func (o *PKJapanIndividualNumberCardMetadata) Preview() *PKAddPassMetadataPreview
- func (o *PKJapanIndividualNumberCardMetadata) SetAuthenticationPassword(authenticationPassword *foundation.NSString)
- func (o *PKJapanIndividualNumberCardMetadata) SetPreview(preview *PKAddPassMetadataPreview)
- func (o *PKJapanIndividualNumberCardMetadata) SetSigningPassword(signingPassword *foundation.NSString)
- func (o *PKJapanIndividualNumberCardMetadata) SigningPassword() *foundation.NSString
- type PKLabeledValue
- type PKMerchantCapability
- type PKPass
- func (o *PKPass) AuthenticationToken() *foundation.NSString
- func (o *PKPass) DeviceName() *foundation.NSString
- func (o *PKPass) InitPtr(id objc.ID)
- func (o *PKPass) InitWithDataError(data *foundation.NSData) (*PKPass, error)
- func (o *PKPass) IsRemotePass() bool
- func (o *PKPass) LocalizedDescription() *foundation.NSString
- func (o *PKPass) LocalizedName() *foundation.NSString
- func (o *PKPass) LocalizedValueForFieldKey(key *foundation.NSString) objc.ID
- func (o *PKPass) OrganizationName() *foundation.NSString
- func (o *PKPass) PassType() PKPassType
- func (o *PKPass) PassTypeIdentifier() *foundation.NSString
- func (o *PKPass) PassURL() *foundation.NSURL
- func (o *PKPass) PaymentPass() *PKPaymentPassdeprecated
- func (o *PKPass) Ptr() objc.ID
- func (o *PKPass) RelevantDate() *foundation.NSDatedeprecated
- func (o *PKPass) RelevantDates() *foundation.NSArray[*PKPassRelevantDate]
- func (o *PKPass) SecureElementPass() *PKSecureElementPass
- func (o *PKPass) SerialNumber() *foundation.NSString
- func (o *PKPass) UserInfo() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *PKPass) WebServiceURL() *foundation.NSURL
- type PKPassKitErrorCode
- type PKPassLibrary
- func (o *PKPassLibrary) ActivatePaymentPassWithActivationCodeCompletion(paymentPass *PKPaymentPass, activationCode *foundation.NSString, ...)
- func (o *PKPassLibrary) ActivatePaymentPassWithActivationDataCompletion(paymentPass *PKPaymentPass, activationData *foundation.NSData, ...)
- func (o *PKPassLibrary) ActivateSecureElementPassWithActivationDataCompletion(secureElementPass *PKSecureElementPass, activationData *foundation.NSData, ...)
- func (o *PKPassLibrary) AddPassesWithCompletionHandler(passes *foundation.NSArray[*PKPass], ...)
- func (o *PKPassLibrary) AuthorizationStatusForCapability(capability PKPassLibraryCapability) PKPassLibraryAuthorizationStatus
- func (o *PKPassLibrary) CanAddFelicaPass() bool
- func (o *PKPassLibrary) CanAddPaymentPassWithPrimaryAccountIdentifier(primaryAccountIdentifier *foundation.NSString) bool
- func (o *PKPassLibrary) CanAddSecureElementPassWithPrimaryAccountIdentifier(primaryAccountIdentifier *foundation.NSString) bool
- func (o *PKPassLibrary) ContainsPass(pass *PKPass) bool
- func (o *PKPassLibrary) EncryptedServiceProviderDataForSecureElementPassCompletion(secureElementPass *PKSecureElementPass, ...)
- func (o *PKPassLibrary) IsPaymentPassActivationAvailable() bool
- func (o *PKPassLibrary) IsSecureElementPassActivationAvailable() bool
- func (o *PKPassLibrary) OpenPaymentSetup()
- func (o *PKPassLibrary) OpenPaymentSetupWithMerchantIdentifier(merchantIdentifier *foundation.NSString)
- func (o *PKPassLibrary) PassWithPassTypeIdentifierSerialNumber(identifier *foundation.NSString, serialNumber *foundation.NSString) *PKPass
- func (o *PKPassLibrary) Passes() *foundation.NSArray[*PKPass]
- func (o *PKPassLibrary) PassesOfType(passType PKPassType) *foundation.NSArray[*PKPass]
- func (o *PKPassLibrary) PassesWithReaderIdentifier(readerIdentifier *foundation.NSString) *foundation.NSSet[*PKSecureElementPass]
- func (o *PKPassLibrary) PresentPaymentPass(pass *PKPaymentPass)
- func (o *PKPassLibrary) PresentSecureElementPass(pass *PKSecureElementPass)
- func (o *PKPassLibrary) RemotePaymentPasses() *foundation.NSArray[*PKPaymentPass]
- func (o *PKPassLibrary) RemoteSecureElementPasses() *foundation.NSArray[*PKSecureElementPass]
- func (o *PKPassLibrary) RemovePass(pass *PKPass)
- func (o *PKPassLibrary) ReplacePassWithPass(pass *PKPass) bool
- func (o *PKPassLibrary) RequestAuthorizationForCapabilityCompletion(capability PKPassLibraryCapability, ...)
- func (o *PKPassLibrary) ServiceProviderDataForSecureElementPassCompletion(secureElementPass *PKSecureElementPass, ...)
- func (o *PKPassLibrary) SignDataWithSecureElementPassCompletion(signData *foundation.NSData, secureElementPass *PKSecureElementPass, ...)
- type PKPassLibraryAddPassesStatus
- type PKPassLibraryAuthorizationStatus
- type PKPassLibraryCapability
- type PKPassRelevantDate
- type PKPassType
- type PKPayment
- type PKPaymentAuthorizationController
- func (o *PKPaymentAuthorizationController) Delegate() PKPaymentAuthorizationControllerDelegate
- func (o *PKPaymentAuthorizationController) DismissWithCompletion(completion func())
- func (o *PKPaymentAuthorizationController) InitWithDisbursementRequest(request *PKDisbursementRequest) *PKPaymentAuthorizationController
- func (o *PKPaymentAuthorizationController) InitWithPaymentRequest(request *PKPaymentRequest) *PKPaymentAuthorizationController
- func (o *PKPaymentAuthorizationController) PresentWithCompletion(completion func(bool))
- func (o *PKPaymentAuthorizationController) SetDelegate(delegate PKPaymentAuthorizationControllerDelegate)
- type PKPaymentAuthorizationControllerDelegate
- type PKPaymentAuthorizationResult
- func (o *PKPaymentAuthorizationResult) Errors() *foundation.NSArray[objc.ID]
- func (o *PKPaymentAuthorizationResult) InitWithStatusErrors(status PKPaymentAuthorizationStatus) (*PKPaymentAuthorizationResult, error)
- func (o *PKPaymentAuthorizationResult) OrderDetails() *PKPaymentOrderDetails
- func (o *PKPaymentAuthorizationResult) SetErrors() error
- func (o *PKPaymentAuthorizationResult) SetOrderDetails(orderDetails *PKPaymentOrderDetails)
- func (o *PKPaymentAuthorizationResult) SetStatus(status PKPaymentAuthorizationStatus)
- func (o *PKPaymentAuthorizationResult) Status() PKPaymentAuthorizationStatus
- type PKPaymentAuthorizationStatus
- type PKPaymentAuthorizationViewController
- func (o *PKPaymentAuthorizationViewController) Delegate() PKPaymentAuthorizationViewControllerDelegate
- func (o *PKPaymentAuthorizationViewController) InitWithDisbursementRequest(request *PKDisbursementRequest) *PKPaymentAuthorizationViewController
- func (o *PKPaymentAuthorizationViewController) InitWithPaymentRequest(request *PKPaymentRequest) *PKPaymentAuthorizationViewController
- func (o *PKPaymentAuthorizationViewController) SetDelegate(delegate PKPaymentAuthorizationViewControllerDelegate)
- type PKPaymentAuthorizationViewControllerDelegate
- type PKPaymentButton
- type PKPaymentButtonStyle
- type PKPaymentButtonType
- type PKPaymentErrorCode
- type PKPaymentInformationEventExtension
- type PKPaymentInformationRequestHandling
- type PKPaymentMerchantSession
- type PKPaymentMethod
- func (o *PKPaymentMethod) BillingAddress() *contacts.CNContact
- func (o *PKPaymentMethod) DisplayName() *foundation.NSString
- func (o *PKPaymentMethod) Network() *foundation.NSString
- func (o *PKPaymentMethod) PaymentPass() *PKPaymentPassdeprecated
- func (o *PKPaymentMethod) SecureElementPass() *PKSecureElementPass
- func (o *PKPaymentMethod) Type() PKPaymentMethodType
- type PKPaymentMethodType
- type PKPaymentOrderDetails
- func (o *PKPaymentOrderDetails) AuthenticationToken() *foundation.NSString
- func (o *PKPaymentOrderDetails) InitWithOrderTypeIdentifierOrderIdentifierWebServiceURLAuthenticationToken(orderTypeIdentifier *foundation.NSString, orderIdentifier *foundation.NSString, ...) *PKPaymentOrderDetails
- func (o *PKPaymentOrderDetails) OrderIdentifier() *foundation.NSString
- func (o *PKPaymentOrderDetails) OrderTypeIdentifier() *foundation.NSString
- func (o *PKPaymentOrderDetails) SetAuthenticationToken(authenticationToken *foundation.NSString)
- func (o *PKPaymentOrderDetails) SetOrderIdentifier(orderIdentifier *foundation.NSString)
- func (o *PKPaymentOrderDetails) SetOrderTypeIdentifier(orderTypeIdentifier *foundation.NSString)
- func (o *PKPaymentOrderDetails) SetWebServiceURL(webServiceURL *foundation.NSURL)
- func (o *PKPaymentOrderDetails) WebServiceURL() *foundation.NSURL
- type PKPaymentPass
- type PKPaymentPassActivationState
- type PKPaymentRequest
- func (o *PKPaymentRequest) ApplePayLaterAvailability() PKApplePayLaterAvailability
- func (o *PKPaymentRequest) ApplicationData() *foundation.NSData
- func (o *PKPaymentRequest) AttributionIdentifier() *foundation.NSString
- func (o *PKPaymentRequest) AutomaticReloadPaymentRequest() *PKAutomaticReloadPaymentRequest
- func (o *PKPaymentRequest) BillingContact() *PKContact
- func (o *PKPaymentRequest) CountryCode() *foundation.NSString
- func (o *PKPaymentRequest) CouponCode() *foundation.NSString
- func (o *PKPaymentRequest) CurrencyCode() *foundation.NSString
- func (o *PKPaymentRequest) DeferredPaymentRequest() *PKDeferredPaymentRequest
- func (o *PKPaymentRequest) IsDelegatedRequest() bool
- func (o *PKPaymentRequest) MerchantCapabilities() PKMerchantCapability
- func (o *PKPaymentRequest) MerchantCategoryCode() int16
- func (o *PKPaymentRequest) MerchantIdentifier() *foundation.NSString
- func (o *PKPaymentRequest) MultiTokenContexts() *foundation.NSArray[*PKPaymentTokenContext]
- func (o *PKPaymentRequest) PaymentSummaryItems() *foundation.NSArray[*PKPaymentSummaryItem]
- func (o *PKPaymentRequest) RecurringPaymentRequest() *PKRecurringPaymentRequest
- func (o *PKPaymentRequest) RequiredBillingAddressFields() PKAddressField
- func (o *PKPaymentRequest) RequiredBillingContactFields() *foundation.NSSet[*foundation.NSString]
- func (o *PKPaymentRequest) RequiredShippingAddressFields() PKAddressField
- func (o *PKPaymentRequest) RequiredShippingContactFields() *foundation.NSSet[*foundation.NSString]
- func (o *PKPaymentRequest) SetApplePayLaterAvailability(applePayLaterAvailability PKApplePayLaterAvailability)
- func (o *PKPaymentRequest) SetApplicationData(applicationData *foundation.NSData)
- func (o *PKPaymentRequest) SetAttributionIdentifier(attributionIdentifier *foundation.NSString)
- func (o *PKPaymentRequest) SetAutomaticReloadPaymentRequest(automaticReloadPaymentRequest *PKAutomaticReloadPaymentRequest)
- func (o *PKPaymentRequest) SetBillingContact(billingContact *PKContact)
- func (o *PKPaymentRequest) SetCountryCode(countryCode *foundation.NSString)
- func (o *PKPaymentRequest) SetCouponCode(couponCode *foundation.NSString)
- func (o *PKPaymentRequest) SetCurrencyCode(currencyCode *foundation.NSString)
- func (o *PKPaymentRequest) SetDeferredPaymentRequest(deferredPaymentRequest *PKDeferredPaymentRequest)
- func (o *PKPaymentRequest) SetIsDelegatedRequest(isDelegatedRequest bool)
- func (o *PKPaymentRequest) SetMerchantCapabilities(merchantCapabilities PKMerchantCapability)
- func (o *PKPaymentRequest) SetMerchantCategoryCode(merchantCategoryCode int16)
- func (o *PKPaymentRequest) SetMerchantIdentifier(merchantIdentifier *foundation.NSString)
- func (o *PKPaymentRequest) SetMultiTokenContexts(multiTokenContexts *foundation.NSArray[*PKPaymentTokenContext])
- func (o *PKPaymentRequest) SetPaymentSummaryItems(paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem])
- func (o *PKPaymentRequest) SetRecurringPaymentRequest(recurringPaymentRequest *PKRecurringPaymentRequest)
- func (o *PKPaymentRequest) SetRequiredBillingAddressFields(requiredBillingAddressFields PKAddressField)
- func (o *PKPaymentRequest) SetRequiredBillingContactFields(requiredBillingContactFields *foundation.NSSet[*foundation.NSString])
- func (o *PKPaymentRequest) SetRequiredShippingAddressFields(requiredShippingAddressFields PKAddressField)
- func (o *PKPaymentRequest) SetRequiredShippingContactFields(requiredShippingContactFields *foundation.NSSet[*foundation.NSString])
- func (o *PKPaymentRequest) SetShippingContact(shippingContact *PKContact)
- func (o *PKPaymentRequest) SetShippingContactEditingMode(shippingContactEditingMode PKShippingContactEditingMode)
- func (o *PKPaymentRequest) SetShippingMethods(shippingMethods *foundation.NSArray[*PKShippingMethod])
- func (o *PKPaymentRequest) SetShippingType(shippingType PKShippingType)
- func (o *PKPaymentRequest) SetSupportedCountries(supportedCountries *foundation.NSSet[*foundation.NSString])
- func (o *PKPaymentRequest) SetSupportedNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString])
- func (o *PKPaymentRequest) SetSupportsCouponCode(supportsCouponCode bool)
- func (o *PKPaymentRequest) ShippingContact() *PKContact
- func (o *PKPaymentRequest) ShippingContactEditingMode() PKShippingContactEditingMode
- func (o *PKPaymentRequest) ShippingMethods() *foundation.NSArray[*PKShippingMethod]
- func (o *PKPaymentRequest) ShippingType() PKShippingType
- func (o *PKPaymentRequest) SupportedCountries() *foundation.NSSet[*foundation.NSString]
- func (o *PKPaymentRequest) SupportedNetworks() *foundation.NSArray[*foundation.NSString]
- func (o *PKPaymentRequest) SupportsCouponCode() bool
- type PKPaymentRequestCouponCodeUpdate
- func (o *PKPaymentRequestCouponCodeUpdate) Errors() *foundation.NSArray[objc.ID]
- func (o *PKPaymentRequestCouponCodeUpdate) InitWithErrorsPaymentSummaryItemsShippingMethods(errors_ *foundation.NSArray[objc.ID], ...) *PKPaymentRequestCouponCodeUpdate
- func (o *PKPaymentRequestCouponCodeUpdate) SetErrors() error
- type PKPaymentRequestMerchantSessionUpdate
- func (o *PKPaymentRequestMerchantSessionUpdate) InitWithStatusMerchantSession(status PKPaymentAuthorizationStatus, session *PKPaymentMerchantSession) *PKPaymentRequestMerchantSessionUpdate
- func (o *PKPaymentRequestMerchantSessionUpdate) Session() *PKPaymentMerchantSession
- func (o *PKPaymentRequestMerchantSessionUpdate) SetSession(session *PKPaymentMerchantSession)
- func (o *PKPaymentRequestMerchantSessionUpdate) SetStatus(status PKPaymentAuthorizationStatus)
- func (o *PKPaymentRequestMerchantSessionUpdate) Status() PKPaymentAuthorizationStatus
- type PKPaymentRequestPaymentMethodUpdate
- func (o *PKPaymentRequestPaymentMethodUpdate) Errors() *foundation.NSArray[objc.ID]
- func (o *PKPaymentRequestPaymentMethodUpdate) InitWithErrorsPaymentSummaryItems(errors_ *foundation.NSArray[objc.ID], ...) *PKPaymentRequestPaymentMethodUpdate
- func (o *PKPaymentRequestPaymentMethodUpdate) SetErrors() error
- type PKPaymentRequestShippingContactUpdate
- func (o *PKPaymentRequestShippingContactUpdate) Errors() *foundation.NSArray[objc.ID]
- func (o *PKPaymentRequestShippingContactUpdate) InitWithErrorsPaymentSummaryItemsShippingMethods(errors_ *foundation.NSArray[objc.ID], ...) *PKPaymentRequestShippingContactUpdate
- func (o *PKPaymentRequestShippingContactUpdate) SetErrors() error
- type PKPaymentRequestShippingMethodUpdate
- type PKPaymentRequestUpdate
- func (o *PKPaymentRequestUpdate) AutomaticReloadPaymentRequest() *PKAutomaticReloadPaymentRequest
- func (o *PKPaymentRequestUpdate) DeferredPaymentRequest() *PKDeferredPaymentRequest
- func (o *PKPaymentRequestUpdate) InitWithPaymentSummaryItems(paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem]) *PKPaymentRequestUpdate
- func (o *PKPaymentRequestUpdate) MultiTokenContexts() *foundation.NSArray[*PKPaymentTokenContext]
- func (o *PKPaymentRequestUpdate) PaymentSummaryItems() *foundation.NSArray[*PKPaymentSummaryItem]
- func (o *PKPaymentRequestUpdate) RecurringPaymentRequest() *PKRecurringPaymentRequest
- func (o *PKPaymentRequestUpdate) SetAutomaticReloadPaymentRequest(automaticReloadPaymentRequest *PKAutomaticReloadPaymentRequest)
- func (o *PKPaymentRequestUpdate) SetDeferredPaymentRequest(deferredPaymentRequest *PKDeferredPaymentRequest)
- func (o *PKPaymentRequestUpdate) SetMultiTokenContexts(multiTokenContexts *foundation.NSArray[*PKPaymentTokenContext])
- func (o *PKPaymentRequestUpdate) SetPaymentSummaryItems(paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem])
- func (o *PKPaymentRequestUpdate) SetRecurringPaymentRequest(recurringPaymentRequest *PKRecurringPaymentRequest)
- func (o *PKPaymentRequestUpdate) SetShippingMethods(shippingMethods *foundation.NSArray[*PKShippingMethod])
- func (o *PKPaymentRequestUpdate) SetStatus(status PKPaymentAuthorizationStatus)
- func (o *PKPaymentRequestUpdate) ShippingMethods() *foundation.NSArray[*PKShippingMethod]
- func (o *PKPaymentRequestUpdate) Status() PKPaymentAuthorizationStatus
- type PKPaymentSummaryItem
- func PKPaymentSummaryItemFromID(id objc.ID) *PKPaymentSummaryItem
- func PKPaymentSummaryItemSummaryItemWithLabelAmount(label *foundation.NSString, amount *foundation.NSDecimalNumber) *PKPaymentSummaryItem
- func PKPaymentSummaryItemSummaryItemWithLabelAmountType(label *foundation.NSString, amount *foundation.NSDecimalNumber, ...) *PKPaymentSummaryItem
- func (o *PKPaymentSummaryItem) Amount() *foundation.NSDecimalNumber
- func (o *PKPaymentSummaryItem) Label() *foundation.NSString
- func (o *PKPaymentSummaryItem) SetAmount(amount *foundation.NSDecimalNumber)
- func (o *PKPaymentSummaryItem) SetLabel(label *foundation.NSString)
- func (o *PKPaymentSummaryItem) SetType(type_ PKPaymentSummaryItemType)
- func (o *PKPaymentSummaryItem) Type() PKPaymentSummaryItemType
- type PKPaymentSummaryItemType
- type PKPaymentToken
- func (o *PKPaymentToken) PaymentData() *foundation.NSData
- func (o *PKPaymentToken) PaymentInstrumentName() *foundation.NSString
- func (o *PKPaymentToken) PaymentMethod() *PKPaymentMethod
- func (o *PKPaymentToken) PaymentNetwork() *foundation.NSString
- func (o *PKPaymentToken) TransactionIdentifier() *foundation.NSString
- type PKPaymentTokenContext
- func (o *PKPaymentTokenContext) Amount() *foundation.NSDecimalNumber
- func (o *PKPaymentTokenContext) ExternalIdentifier() *foundation.NSString
- func (o *PKPaymentTokenContext) InitWithMerchantIdentifierExternalIdentifierMerchantNameMerchantDomainAmount(merchantIdentifier *foundation.NSString, ...) *PKPaymentTokenContext
- func (o *PKPaymentTokenContext) MerchantDomain() *foundation.NSString
- func (o *PKPaymentTokenContext) MerchantIdentifier() *foundation.NSString
- func (o *PKPaymentTokenContext) MerchantName() *foundation.NSString
- func (o *PKPaymentTokenContext) SetAmount(amount *foundation.NSDecimalNumber)
- func (o *PKPaymentTokenContext) SetExternalIdentifier(externalIdentifier *foundation.NSString)
- func (o *PKPaymentTokenContext) SetMerchantDomain(merchantDomain *foundation.NSString)
- func (o *PKPaymentTokenContext) SetMerchantIdentifier(merchantIdentifier *foundation.NSString)
- func (o *PKPaymentTokenContext) SetMerchantName(merchantName *foundation.NSString)
- type PKRadioTechnology
- type PKRecurringPaymentRequest
- func (o *PKRecurringPaymentRequest) BillingAgreement() *foundation.NSString
- func (o *PKRecurringPaymentRequest) InitWithPaymentDescriptionRegularBillingManagementURL(paymentDescription *foundation.NSString, ...) *PKRecurringPaymentRequest
- func (o *PKRecurringPaymentRequest) ManagementURL() *foundation.NSURL
- func (o *PKRecurringPaymentRequest) PaymentDescription() *foundation.NSString
- func (o *PKRecurringPaymentRequest) RegularBilling() *PKRecurringPaymentSummaryItem
- func (o *PKRecurringPaymentRequest) SetBillingAgreement(billingAgreement *foundation.NSString)
- func (o *PKRecurringPaymentRequest) SetManagementURL(managementURL *foundation.NSURL)
- func (o *PKRecurringPaymentRequest) SetPaymentDescription(paymentDescription *foundation.NSString)
- func (o *PKRecurringPaymentRequest) SetRegularBilling(regularBilling *PKRecurringPaymentSummaryItem)
- func (o *PKRecurringPaymentRequest) SetTokenNotificationURL(tokenNotificationURL *foundation.NSURL)
- func (o *PKRecurringPaymentRequest) SetTrialBilling(trialBilling *PKRecurringPaymentSummaryItem)
- func (o *PKRecurringPaymentRequest) TokenNotificationURL() *foundation.NSURL
- func (o *PKRecurringPaymentRequest) TrialBilling() *PKRecurringPaymentSummaryItem
- type PKRecurringPaymentSummaryItem
- func (o *PKRecurringPaymentSummaryItem) EndDate() *foundation.NSDate
- func (o *PKRecurringPaymentSummaryItem) IntervalCount() int
- func (o *PKRecurringPaymentSummaryItem) IntervalUnit() foundation.NSCalendarUnit
- func (o *PKRecurringPaymentSummaryItem) SetEndDate(endDate *foundation.NSDate)
- func (o *PKRecurringPaymentSummaryItem) SetIntervalCount(intervalCount int)
- func (o *PKRecurringPaymentSummaryItem) SetIntervalUnit(intervalUnit foundation.NSCalendarUnit)
- func (o *PKRecurringPaymentSummaryItem) SetStartDate(startDate *foundation.NSDate)
- func (o *PKRecurringPaymentSummaryItem) StartDate() *foundation.NSDate
- type PKSecureElementPass
- func (o *PKSecureElementPass) DeviceAccountIdentifier() *foundation.NSString
- func (o *PKSecureElementPass) DeviceAccountNumberSuffix() *foundation.NSString
- func (o *PKSecureElementPass) DevicePassIdentifier() *foundation.NSString
- func (o *PKSecureElementPass) PairedTerminalIdentifier() *foundation.NSString
- func (o *PKSecureElementPass) PassActivationState() PKSecureElementPassActivationState
- func (o *PKSecureElementPass) PrimaryAccountIdentifier() *foundation.NSString
- func (o *PKSecureElementPass) PrimaryAccountNumberSuffix() *foundation.NSString
- type PKSecureElementPassActivationState
- type PKShareSecureElementPassErrorCode
- type PKShareablePassMetadata
- func (o *PKShareablePassMetadata) AccountHash() *foundation.NSString
- func (o *PKShareablePassMetadata) CardConfigurationIdentifier() *foundation.NSString
- func (o *PKShareablePassMetadata) CardTemplateIdentifier() *foundation.NSString
- func (o *PKShareablePassMetadata) CredentialIdentifier() *foundation.NSString
- func (o *PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierCardConfigurationIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescription(credentialIdentifier *foundation.NSString, ...) *PKShareablePassMetadata
- func (o *PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview(credentialIdentifier *foundation.NSString, ...) *PKShareablePassMetadata
- func (o *PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview(credentialIdentifier *foundation.NSString, ...) *PKShareablePassMetadata
- func (o *PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescriptionAccountHashTemplateIdentifierRelyingPartyIdentifierRequiresUnifiedAccessCapableDevice(credentialIdentifier *foundation.NSString, ...) *PKShareablePassMetadata
- func (o *PKShareablePassMetadata) LocalizedDescription() *foundation.NSString
- func (o *PKShareablePassMetadata) OwnerDisplayName() *foundation.NSString
- func (o *PKShareablePassMetadata) PassThumbnailImage() unsafe.Pointer
- func (o *PKShareablePassMetadata) Preview() *PKShareablePassMetadataPreview
- func (o *PKShareablePassMetadata) RelyingPartyIdentifier() *foundation.NSString
- func (o *PKShareablePassMetadata) RequiresUnifiedAccessCapableDevice() bool
- func (o *PKShareablePassMetadata) ServerEnvironmentIdentifier() *foundation.NSString
- func (o *PKShareablePassMetadata) SetAccountHash(accountHash *foundation.NSString)
- func (o *PKShareablePassMetadata) SetRelyingPartyIdentifier(relyingPartyIdentifier *foundation.NSString)
- func (o *PKShareablePassMetadata) SetRequiresUnifiedAccessCapableDevice(requiresUnifiedAccessCapableDevice bool)
- func (o *PKShareablePassMetadata) SetServerEnvironmentIdentifier(serverEnvironmentIdentifier *foundation.NSString)
- func (o *PKShareablePassMetadata) SharingInstanceIdentifier() *foundation.NSString
- func (o *PKShareablePassMetadata) TemplateIdentifier() unsafe.Pointer
- type PKShareablePassMetadataPreview
- func (o *PKShareablePassMetadataPreview) InitWithTemplateIdentifier(templateIdentifier *foundation.NSString) *PKShareablePassMetadataPreview
- func (o *PKShareablePassMetadataPreview) OwnerDisplayName() *foundation.NSString
- func (o *PKShareablePassMetadataPreview) ProvisioningTemplateIdentifier() *foundation.NSString
- func (o *PKShareablePassMetadataPreview) SetOwnerDisplayName(ownerDisplayName *foundation.NSString)
- type PKShippingContactEditingMode
- type PKShippingMethod
- func (o *PKShippingMethod) DateComponentsRange() *PKDateComponentsRange
- func (o *PKShippingMethod) Detail() *foundation.NSString
- func (o *PKShippingMethod) Identifier() *foundation.NSString
- func (o *PKShippingMethod) SetDateComponentsRange(dateComponentsRange *PKDateComponentsRange)
- func (o *PKShippingMethod) SetDetail(detail *foundation.NSString)
- func (o *PKShippingMethod) SetIdentifier(identifier *foundation.NSString)
- type PKShippingType
- type PKStoredValuePassBalance
- func (o *PKStoredValuePassBalance) Amount() *foundation.NSDecimalNumber
- func (o *PKStoredValuePassBalance) BalanceType() *foundation.NSString
- func (o *PKStoredValuePassBalance) CurrencyCode() *foundation.NSString
- func (o *PKStoredValuePassBalance) ExpiryDate() *foundation.NSDate
- func (o *PKStoredValuePassBalance) IsEqualToBalance(balance *PKStoredValuePassBalance) bool
- type PKStoredValuePassProperties
- type PKSuicaPassProperties
- type PKTransitPassProperties
- type PKVehicleConnectionDelegate
- type PKVehicleConnectionErrorCode
- type PKVehicleConnectionSession
- func (o *PKVehicleConnectionSession) ConnectionStatus() PKVehicleConnectionSessionConnectionState
- func (o *PKVehicleConnectionSession) Delegate() PKVehicleConnectionDelegate
- func (o *PKVehicleConnectionSession) Invalidate()
- func (o *PKVehicleConnectionSession) SendDataError(message *foundation.NSData) (bool, error)
- type PKVehicleConnectionSessionConnectionState
- type PMPageToPaperMappingType
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKAddIdentityDocumentConfigurationConfigurationForMetadataCompletion ¶
func PKAddIdentityDocumentConfigurationConfigurationForMetadataCompletion(metadata *PKIdentityDocumentMetadata, completion func(*PKAddIdentityDocumentConfiguration, unsafe.Pointer))
Returns the identity document configuration.
func PKAddSecureElementPassErrorDomain ¶
func PKAddSecureElementPassErrorDomain() uintptr
func PKAddShareablePassConfigurationConfigurationForPassMetadataPrimaryActionCompletion ¶
func PKAddShareablePassConfigurationConfigurationForPassMetadataPrimaryActionCompletion(passMetadata *foundation.NSArray[*PKShareablePassMetadata], action PKAddShareablePassConfigurationPrimaryAction, completion func(*PKAddShareablePassConfiguration, unsafe.Pointer))
func PKAddShareablePassConfigurationConfigurationForPassMetadataProvisioningPolicyIdentifierPrimaryActionCompletion ¶
func PKAddShareablePassConfigurationConfigurationForPassMetadataProvisioningPolicyIdentifierPrimaryActionCompletion(passMetadata *foundation.NSArray[*PKShareablePassMetadata], provisioningPolicyIdentifier *foundation.NSString, action PKAddShareablePassConfigurationPrimaryAction, completion func(*PKAddShareablePassConfiguration, unsafe.Pointer))
Creates and error checks a new shareable pass-configuration object.
func PKContactFieldEmailAddress ¶
func PKContactFieldEmailAddress() *foundation.NSString
func PKContactFieldName ¶
func PKContactFieldName() *foundation.NSString
func PKContactFieldPhoneNumber ¶
func PKContactFieldPhoneNumber() *foundation.NSString
func PKContactFieldPhoneticName ¶
func PKContactFieldPhoneticName() *foundation.NSString
func PKContactFieldPostalAddress ¶
func PKContactFieldPostalAddress() *foundation.NSString
func PKDisbursementErrorContactFieldUserInfoKey ¶
func PKDisbursementErrorContactFieldUserInfoKey() *foundation.NSString
func PKDisbursementErrorDomain ¶
func PKDisbursementErrorDomain() uintptr
func PKDisbursementRequestDisbursementCardUnsupportedError ¶
Creates an error that indicates that the selected payment pass doesn’t support receiving funds through disbursements.
func PKDisbursementRequestDisbursementContactInvalidErrorWithContactFieldLocalizedDescription ¶
func PKDisbursementRequestDisbursementContactInvalidErrorWithContactFieldLocalizedDescription(field *foundation.NSString, localizedDescription *foundation.NSString) unsafe.Pointer
Creates a recipient contact error with the supplied field.
func PKEncryptionSchemeECC_V2 ¶
func PKEncryptionSchemeECC_V2() *foundation.NSString
func PKEncryptionSchemeRSA_V2 ¶
func PKEncryptionSchemeRSA_V2() *foundation.NSString
func PKMerchantCategoryCodeNone ¶
func PKMerchantCategoryCodeNone() int16
func PKPassKitErrorDomain ¶
func PKPassKitErrorDomain() uintptr
func PKPassLibraryAddedPassesUserInfoKey ¶
func PKPassLibraryAddedPassesUserInfoKey() *foundation.NSString
func PKPassLibraryDidChangeNotification ¶
func PKPassLibraryDidChangeNotification() *foundation.NSString
func PKPassLibraryEndAutomaticPassPresentationSuppressionWithRequestToken ¶
func PKPassLibraryEndAutomaticPassPresentationSuppressionWithRequestToken(requestToken uint)
Reenables the automatic display of the Apple Pay interface.
func PKPassLibraryIsPassLibraryAvailable ¶
func PKPassLibraryIsPassLibraryAvailable() bool
Returns a Boolean value that indicates whether the pass library is available.
func PKPassLibraryIsPaymentPassActivationAvailable ¶
func PKPassLibraryIsPaymentPassActivationAvailable() bool
func PKPassLibraryIsSuppressingAutomaticPassPresentation ¶
func PKPassLibraryIsSuppressingAutomaticPassPresentation() bool
Returns a Boolean value that indicates whether the system suppresses the automatic presentation of Apple Pay passes.
func PKPassLibraryPassTypeIdentifierUserInfoKey ¶
func PKPassLibraryPassTypeIdentifierUserInfoKey() *foundation.NSString
func PKPassLibraryRecoveredPassesUserInfoKey ¶
func PKPassLibraryRecoveredPassesUserInfoKey() *foundation.NSString
func PKPassLibraryRemotePaymentPassesDidChangeNotification ¶
func PKPassLibraryRemotePaymentPassesDidChangeNotification() *foundation.NSString
func PKPassLibraryRemovedPassInfosUserInfoKey ¶
func PKPassLibraryRemovedPassInfosUserInfoKey() *foundation.NSString
func PKPassLibraryReplacementPassesUserInfoKey ¶
func PKPassLibraryReplacementPassesUserInfoKey() *foundation.NSString
func PKPassLibraryRequestAutomaticPassPresentationSuppressionWithResponseHandler ¶
func PKPassLibraryRequestAutomaticPassPresentationSuppressionWithResponseHandler(responseHandler func(PKAutomaticPassPresentationSuppressionResult)) uint
Prevents the device from automatically displaying the Apple Pay interface.
func PKPassLibrarySerialNumberUserInfoKey ¶
func PKPassLibrarySerialNumberUserInfoKey() *foundation.NSString
func PKPaymentAuthorizationControllerCanMakePayments ¶
func PKPaymentAuthorizationControllerCanMakePayments() bool
Returns whether the user can make payments.
func PKPaymentAuthorizationControllerCanMakePaymentsUsingNetworks ¶
func PKPaymentAuthorizationControllerCanMakePaymentsUsingNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString]) bool
Returns whether the user can make payments through the specified network.
func PKPaymentAuthorizationControllerCanMakePaymentsUsingNetworksCapabilities ¶
func PKPaymentAuthorizationControllerCanMakePaymentsUsingNetworksCapabilities(supportedNetworks *foundation.NSArray[*foundation.NSString], capabilties PKMerchantCapability) bool
Returns whether the user can make payments using a card from the specified network with the specified capabilities.
func PKPaymentAuthorizationControllerSupportsDisbursements ¶
func PKPaymentAuthorizationControllerSupportsDisbursements() bool
Returns a Boolean value that indicates whether this device can process disbursement requests.
func PKPaymentAuthorizationControllerSupportsDisbursementsUsingNetworks ¶
func PKPaymentAuthorizationControllerSupportsDisbursementsUsingNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString]) bool
Returns a Boolean value that indicates whether this device can process disbursement requests using the specified payment network brands.
func PKPaymentAuthorizationControllerSupportsDisbursementsUsingNetworksCapabilities ¶
func PKPaymentAuthorizationControllerSupportsDisbursementsUsingNetworksCapabilities(supportedNetworks *foundation.NSArray[*foundation.NSString], capabilties PKMerchantCapability) bool
Returns a Boolean value indicating whether this device can process disbursement requests using the specified payment network brands and capabilities.
func PKPaymentAuthorizationViewControllerCanMakePayments ¶
func PKPaymentAuthorizationViewControllerCanMakePayments() bool
Returns whether the user can make payments.
func PKPaymentAuthorizationViewControllerCanMakePaymentsUsingNetworks ¶
func PKPaymentAuthorizationViewControllerCanMakePaymentsUsingNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString]) bool
Returns whether the user can make payments through the specified network.
func PKPaymentAuthorizationViewControllerCanMakePaymentsUsingNetworksCapabilities ¶
func PKPaymentAuthorizationViewControllerCanMakePaymentsUsingNetworksCapabilities(supportedNetworks *foundation.NSArray[*foundation.NSString], capabilties PKMerchantCapability) bool
Returns whether the user can make payments using a card from the specified network with the specified capabilities.
func PKPaymentAuthorizationViewControllerSupportsDisbursements ¶
func PKPaymentAuthorizationViewControllerSupportsDisbursements() bool
Returns a Boolean value that indicates whether this device can process disbursement requests.
func PKPaymentAuthorizationViewControllerSupportsDisbursementsUsingNetworks ¶
func PKPaymentAuthorizationViewControllerSupportsDisbursementsUsingNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString]) bool
Returns a Boolean value that indicates whether this device can process disbursement requests using the specified payment networks.
func PKPaymentAuthorizationViewControllerSupportsDisbursementsUsingNetworksCapabilities ¶
func PKPaymentAuthorizationViewControllerSupportsDisbursementsUsingNetworksCapabilities(supportedNetworks *foundation.NSArray[*foundation.NSString], capabilities PKMerchantCapability) bool
Returns a Boolean value that indicates whether this device can process disbursement requests using the specified payment networks and merchant capabilities.
func PKPaymentErrorContactFieldUserInfoKey ¶
func PKPaymentErrorContactFieldUserInfoKey() *foundation.NSString
func PKPaymentErrorDomain ¶
func PKPaymentErrorDomain() uintptr
func PKPaymentErrorPostalAddressUserInfoKey ¶
func PKPaymentErrorPostalAddressUserInfoKey() *foundation.NSString
func PKPaymentNetworkAmex ¶
func PKPaymentNetworkAmex() *foundation.NSString
func PKPaymentNetworkBancomat ¶
func PKPaymentNetworkBancomat() *foundation.NSString
func PKPaymentNetworkBancontact ¶
func PKPaymentNetworkBancontact() *foundation.NSString
func PKPaymentNetworkBankAxept ¶
func PKPaymentNetworkBankAxept() *foundation.NSString
func PKPaymentNetworkBarcode ¶
func PKPaymentNetworkBarcode() *foundation.NSString
func PKPaymentNetworkCarteBancaire
deprecated
func PKPaymentNetworkCarteBancaire() *foundation.NSString
Deprecated: Use PKPaymentNetworkCartesBancaires instead.
func PKPaymentNetworkCarteBancaires
deprecated
func PKPaymentNetworkCarteBancaires() *foundation.NSString
Deprecated: Use PKPaymentNetworkCartesBancaires instead.
func PKPaymentNetworkCartesBancaires ¶
func PKPaymentNetworkCartesBancaires() *foundation.NSString
func PKPaymentNetworkChinaUnionPay ¶
func PKPaymentNetworkChinaUnionPay() *foundation.NSString
func PKPaymentNetworkConecs ¶
func PKPaymentNetworkConecs() *foundation.NSString
func PKPaymentNetworkDankort ¶
func PKPaymentNetworkDankort() *foundation.NSString
func PKPaymentNetworkDiscover ¶
func PKPaymentNetworkDiscover() *foundation.NSString
func PKPaymentNetworkEftpos ¶
func PKPaymentNetworkEftpos() *foundation.NSString
func PKPaymentNetworkElCorteIngles ¶
func PKPaymentNetworkElCorteIngles() *foundation.NSString
func PKPaymentNetworkElectron ¶
func PKPaymentNetworkElectron() *foundation.NSString
func PKPaymentNetworkElo ¶
func PKPaymentNetworkElo() *foundation.NSString
func PKPaymentNetworkGirocard ¶
func PKPaymentNetworkGirocard() *foundation.NSString
func PKPaymentNetworkHimyan ¶
func PKPaymentNetworkHimyan() *foundation.NSString
func PKPaymentNetworkIDCredit ¶
func PKPaymentNetworkIDCredit() *foundation.NSString
func PKPaymentNetworkInterac ¶
func PKPaymentNetworkInterac() *foundation.NSString
func PKPaymentNetworkJCB ¶
func PKPaymentNetworkJCB() *foundation.NSString
func PKPaymentNetworkJaywan ¶
func PKPaymentNetworkJaywan() *foundation.NSString
func PKPaymentNetworkMada ¶
func PKPaymentNetworkMada() *foundation.NSString
func PKPaymentNetworkMaestro ¶
func PKPaymentNetworkMaestro() *foundation.NSString
func PKPaymentNetworkMasterCard ¶
func PKPaymentNetworkMasterCard() *foundation.NSString
func PKPaymentNetworkMeeza ¶
func PKPaymentNetworkMeeza() *foundation.NSString
func PKPaymentNetworkMir ¶
func PKPaymentNetworkMir() *foundation.NSString
func PKPaymentNetworkMyDebit ¶
func PKPaymentNetworkMyDebit() *foundation.NSString
func PKPaymentNetworkNAPAS ¶
func PKPaymentNetworkNAPAS() *foundation.NSString
func PKPaymentNetworkNanaco ¶
func PKPaymentNetworkNanaco() *foundation.NSString
func PKPaymentNetworkPagoBancomat
deprecated
func PKPaymentNetworkPagoBancomat() *foundation.NSString
Deprecated: Use PKPaymentNetworkBancomat instead.
func PKPaymentNetworkPostFinance ¶
func PKPaymentNetworkPostFinance() *foundation.NSString
func PKPaymentNetworkPrivateLabel ¶
func PKPaymentNetworkPrivateLabel() *foundation.NSString
func PKPaymentNetworkQuicPay ¶
func PKPaymentNetworkQuicPay() *foundation.NSString
func PKPaymentNetworkSuica ¶
func PKPaymentNetworkSuica() *foundation.NSString
func PKPaymentNetworkTmoney ¶
func PKPaymentNetworkTmoney() *foundation.NSString
func PKPaymentNetworkVPay ¶
func PKPaymentNetworkVPay() *foundation.NSString
func PKPaymentNetworkVisa ¶
func PKPaymentNetworkVisa() *foundation.NSString
func PKPaymentNetworkWaon ¶
func PKPaymentNetworkWaon() *foundation.NSString
func PKPaymentRequestAvailableNetworks ¶
func PKPaymentRequestAvailableNetworks() *foundation.NSArray[*foundation.NSString]
Returns the list of available payment methods that Apple Pay supports.
func PKPaymentRequestPaymentBillingAddressInvalidErrorWithKeyLocalizedDescription ¶
func PKPaymentRequestPaymentBillingAddressInvalidErrorWithKeyLocalizedDescription(postalAddressKey *foundation.NSString, localizedDescription *foundation.NSString) unsafe.Pointer
Creates a billing address error with the supplied key and user-facing error message.
func PKPaymentRequestPaymentContactInvalidErrorWithContactFieldLocalizedDescription ¶
func PKPaymentRequestPaymentContactInvalidErrorWithContactFieldLocalizedDescription(field *foundation.NSString, localizedDescription *foundation.NSString) unsafe.Pointer
Creates a contact error with the supplied field and user-facing error message.
func PKPaymentRequestPaymentCouponCodeExpiredErrorWithLocalizedDescription ¶
func PKPaymentRequestPaymentCouponCodeExpiredErrorWithLocalizedDescription(localizedDescription *foundation.NSString) unsafe.Pointer
Returns an error object that indicates an expired coupon.
func PKPaymentRequestPaymentCouponCodeInvalidErrorWithLocalizedDescription ¶
func PKPaymentRequestPaymentCouponCodeInvalidErrorWithLocalizedDescription(localizedDescription *foundation.NSString) unsafe.Pointer
Returns an error object that indicates an invalid coupon.
func PKPaymentRequestPaymentShippingAddressInvalidErrorWithKeyLocalizedDescription ¶
func PKPaymentRequestPaymentShippingAddressInvalidErrorWithKeyLocalizedDescription(postalAddressKey *foundation.NSString, localizedDescription *foundation.NSString) unsafe.Pointer
Creates a shipping address error with the supplied key and user-facing error message.
func PKPaymentRequestPaymentShippingAddressUnserviceableErrorWithLocalizedDescription ¶
func PKPaymentRequestPaymentShippingAddressUnserviceableErrorWithLocalizedDescription(localizedDescription *foundation.NSString) unsafe.Pointer
Creates an error for an unserviceable address, with the supplied user-facing error message.
func PKShareSecureElementPassErrorDomain ¶
func PKShareSecureElementPassErrorDomain() uintptr
func PKStoredValuePassBalanceTypeCash ¶
func PKStoredValuePassBalanceTypeCash() *foundation.NSString
func PKStoredValuePassBalanceTypeLoyaltyPoints ¶
func PKStoredValuePassBalanceTypeLoyaltyPoints() *foundation.NSString
func PKVehicleConnectionSessionSessionForPassDelegateCompletion ¶
func PKVehicleConnectionSessionSessionForPassDelegateCompletion(pass *PKSecureElementPass, delegate PKVehicleConnectionDelegate, completion func(*PKVehicleConnectionSession, unsafe.Pointer))
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type CGLCPContextPriorityRequest ¶
type CGLCPContextPriorityRequest int64
const ( KCGLCPContextPriorityRequestHigh CGLCPContextPriorityRequest = 0 KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1 KCGLCPContextPriorityRequestLow CGLCPContextPriorityRequest = 2 )
func (CGLCPContextPriorityRequest) String ¶
func (e CGLCPContextPriorityRequest) String() string
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type MDLabelDomain ¶
type MDLabelDomain int64
@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type NXMouseButton ¶
type NXMouseButton int64
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Os_unfair_lock_flags_t ¶
type Os_unfair_lock_flags_t int64
const ( OS_UNFAIR_LOCK_FLAG_NONE Os_unfair_lock_flags_t = 0 OS_UNFAIR_LOCK_FLAG_ADAPTIVE_SPIN Os_unfair_lock_flags_t = 262144 )
func (Os_unfair_lock_flags_t) String ¶
func (e Os_unfair_lock_flags_t) String() string
type PKAddCarKeyPassConfiguration ¶
type PKAddCarKeyPassConfiguration struct {
PKAddSecureElementPassConfiguration
}
A specialized configuration object that PassKit uses when it creates a digital car key.
Apple documentation: https://developer.apple.com/documentation/passkit/pkaddcarkeypassconfiguration
func PKAddCarKeyPassConfigurationFromID ¶
func PKAddCarKeyPassConfigurationFromID(id objc.ID) *PKAddCarKeyPassConfiguration
func (*PKAddCarKeyPassConfiguration) Init ¶
func (o *PKAddCarKeyPassConfiguration) Init() *PKAddCarKeyPassConfiguration
Creates a digital car key configuration object.
func (*PKAddCarKeyPassConfiguration) ManufacturerIdentifier ¶
func (o *PKAddCarKeyPassConfiguration) ManufacturerIdentifier() *foundation.NSString
func (*PKAddCarKeyPassConfiguration) Password ¶
func (o *PKAddCarKeyPassConfiguration) Password() *foundation.NSString
func (*PKAddCarKeyPassConfiguration) ProductPlanIdentifier ¶
func (o *PKAddCarKeyPassConfiguration) ProductPlanIdentifier() *foundation.NSString
func (*PKAddCarKeyPassConfiguration) ProvisioningTemplateIdentifier ¶
func (o *PKAddCarKeyPassConfiguration) ProvisioningTemplateIdentifier() *foundation.NSString
func (*PKAddCarKeyPassConfiguration) SetManufacturerIdentifier ¶
func (o *PKAddCarKeyPassConfiguration) SetManufacturerIdentifier(manufacturerIdentifier *foundation.NSString)
func (*PKAddCarKeyPassConfiguration) SetPassword ¶
func (o *PKAddCarKeyPassConfiguration) SetPassword(password *foundation.NSString)
func (*PKAddCarKeyPassConfiguration) SetProductPlanIdentifier ¶
func (o *PKAddCarKeyPassConfiguration) SetProductPlanIdentifier(productPlanIdentifier *foundation.NSString)
func (*PKAddCarKeyPassConfiguration) SetProvisioningTemplateIdentifier ¶
func (o *PKAddCarKeyPassConfiguration) SetProvisioningTemplateIdentifier(provisioningTemplateIdentifier *foundation.NSString)
func (*PKAddCarKeyPassConfiguration) SetSupportedRadioTechnologies ¶
func (o *PKAddCarKeyPassConfiguration) SetSupportedRadioTechnologies(supportedRadioTechnologies PKRadioTechnology)
func (*PKAddCarKeyPassConfiguration) SupportedRadioTechnologies ¶
func (o *PKAddCarKeyPassConfiguration) SupportedRadioTechnologies() PKRadioTechnology
type PKAddIdentityDocumentConfiguration ¶
type PKAddIdentityDocumentConfiguration struct {
PKAddSecureElementPassConfiguration
}
Configuration to define the identity document.
Apple documentation: https://developer.apple.com/documentation/passkit/pkaddidentitydocumentconfiguration
func PKAddIdentityDocumentConfigurationFromID ¶
func PKAddIdentityDocumentConfigurationFromID(id objc.ID) *PKAddIdentityDocumentConfiguration
func (*PKAddIdentityDocumentConfiguration) Metadata ¶
func (o *PKAddIdentityDocumentConfiguration) Metadata() *PKIdentityDocumentMetadata
type PKAddIdentityDocumentMetadata ¶
type PKAddIdentityDocumentMetadata struct {
PKIdentityDocumentMetadata
}
The object for specifying the metadata necessary to provision identity documents.
Apple documentation: https://developer.apple.com/documentation/passkit/pkaddidentitydocumentmetadata
func PKAddIdentityDocumentMetadataFromID ¶
func PKAddIdentityDocumentMetadataFromID(id objc.ID) *PKAddIdentityDocumentMetadata
func (*PKAddIdentityDocumentMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierIssuingCountryCodeDocumentTypePreview ¶
func (o *PKAddIdentityDocumentMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierIssuingCountryCodeDocumentTypePreview(credentialIdentifier *foundation.NSString, sharingInstanceIdentifier *foundation.NSString, templateIdentifier *foundation.NSString, issuingCountryCode *foundation.NSString, documentType PKAddIdentityDocumentType, preview *PKAddPassMetadataPreview) *PKAddIdentityDocumentMetadata
Creates the identity document metadata with parameters that the issuer’s server configures to indicate the specific product instance to provision.
func (*PKAddIdentityDocumentMetadata) Preview ¶
func (o *PKAddIdentityDocumentMetadata) Preview() *PKAddPassMetadataPreview
type PKAddIdentityDocumentType ¶
type PKAddIdentityDocumentType int64
Classifications that reflect the type of identity document.
const ( // A generic pass that represents a person’s identification. PKAddIdentityDocumentTypeIDCard PKAddIdentityDocumentType = 0 // A pass that represents a driver’s license or government-issued identification. PKAddIdentityDocumentTypeMDL PKAddIdentityDocumentType = 1 // A pass to use for personal identification. PKAddIdentityDocumentTypePhotoID PKAddIdentityDocumentType = 2 )
func (PKAddIdentityDocumentType) String ¶
func (e PKAddIdentityDocumentType) String() string
type PKAddPassMetadataPreview ¶
type PKAddPassMetadataPreview struct {
foundation.NSObject
}
A preview object that contains information representing the pass you add to Wallet.
Apple documentation: https://developer.apple.com/documentation/passkit/pkaddpassmetadatapreview
func PKAddPassMetadataPreviewFromID ¶
func PKAddPassMetadataPreviewFromID(id objc.ID) *PKAddPassMetadataPreview
func PKAddPassMetadataPreviewPreviewWithPassThumbnailLocalizedDescription ¶
func PKAddPassMetadataPreviewPreviewWithPassThumbnailLocalizedDescription(passThumbnail unsafe.Pointer, description *foundation.NSString) *PKAddPassMetadataPreview
Initializes properties you need to preview an object that represents the pass you add to Wallet.
func (*PKAddPassMetadataPreview) InitWithPassThumbnailLocalizedDescription ¶
func (o *PKAddPassMetadataPreview) InitWithPassThumbnailLocalizedDescription(passThumbnail unsafe.Pointer, description *foundation.NSString) *PKAddPassMetadataPreview
Provides a preview of an image object that represents the pass you add to Wallet.
func (*PKAddPassMetadataPreview) LocalizedDescription ¶
func (o *PKAddPassMetadataPreview) LocalizedDescription() *foundation.NSString
Localized description of the pass to be referenced during provisioning.
func (*PKAddPassMetadataPreview) PassThumbnailImage ¶
func (o *PKAddPassMetadataPreview) PassThumbnailImage() unsafe.Pointer
CGImage representing the pass in our provisioning UI.
type PKAddPaymentPassError ¶
type PKAddPaymentPassError int64
Error codes for adding payment passes.
const ( // The app cannot add cards to Apple Pay. PKAddPaymentPassErrorUnsupported PKAddPaymentPassError = 0 // The user canceled the request to add a card to Apple Pay. PKAddPaymentPassErrorUserCancelled PKAddPaymentPassError = 1 // The system canceled the request to add a card to Apple Pay. PKAddPaymentPassErrorSystemCancelled PKAddPaymentPassError = 2 )
func (PKAddPaymentPassError) String ¶
func (e PKAddPaymentPassError) String() string
type PKAddPaymentPassRequest ¶
type PKAddPaymentPassRequest struct {
foundation.NSObject
}
Contains the card data needed to add a card to Apple Pay.
Apple documentation: https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequest
func PKAddPaymentPassRequestFromID ¶
func PKAddPaymentPassRequestFromID(id objc.ID) *PKAddPaymentPassRequest
func (*PKAddPaymentPassRequest) ActivationData ¶
func (o *PKAddPaymentPassRequest) ActivationData() *foundation.NSData
func (*PKAddPaymentPassRequest) EncryptedPassData ¶
func (o *PKAddPaymentPassRequest) EncryptedPassData() *foundation.NSData
func (*PKAddPaymentPassRequest) EphemeralPublicKey ¶
func (o *PKAddPaymentPassRequest) EphemeralPublicKey() *foundation.NSData
func (*PKAddPaymentPassRequest) Init ¶
func (o *PKAddPaymentPassRequest) Init() *PKAddPaymentPassRequest
func (*PKAddPaymentPassRequest) SetActivationData ¶
func (o *PKAddPaymentPassRequest) SetActivationData(activationData *foundation.NSData)
func (*PKAddPaymentPassRequest) SetEncryptedPassData ¶
func (o *PKAddPaymentPassRequest) SetEncryptedPassData(encryptedPassData *foundation.NSData)
func (*PKAddPaymentPassRequest) SetEphemeralPublicKey ¶
func (o *PKAddPaymentPassRequest) SetEphemeralPublicKey(ephemeralPublicKey *foundation.NSData)
func (*PKAddPaymentPassRequest) SetWrappedKey ¶
func (o *PKAddPaymentPassRequest) SetWrappedKey(wrappedKey *foundation.NSData)
func (*PKAddPaymentPassRequest) WrappedKey ¶
func (o *PKAddPaymentPassRequest) WrappedKey() *foundation.NSData
type PKAddPaymentPassRequestConfiguration ¶
type PKAddPaymentPassRequestConfiguration struct {
foundation.NSObject
}
Contains the configuration data for a view controller that lets the user add a payment pass.
Apple documentation: https://developer.apple.com/documentation/passkit/pkaddpaymentpassrequestconfiguration
func PKAddPaymentPassRequestConfigurationFromID ¶
func PKAddPaymentPassRequestConfigurationFromID(id objc.ID) *PKAddPaymentPassRequestConfiguration
func (*PKAddPaymentPassRequestConfiguration) CardDetails ¶
func (o *PKAddPaymentPassRequestConfiguration) CardDetails() *foundation.NSArray[*PKLabeledValue]
func (*PKAddPaymentPassRequestConfiguration) CardholderName ¶
func (o *PKAddPaymentPassRequestConfiguration) CardholderName() *foundation.NSString
func (*PKAddPaymentPassRequestConfiguration) EncryptionScheme ¶
func (o *PKAddPaymentPassRequestConfiguration) EncryptionScheme() *foundation.NSString
func (*PKAddPaymentPassRequestConfiguration) InitWithEncryptionScheme ¶
func (o *PKAddPaymentPassRequestConfiguration) InitWithEncryptionScheme(encryptionScheme *foundation.NSString) *PKAddPaymentPassRequestConfiguration
Instantiates a new request configuration with the given encryption scheme.
func (*PKAddPaymentPassRequestConfiguration) LocalizedDescription ¶
func (o *PKAddPaymentPassRequestConfiguration) LocalizedDescription() *foundation.NSString
func (*PKAddPaymentPassRequestConfiguration) PaymentNetwork ¶
func (o *PKAddPaymentPassRequestConfiguration) PaymentNetwork() *foundation.NSString
func (*PKAddPaymentPassRequestConfiguration) PrimaryAccountIdentifier ¶
func (o *PKAddPaymentPassRequestConfiguration) PrimaryAccountIdentifier() *foundation.NSString
func (*PKAddPaymentPassRequestConfiguration) PrimaryAccountSuffix ¶
func (o *PKAddPaymentPassRequestConfiguration) PrimaryAccountSuffix() *foundation.NSString
func (*PKAddPaymentPassRequestConfiguration) ProductIdentifiers ¶
func (o *PKAddPaymentPassRequestConfiguration) ProductIdentifiers() *foundation.NSSet[*foundation.NSString]
func (*PKAddPaymentPassRequestConfiguration) RequiresFelicaSecureElement ¶
func (o *PKAddPaymentPassRequestConfiguration) RequiresFelicaSecureElement() bool
func (*PKAddPaymentPassRequestConfiguration) SetCardDetails ¶
func (o *PKAddPaymentPassRequestConfiguration) SetCardDetails(cardDetails *foundation.NSArray[*PKLabeledValue])
func (*PKAddPaymentPassRequestConfiguration) SetCardholderName ¶
func (o *PKAddPaymentPassRequestConfiguration) SetCardholderName(cardholderName *foundation.NSString)
func (*PKAddPaymentPassRequestConfiguration) SetLocalizedDescription ¶
func (o *PKAddPaymentPassRequestConfiguration) SetLocalizedDescription(localizedDescription *foundation.NSString)
func (*PKAddPaymentPassRequestConfiguration) SetPaymentNetwork ¶
func (o *PKAddPaymentPassRequestConfiguration) SetPaymentNetwork(paymentNetwork *foundation.NSString)
func (*PKAddPaymentPassRequestConfiguration) SetPrimaryAccountIdentifier ¶
func (o *PKAddPaymentPassRequestConfiguration) SetPrimaryAccountIdentifier(primaryAccountIdentifier *foundation.NSString)
func (*PKAddPaymentPassRequestConfiguration) SetPrimaryAccountSuffix ¶
func (o *PKAddPaymentPassRequestConfiguration) SetPrimaryAccountSuffix(primaryAccountSuffix *foundation.NSString)
func (*PKAddPaymentPassRequestConfiguration) SetProductIdentifiers ¶
func (o *PKAddPaymentPassRequestConfiguration) SetProductIdentifiers(productIdentifiers *foundation.NSSet[*foundation.NSString])
func (*PKAddPaymentPassRequestConfiguration) SetRequiresFelicaSecureElement ¶
func (o *PKAddPaymentPassRequestConfiguration) SetRequiresFelicaSecureElement(requiresFelicaSecureElement bool)
func (*PKAddPaymentPassRequestConfiguration) SetStyle ¶
func (o *PKAddPaymentPassRequestConfiguration) SetStyle(style PKAddPaymentPassStyle)
func (*PKAddPaymentPassRequestConfiguration) Style ¶
func (o *PKAddPaymentPassRequestConfiguration) Style() PKAddPaymentPassStyle
type PKAddPaymentPassStyle ¶
type PKAddPaymentPassStyle int64
The type of payment pass.
const ( // A pass used by a customer for purchasing. PKAddPaymentPassStylePayment PKAddPaymentPassStyle = 0 // A pass that authorizes the user to access a location or resource. PKAddPaymentPassStyleAccess PKAddPaymentPassStyle = 1 )
func (PKAddPaymentPassStyle) String ¶
func (e PKAddPaymentPassStyle) String() string
type PKAddSecureElementPassConfiguration ¶
type PKAddSecureElementPassConfiguration struct {
foundation.NSObject
}
An object that describes the configuration of a secure element payment pass.
Apple documentation: https://developer.apple.com/documentation/passkit/pkaddsecureelementpassconfiguration
func PKAddSecureElementPassConfigurationFromID ¶
func PKAddSecureElementPassConfigurationFromID(id objc.ID) *PKAddSecureElementPassConfiguration
func (*PKAddSecureElementPassConfiguration) IssuerIdentifier ¶
func (o *PKAddSecureElementPassConfiguration) IssuerIdentifier() *foundation.NSString
func (*PKAddSecureElementPassConfiguration) LocalizedDescription ¶
func (o *PKAddSecureElementPassConfiguration) LocalizedDescription() *foundation.NSString
func (*PKAddSecureElementPassConfiguration) SetIssuerIdentifier ¶
func (o *PKAddSecureElementPassConfiguration) SetIssuerIdentifier(issuerIdentifier *foundation.NSString)
func (*PKAddSecureElementPassConfiguration) SetLocalizedDescription ¶
func (o *PKAddSecureElementPassConfiguration) SetLocalizedDescription(localizedDescription *foundation.NSString)
type PKAddSecureElementPassErrorCode ¶
type PKAddSecureElementPassErrorCode int64
Error codes for problems that occur when you add a secure element passes.
const ( PKAddSecureElementPassGenericError PKAddSecureElementPassErrorCode = 0 // The system canceled adding the pass due to an unknown failure. PKAddSecureElementPassUnknownError PKAddSecureElementPassErrorCode = 0 PKAddSecureElementPassUserCanceledError PKAddSecureElementPassErrorCode = 1 PKAddSecureElementPassInvalidConfigurationError PKAddSecureElementPassErrorCode = 3 PKAddSecureElementPassDeviceNotSupportedError PKAddSecureElementPassErrorCode = 4 PKAddSecureElementPassDeviceNotReadyError PKAddSecureElementPassErrorCode = 5 PKAddSecureElementPassOSVersionNotSupportedError PKAddSecureElementPassErrorCode = 6 )
func (PKAddSecureElementPassErrorCode) String ¶
func (e PKAddSecureElementPassErrorCode) String() string
type PKAddShareablePassConfiguration ¶
type PKAddShareablePassConfiguration struct {
}
An object that represents the data and action for a shared copy of pass.
Apple documentation: https://developer.apple.com/documentation/passkit/pkaddshareablepassconfiguration
func PKAddShareablePassConfigurationFromID ¶
func PKAddShareablePassConfigurationFromID(id objc.ID) *PKAddShareablePassConfiguration
func (*PKAddShareablePassConfiguration) CredentialsMetadata ¶
func (o *PKAddShareablePassConfiguration) CredentialsMetadata() *foundation.NSArray[*PKShareablePassMetadata]
func (*PKAddShareablePassConfiguration) PrimaryAction ¶
func (o *PKAddShareablePassConfiguration) PrimaryAction() PKAddShareablePassConfigurationPrimaryAction
func (*PKAddShareablePassConfiguration) ProvisioningPolicyIdentifier ¶
func (o *PKAddShareablePassConfiguration) ProvisioningPolicyIdentifier() *foundation.NSString
type PKAddShareablePassConfigurationPrimaryAction ¶
type PKAddShareablePassConfigurationPrimaryAction uint64
The kind of add action that the system performs with a pass.
const ( PKAddShareablePassConfigurationPrimaryActionAdd PKAddShareablePassConfigurationPrimaryAction = 0 PKAddShareablePassConfigurationPrimaryActionShare PKAddShareablePassConfigurationPrimaryAction = 1 )
func (PKAddShareablePassConfigurationPrimaryAction) String ¶
func (e PKAddShareablePassConfigurationPrimaryAction) String() string
type PKAddressField ¶
type PKAddressField uint64
Billing or shipping address fields.
const ( // No fields. PKAddressFieldNone PKAddressField = 0 // The buyer’s full street address, including name, street, city, state or province, postal code, and country or region. PKAddressFieldPostalAddress PKAddressField = 1 // The buyer’s telephone number. PKAddressFieldPhone PKAddressField = 2 // The buyer’s email address. PKAddressFieldEmail PKAddressField = 4 // The buyer’s first and last name. PKAddressFieldName PKAddressField = 8 // All fields. PKAddressFieldAll PKAddressField = 15 )
func (PKAddressField) String ¶
func (e PKAddressField) String() string
type PKApplePayLaterAvailability ¶
type PKApplePayLaterAvailability int64
Values you use to enable or disable Apple Pay Later for a specific transaction.
const ( // Apple Pay Later is available. PKApplePayLaterAvailable PKApplePayLaterAvailability = 0 PKApplePayLaterUnavailableItemIneligible PKApplePayLaterAvailability = 1 PKApplePayLaterUnavailableRecurringTransaction PKApplePayLaterAvailability = 2 )
func (PKApplePayLaterAvailability) String ¶
func (e PKApplePayLaterAvailability) String() string
type PKAutomaticPassPresentationSuppressionResult ¶
type PKAutomaticPassPresentationSuppressionResult uint64
The result of an attempt to suppress automatic pass presentation.
const ( // The device doesn’t support the suppression of automatic pass presentation. PKAutomaticPassPresentationSuppressionResultNotSupported PKAutomaticPassPresentationSuppressionResult = 0 // The device is already presenting passes. PKAutomaticPassPresentationSuppressionResultAlreadyPresenting PKAutomaticPassPresentationSuppressionResult = 1 // The user prevented the suppression, or an internal error occurred. PKAutomaticPassPresentationSuppressionResultDenied PKAutomaticPassPresentationSuppressionResult = 2 // The system canceled the suppression before calling the response handler. PKAutomaticPassPresentationSuppressionResultCancelled PKAutomaticPassPresentationSuppressionResult = 3 // Suppression of automatic presentation successful. PKAutomaticPassPresentationSuppressionResultSuccess PKAutomaticPassPresentationSuppressionResult = 4 )
func (PKAutomaticPassPresentationSuppressionResult) String ¶
func (e PKAutomaticPassPresentationSuppressionResult) String() string
type PKAutomaticReloadPaymentRequest ¶
type PKAutomaticReloadPaymentRequest struct {
foundation.NSObject
}
A class that represents a request to set up an automatic reload payment, such as a store card top-up or a prepaid account.
Apple documentation: https://developer.apple.com/documentation/passkit/pkautomaticreloadpaymentrequest
func PKAutomaticReloadPaymentRequestFromID ¶
func PKAutomaticReloadPaymentRequestFromID(id objc.ID) *PKAutomaticReloadPaymentRequest
func (*PKAutomaticReloadPaymentRequest) AutomaticReloadBilling ¶
func (o *PKAutomaticReloadPaymentRequest) AutomaticReloadBilling() *PKAutomaticReloadPaymentSummaryItem
func (*PKAutomaticReloadPaymentRequest) BillingAgreement ¶
func (o *PKAutomaticReloadPaymentRequest) BillingAgreement() *foundation.NSString
func (*PKAutomaticReloadPaymentRequest) InitWithPaymentDescriptionAutomaticReloadBillingManagementURL ¶
func (o *PKAutomaticReloadPaymentRequest) InitWithPaymentDescriptionAutomaticReloadBillingManagementURL(paymentDescription *foundation.NSString, automaticReloadBilling *PKAutomaticReloadPaymentSummaryItem, managementURL *foundation.NSURL) *PKAutomaticReloadPaymentRequest
Create an automatic reload payment object with a description, automatic billing information, and a management URL.
func (*PKAutomaticReloadPaymentRequest) ManagementURL ¶
func (o *PKAutomaticReloadPaymentRequest) ManagementURL() *foundation.NSURL
func (*PKAutomaticReloadPaymentRequest) PaymentDescription ¶
func (o *PKAutomaticReloadPaymentRequest) PaymentDescription() *foundation.NSString
func (*PKAutomaticReloadPaymentRequest) SetAutomaticReloadBilling ¶
func (o *PKAutomaticReloadPaymentRequest) SetAutomaticReloadBilling(automaticReloadBilling *PKAutomaticReloadPaymentSummaryItem)
func (*PKAutomaticReloadPaymentRequest) SetBillingAgreement ¶
func (o *PKAutomaticReloadPaymentRequest) SetBillingAgreement(billingAgreement *foundation.NSString)
func (*PKAutomaticReloadPaymentRequest) SetManagementURL ¶
func (o *PKAutomaticReloadPaymentRequest) SetManagementURL(managementURL *foundation.NSURL)
func (*PKAutomaticReloadPaymentRequest) SetPaymentDescription ¶
func (o *PKAutomaticReloadPaymentRequest) SetPaymentDescription(paymentDescription *foundation.NSString)
func (*PKAutomaticReloadPaymentRequest) SetTokenNotificationURL ¶
func (o *PKAutomaticReloadPaymentRequest) SetTokenNotificationURL(tokenNotificationURL *foundation.NSURL)
func (*PKAutomaticReloadPaymentRequest) TokenNotificationURL ¶
func (o *PKAutomaticReloadPaymentRequest) TokenNotificationURL() *foundation.NSURL
type PKAutomaticReloadPaymentSummaryItem ¶
type PKAutomaticReloadPaymentSummaryItem struct {
PKPaymentSummaryItem
}
An object that defines a summary item for an automatic reload or refill payment, such as a store card top-up.
Apple documentation: https://developer.apple.com/documentation/passkit/pkautomaticreloadpaymentsummaryitem
func PKAutomaticReloadPaymentSummaryItemFromID ¶
func PKAutomaticReloadPaymentSummaryItemFromID(id objc.ID) *PKAutomaticReloadPaymentSummaryItem
func (*PKAutomaticReloadPaymentSummaryItem) SetThresholdAmount ¶
func (o *PKAutomaticReloadPaymentSummaryItem) SetThresholdAmount(thresholdAmount *foundation.NSDecimalNumber)
func (*PKAutomaticReloadPaymentSummaryItem) ThresholdAmount ¶
func (o *PKAutomaticReloadPaymentSummaryItem) ThresholdAmount() *foundation.NSDecimalNumber
type PKBarcodeEventConfigurationDataType ¶
type PKBarcodeEventConfigurationDataType int64
const ( PKBarcodeEventConfigurationDataTypeUnknown PKBarcodeEventConfigurationDataType = 0 PKBarcodeEventConfigurationDataTypeSigningKeyMaterial PKBarcodeEventConfigurationDataType = 1 PKBarcodeEventConfigurationDataTypeSigningCertificate PKBarcodeEventConfigurationDataType = 2 )
func (PKBarcodeEventConfigurationDataType) String ¶
func (e PKBarcodeEventConfigurationDataType) String() string
type PKBarcodeEventConfigurationRequest ¶
type PKBarcodeEventConfigurationRequest struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/passkit/pkbarcodeeventconfigurationrequest
func PKBarcodeEventConfigurationRequestFromID ¶
func PKBarcodeEventConfigurationRequestFromID(id objc.ID) *PKBarcodeEventConfigurationRequest
func (*PKBarcodeEventConfigurationRequest) ConfigurationData ¶
func (o *PKBarcodeEventConfigurationRequest) ConfigurationData() *foundation.NSData
func (*PKBarcodeEventConfigurationRequest) ConfigurationDataType ¶
func (o *PKBarcodeEventConfigurationRequest) ConfigurationDataType() PKBarcodeEventConfigurationDataType
func (*PKBarcodeEventConfigurationRequest) DeviceAccountIdentifier ¶
func (o *PKBarcodeEventConfigurationRequest) DeviceAccountIdentifier() *foundation.NSString
type PKBarcodeEventMetadataRequest ¶
type PKBarcodeEventMetadataRequest struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/passkit/pkbarcodeeventmetadatarequest
func PKBarcodeEventMetadataRequestFromID ¶
func PKBarcodeEventMetadataRequestFromID(id objc.ID) *PKBarcodeEventMetadataRequest
func (*PKBarcodeEventMetadataRequest) DeviceAccountIdentifier ¶
func (o *PKBarcodeEventMetadataRequest) DeviceAccountIdentifier() *foundation.NSString
func (*PKBarcodeEventMetadataRequest) LastUsedBarcodeIdentifier ¶
func (o *PKBarcodeEventMetadataRequest) LastUsedBarcodeIdentifier() *foundation.NSString
type PKBarcodeEventMetadataResponse ¶
type PKBarcodeEventMetadataResponse struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/passkit/pkbarcodeeventmetadataresponse
func PKBarcodeEventMetadataResponseFromID ¶
func PKBarcodeEventMetadataResponseFromID(id objc.ID) *PKBarcodeEventMetadataResponse
func (*PKBarcodeEventMetadataResponse) InitWithPaymentInformation ¶
func (o *PKBarcodeEventMetadataResponse) InitWithPaymentInformation(paymentInformation *foundation.NSData) *PKBarcodeEventMetadataResponse
func (*PKBarcodeEventMetadataResponse) PaymentInformation ¶
func (o *PKBarcodeEventMetadataResponse) PaymentInformation() *foundation.NSData
func (*PKBarcodeEventMetadataResponse) SetPaymentInformation ¶
func (o *PKBarcodeEventMetadataResponse) SetPaymentInformation(paymentInformation *foundation.NSData)
type PKBarcodeEventSignatureRequest ¶
type PKBarcodeEventSignatureRequest struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/passkit/pkbarcodeeventsignaturerequest
func PKBarcodeEventSignatureRequestFromID ¶
func PKBarcodeEventSignatureRequestFromID(id objc.ID) *PKBarcodeEventSignatureRequest
func (*PKBarcodeEventSignatureRequest) Amount ¶
func (o *PKBarcodeEventSignatureRequest) Amount() *foundation.NSNumber
func (*PKBarcodeEventSignatureRequest) BarcodeIdentifier ¶
func (o *PKBarcodeEventSignatureRequest) BarcodeIdentifier() *foundation.NSString
func (*PKBarcodeEventSignatureRequest) CurrencyCode ¶
func (o *PKBarcodeEventSignatureRequest) CurrencyCode() *foundation.NSString
func (*PKBarcodeEventSignatureRequest) DeviceAccountIdentifier ¶
func (o *PKBarcodeEventSignatureRequest) DeviceAccountIdentifier() *foundation.NSString
func (*PKBarcodeEventSignatureRequest) MerchantName ¶
func (o *PKBarcodeEventSignatureRequest) MerchantName() *foundation.NSString
func (*PKBarcodeEventSignatureRequest) PartialSignature ¶
func (o *PKBarcodeEventSignatureRequest) PartialSignature() *foundation.NSData
func (*PKBarcodeEventSignatureRequest) RawMerchantName ¶
func (o *PKBarcodeEventSignatureRequest) RawMerchantName() *foundation.NSString
func (*PKBarcodeEventSignatureRequest) TransactionDate ¶
func (o *PKBarcodeEventSignatureRequest) TransactionDate() *foundation.NSDate
func (*PKBarcodeEventSignatureRequest) TransactionIdentifier ¶
func (o *PKBarcodeEventSignatureRequest) TransactionIdentifier() *foundation.NSString
func (*PKBarcodeEventSignatureRequest) TransactionStatus ¶
func (o *PKBarcodeEventSignatureRequest) TransactionStatus() *foundation.NSString
type PKBarcodeEventSignatureResponse ¶
type PKBarcodeEventSignatureResponse struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/passkit/pkbarcodeeventsignatureresponse
func PKBarcodeEventSignatureResponseFromID ¶
func PKBarcodeEventSignatureResponseFromID(id objc.ID) *PKBarcodeEventSignatureResponse
func (*PKBarcodeEventSignatureResponse) InitWithSignedData ¶
func (o *PKBarcodeEventSignatureResponse) InitWithSignedData(signedData *foundation.NSData) *PKBarcodeEventSignatureResponse
func (*PKBarcodeEventSignatureResponse) SetSignedData ¶
func (o *PKBarcodeEventSignatureResponse) SetSignedData(signedData *foundation.NSData)
func (*PKBarcodeEventSignatureResponse) SignedData ¶
func (o *PKBarcodeEventSignatureResponse) SignedData() *foundation.NSData
type PKContact ¶
type PKContact struct {
foundation.NSObject
}
An object that encapsulates contact information needed for billing and shipping.
Apple documentation: https://developer.apple.com/documentation/passkit/pkcontact
func PKContactFromID ¶
func (*PKContact) EmailAddress ¶
func (o *PKContact) EmailAddress() *foundation.NSString
func (*PKContact) Name ¶
func (o *PKContact) Name() *foundation.NSPersonNameComponents
func (*PKContact) PhoneNumber ¶
func (o *PKContact) PhoneNumber() *contacts.CNPhoneNumber
func (*PKContact) PostalAddress ¶
func (o *PKContact) PostalAddress() *contacts.CNPostalAddress
func (*PKContact) SetEmailAddress ¶
func (o *PKContact) SetEmailAddress(emailAddress *foundation.NSString)
func (*PKContact) SetName ¶
func (o *PKContact) SetName(name *foundation.NSPersonNameComponents)
func (*PKContact) SetPhoneNumber ¶
func (o *PKContact) SetPhoneNumber(phoneNumber *contacts.CNPhoneNumber)
func (*PKContact) SetPostalAddress ¶
func (o *PKContact) SetPostalAddress(postalAddress *contacts.CNPostalAddress)
func (*PKContact) SetSupplementarySubLocality ¶
func (o *PKContact) SetSupplementarySubLocality(supplementarySubLocality *foundation.NSString)
func (*PKContact) SupplementarySubLocality ¶
func (o *PKContact) SupplementarySubLocality() *foundation.NSString
type PKDateComponentsRange ¶
type PKDateComponentsRange struct {
foundation.NSObject
}
An object that specifies the start and end dates for a range of time.
Apple documentation: https://developer.apple.com/documentation/passkit/pkdatecomponentsrange
func PKDateComponentsRangeFromID ¶
func PKDateComponentsRangeFromID(id objc.ID) *PKDateComponentsRange
func (*PKDateComponentsRange) EndDateComponents ¶
func (o *PKDateComponentsRange) EndDateComponents() *foundation.NSDateComponents
func (*PKDateComponentsRange) InitWithStartDateComponentsEndDateComponents ¶
func (o *PKDateComponentsRange) InitWithStartDateComponentsEndDateComponents(startDateComponents *foundation.NSDateComponents, endDateComponents *foundation.NSDateComponents) *PKDateComponentsRange
Creates a new time range with the start and end dates and times that you specify.
func (*PKDateComponentsRange) StartDateComponents ¶
func (o *PKDateComponentsRange) StartDateComponents() *foundation.NSDateComponents
type PKDeferredPaymentRequest ¶
type PKDeferredPaymentRequest struct {
foundation.NSObject
}
An object that represents a request to set up a deferred payment, such as a hotel booking or a pre-order.
Apple documentation: https://developer.apple.com/documentation/passkit/pkdeferredpaymentrequest
func PKDeferredPaymentRequestFromID ¶
func PKDeferredPaymentRequestFromID(id objc.ID) *PKDeferredPaymentRequest
func (*PKDeferredPaymentRequest) BillingAgreement ¶
func (o *PKDeferredPaymentRequest) BillingAgreement() *foundation.NSString
func (*PKDeferredPaymentRequest) DeferredBilling ¶
func (o *PKDeferredPaymentRequest) DeferredBilling() *PKDeferredPaymentSummaryItem
func (*PKDeferredPaymentRequest) FreeCancellationDate ¶
func (o *PKDeferredPaymentRequest) FreeCancellationDate() *foundation.NSDate
func (*PKDeferredPaymentRequest) FreeCancellationDateTimeZone ¶
func (o *PKDeferredPaymentRequest) FreeCancellationDateTimeZone() *foundation.NSTimeZone
func (*PKDeferredPaymentRequest) InitWithPaymentDescriptionDeferredBillingManagementURL ¶
func (o *PKDeferredPaymentRequest) InitWithPaymentDescriptionDeferredBillingManagementURL(paymentDescription *foundation.NSString, deferredBilling *PKDeferredPaymentSummaryItem, managementURL *foundation.NSURL) *PKDeferredPaymentRequest
Creates a deferred payment request with the payment description, deferred billing summary, and management URL you provide.
func (*PKDeferredPaymentRequest) ManagementURL ¶
func (o *PKDeferredPaymentRequest) ManagementURL() *foundation.NSURL
func (*PKDeferredPaymentRequest) PaymentDescription ¶
func (o *PKDeferredPaymentRequest) PaymentDescription() *foundation.NSString
func (*PKDeferredPaymentRequest) SetBillingAgreement ¶
func (o *PKDeferredPaymentRequest) SetBillingAgreement(billingAgreement *foundation.NSString)
func (*PKDeferredPaymentRequest) SetDeferredBilling ¶
func (o *PKDeferredPaymentRequest) SetDeferredBilling(deferredBilling *PKDeferredPaymentSummaryItem)
func (*PKDeferredPaymentRequest) SetFreeCancellationDate ¶
func (o *PKDeferredPaymentRequest) SetFreeCancellationDate(freeCancellationDate *foundation.NSDate)
func (*PKDeferredPaymentRequest) SetFreeCancellationDateTimeZone ¶
func (o *PKDeferredPaymentRequest) SetFreeCancellationDateTimeZone(freeCancellationDateTimeZone *foundation.NSTimeZone)
func (*PKDeferredPaymentRequest) SetManagementURL ¶
func (o *PKDeferredPaymentRequest) SetManagementURL(managementURL *foundation.NSURL)
func (*PKDeferredPaymentRequest) SetPaymentDescription ¶
func (o *PKDeferredPaymentRequest) SetPaymentDescription(paymentDescription *foundation.NSString)
func (*PKDeferredPaymentRequest) SetTokenNotificationURL ¶
func (o *PKDeferredPaymentRequest) SetTokenNotificationURL(tokenNotificationURL *foundation.NSURL)
func (*PKDeferredPaymentRequest) TokenNotificationURL ¶
func (o *PKDeferredPaymentRequest) TokenNotificationURL() *foundation.NSURL
type PKDeferredPaymentSummaryItem ¶
type PKDeferredPaymentSummaryItem struct {
PKPaymentSummaryItem
}
An object that defines a summary item for a payment that occurs at a later date, such as a pre-order.
Apple documentation: https://developer.apple.com/documentation/passkit/pkdeferredpaymentsummaryitem
func PKDeferredPaymentSummaryItemFromID ¶
func PKDeferredPaymentSummaryItemFromID(id objc.ID) *PKDeferredPaymentSummaryItem
func (*PKDeferredPaymentSummaryItem) DeferredDate ¶
func (o *PKDeferredPaymentSummaryItem) DeferredDate() *foundation.NSDate
func (*PKDeferredPaymentSummaryItem) SetDeferredDate ¶
func (o *PKDeferredPaymentSummaryItem) SetDeferredDate(deferredDate *foundation.NSDate)
type PKDisbursementErrorCode ¶
type PKDisbursementErrorCode int64
Values that describe errors that can occur while processing the disbursement.
const ( PKDisbursementUnknownError PKDisbursementErrorCode = -1 PKDisbursementUnsupportedCardError PKDisbursementErrorCode = 1 PKDisbursementRecipientContactInvalidError PKDisbursementErrorCode = 2 )
func (PKDisbursementErrorCode) String ¶
func (e PKDisbursementErrorCode) String() string
type PKDisbursementRequest ¶
type PKDisbursementRequest struct {
foundation.NSObject
}
An object that represents a request to disburse funds from a merchant to an individual.
Apple documentation: https://developer.apple.com/documentation/passkit/pkdisbursementrequest
func PKDisbursementRequestFromID ¶
func PKDisbursementRequestFromID(id objc.ID) *PKDisbursementRequest
func (*PKDisbursementRequest) ApplicationData ¶
func (o *PKDisbursementRequest) ApplicationData() *foundation.NSData
func (*PKDisbursementRequest) CurrencyCode ¶
func (o *PKDisbursementRequest) CurrencyCode() *foundation.NSString
func (*PKDisbursementRequest) InitWithMerchantIdentifierCurrencyCodeRegionCodeSupportedNetworksMerchantCapabilitiesSummaryItems ¶
func (o *PKDisbursementRequest) InitWithMerchantIdentifierCurrencyCodeRegionCodeSupportedNetworksMerchantCapabilitiesSummaryItems(merchantIdentifier *foundation.NSString, currencyCode *foundation.NSString, regionCode *foundation.NSString, supportedNetworks *foundation.NSArray[*foundation.NSString], merchantCapabilities PKMerchantCapability, summaryItems *foundation.NSArray[*PKPaymentSummaryItem]) *PKDisbursementRequest
Creates a new instance of a disbursement request with the merchant identifier, currency and region codes, and other parameters you specify.
func (*PKDisbursementRequest) IsDelegatedRequest ¶
func (o *PKDisbursementRequest) IsDelegatedRequest() bool
A Boolean value that indicates whether this disbursement request is being made by a delegated entity on behalf of a merchant. Set this property to YES when your application is acting as an Apple Pay delegate and presenting the payment sheet on behalf of another merchant. The default value is NO. @note This property requires your application to be registered as an Apple Pay delegate and to have the com.apple.developer.in-app-payments-delegate entitlement.
func (*PKDisbursementRequest) MerchantCapabilities ¶
func (o *PKDisbursementRequest) MerchantCapabilities() PKMerchantCapability
func (*PKDisbursementRequest) MerchantIdentifier ¶
func (o *PKDisbursementRequest) MerchantIdentifier() *foundation.NSString
func (*PKDisbursementRequest) RecipientContact ¶
func (o *PKDisbursementRequest) RecipientContact() *PKContact
func (*PKDisbursementRequest) RegionCode ¶
func (o *PKDisbursementRequest) RegionCode() *foundation.NSString
func (*PKDisbursementRequest) RequiredRecipientContactFields ¶
func (o *PKDisbursementRequest) RequiredRecipientContactFields() *foundation.NSArray[*foundation.NSString]
func (*PKDisbursementRequest) SetApplicationData ¶
func (o *PKDisbursementRequest) SetApplicationData(applicationData *foundation.NSData)
func (*PKDisbursementRequest) SetCurrencyCode ¶
func (o *PKDisbursementRequest) SetCurrencyCode(currencyCode *foundation.NSString)
func (*PKDisbursementRequest) SetIsDelegatedRequest ¶
func (o *PKDisbursementRequest) SetIsDelegatedRequest(isDelegatedRequest bool)
func (*PKDisbursementRequest) SetMerchantCapabilities ¶
func (o *PKDisbursementRequest) SetMerchantCapabilities(merchantCapabilities PKMerchantCapability)
func (*PKDisbursementRequest) SetMerchantIdentifier ¶
func (o *PKDisbursementRequest) SetMerchantIdentifier(merchantIdentifier *foundation.NSString)
func (*PKDisbursementRequest) SetRecipientContact ¶
func (o *PKDisbursementRequest) SetRecipientContact(recipientContact *PKContact)
func (*PKDisbursementRequest) SetRegionCode ¶
func (o *PKDisbursementRequest) SetRegionCode(regionCode *foundation.NSString)
func (*PKDisbursementRequest) SetRequiredRecipientContactFields ¶
func (o *PKDisbursementRequest) SetRequiredRecipientContactFields(requiredRecipientContactFields *foundation.NSArray[*foundation.NSString])
func (*PKDisbursementRequest) SetSummaryItems ¶
func (o *PKDisbursementRequest) SetSummaryItems(summaryItems *foundation.NSArray[*PKPaymentSummaryItem])
func (*PKDisbursementRequest) SetSupportedNetworks ¶
func (o *PKDisbursementRequest) SetSupportedNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString])
func (*PKDisbursementRequest) SetSupportedRegions ¶
func (o *PKDisbursementRequest) SetSupportedRegions(supportedRegions *foundation.NSArray[*foundation.NSString])
func (*PKDisbursementRequest) SummaryItems ¶
func (o *PKDisbursementRequest) SummaryItems() *foundation.NSArray[*PKPaymentSummaryItem]
func (*PKDisbursementRequest) SupportedNetworks ¶
func (o *PKDisbursementRequest) SupportedNetworks() *foundation.NSArray[*foundation.NSString]
func (*PKDisbursementRequest) SupportedRegions ¶
func (o *PKDisbursementRequest) SupportedRegions() *foundation.NSArray[*foundation.NSString]
type PKDisbursementSummaryItem ¶
type PKDisbursementSummaryItem struct {
PKPaymentSummaryItem
}
A summary item that represents a disbursement.
Apple documentation: https://developer.apple.com/documentation/passkit/pkdisbursementsummaryitem
func PKDisbursementSummaryItemFromID ¶
func PKDisbursementSummaryItemFromID(id objc.ID) *PKDisbursementSummaryItem
type PKIdentityDocumentMetadata ¶
type PKIdentityDocumentMetadata struct {
foundation.NSObject
}
A set of configured metadata that defines the required information to add the corresponding pass to Wallet.
Apple documentation: https://developer.apple.com/documentation/passkit/pkidentitydocumentmetadata
func PKIdentityDocumentMetadataFromID ¶
func PKIdentityDocumentMetadataFromID(id objc.ID) *PKIdentityDocumentMetadata
func (*PKIdentityDocumentMetadata) CardConfigurationIdentifier ¶
func (o *PKIdentityDocumentMetadata) CardConfigurationIdentifier() *foundation.NSString
cardConfigurationIdentifier: Identifier referencing a card configuration registered by developers. Returns empty string if no identifier is set.
func (*PKIdentityDocumentMetadata) CardTemplateIdentifier ¶
func (o *PKIdentityDocumentMetadata) CardTemplateIdentifier() *foundation.NSString
cardTemplateIdentifier: Identifier referencing a card template registered by developers in web portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName. Returns empty string if no identifier is set.
func (*PKIdentityDocumentMetadata) CredentialIdentifier ¶
func (o *PKIdentityDocumentMetadata) CredentialIdentifier() *foundation.NSString
credentialIdentifier: A unique identifier for provisioning credential data.
func (*PKIdentityDocumentMetadata) DocumentType ¶
func (o *PKIdentityDocumentMetadata) DocumentType() PKAddIdentityDocumentType
identityDocumentType: identifies the type of the identity document
func (*PKIdentityDocumentMetadata) IssuingCountryCode ¶
func (o *PKIdentityDocumentMetadata) IssuingCountryCode() *foundation.NSString
issuingCountryCode: identifies the issuing country of the identity document
func (*PKIdentityDocumentMetadata) ServerEnvironmentIdentifier ¶
func (o *PKIdentityDocumentMetadata) ServerEnvironmentIdentifier() *foundation.NSString
serverEnvironmentIdentifier: Identifier referencing the target server environment Apple Pay servers should reach out to to provision this pass. If not present, the default Apply Pay server environment will be used and an empty string will be returned.
func (*PKIdentityDocumentMetadata) SetServerEnvironmentIdentifier ¶
func (o *PKIdentityDocumentMetadata) SetServerEnvironmentIdentifier(serverEnvironmentIdentifier *foundation.NSString)
func (*PKIdentityDocumentMetadata) SharingInstanceIdentifier ¶
func (o *PKIdentityDocumentMetadata) SharingInstanceIdentifier() *foundation.NSString
sharingInstanceIdentifier: A unique identifier that refers to an instance of sharing of credentials to a user's device initiated from another user, device, or web.
type PKInstantFundsOutFeeSummaryItem ¶
type PKInstantFundsOutFeeSummaryItem struct {
PKPaymentSummaryItem
}
A summary item that represents a fee for an instant funds out transfer.
Apple documentation: https://developer.apple.com/documentation/passkit/pkinstantfundsoutfeesummaryitem
func PKInstantFundsOutFeeSummaryItemFromID ¶
func PKInstantFundsOutFeeSummaryItemFromID(id objc.ID) *PKInstantFundsOutFeeSummaryItem
type PKIssuerProvisioningExtensionPassEntry ¶
type PKIssuerProvisioningExtensionPassEntry struct {
foundation.NSObject
}
An object that represents an item available to add to as a Wallet pass.
Apple documentation: https://developer.apple.com/documentation/passkit/pkissuerprovisioningextensionpassentry
func PKIssuerProvisioningExtensionPassEntryFromID ¶
func PKIssuerProvisioningExtensionPassEntryFromID(id objc.ID) *PKIssuerProvisioningExtensionPassEntry
func (*PKIssuerProvisioningExtensionPassEntry) Art ¶
func (o *PKIssuerProvisioningExtensionPassEntry) Art() unsafe.Pointer
func (*PKIssuerProvisioningExtensionPassEntry) Identifier ¶
func (o *PKIssuerProvisioningExtensionPassEntry) Identifier() *foundation.NSString
func (*PKIssuerProvisioningExtensionPassEntry) Title ¶
func (o *PKIssuerProvisioningExtensionPassEntry) Title() *foundation.NSString
type PKIssuerProvisioningExtensionPaymentPassEntry ¶
type PKIssuerProvisioningExtensionPaymentPassEntry struct {
PKIssuerProvisioningExtensionPassEntry
}
An object that represents a payment card available to add as a payment pass.
Apple documentation: https://developer.apple.com/documentation/passkit/pkissuerprovisioningextensionpaymentpassentry
func PKIssuerProvisioningExtensionPaymentPassEntryFromID ¶
func PKIssuerProvisioningExtensionPaymentPassEntryFromID(id objc.ID) *PKIssuerProvisioningExtensionPaymentPassEntry
func (*PKIssuerProvisioningExtensionPaymentPassEntry) AddRequestConfiguration ¶
func (o *PKIssuerProvisioningExtensionPaymentPassEntry) AddRequestConfiguration() *PKAddPaymentPassRequestConfiguration
func (*PKIssuerProvisioningExtensionPaymentPassEntry) InitWithIdentifierTitleArtAddRequestConfiguration ¶
func (o *PKIssuerProvisioningExtensionPaymentPassEntry) InitWithIdentifierTitleArtAddRequestConfiguration(identifier *foundation.NSString, title *foundation.NSString, art unsafe.Pointer, configuration *PKAddPaymentPassRequestConfiguration) *PKIssuerProvisioningExtensionPaymentPassEntry
Creates a new entry for a payment pass that a user adds to Wallet.
type PKIssuerProvisioningExtensionStatus ¶
type PKIssuerProvisioningExtensionStatus struct {
foundation.NSObject
}
An object that indicates whether there are any payment cards available to add as Wallet passes.
Apple documentation: https://developer.apple.com/documentation/passkit/pkissuerprovisioningextensionstatus
func PKIssuerProvisioningExtensionStatusFromID ¶
func PKIssuerProvisioningExtensionStatusFromID(id objc.ID) *PKIssuerProvisioningExtensionStatus
func (*PKIssuerProvisioningExtensionStatus) Init ¶
func (o *PKIssuerProvisioningExtensionStatus) Init() *PKIssuerProvisioningExtensionStatus
Creates a new extension-handler status object.
func (*PKIssuerProvisioningExtensionStatus) PassEntriesAvailable ¶
func (o *PKIssuerProvisioningExtensionStatus) PassEntriesAvailable() bool
func (*PKIssuerProvisioningExtensionStatus) RemotePassEntriesAvailable ¶
func (o *PKIssuerProvisioningExtensionStatus) RemotePassEntriesAvailable() bool
func (*PKIssuerProvisioningExtensionStatus) RequiresAuthentication ¶
func (o *PKIssuerProvisioningExtensionStatus) RequiresAuthentication() bool
func (*PKIssuerProvisioningExtensionStatus) SetPassEntriesAvailable ¶
func (o *PKIssuerProvisioningExtensionStatus) SetPassEntriesAvailable(passEntriesAvailable bool)
func (*PKIssuerProvisioningExtensionStatus) SetRemotePassEntriesAvailable ¶
func (o *PKIssuerProvisioningExtensionStatus) SetRemotePassEntriesAvailable(remotePassEntriesAvailable bool)
func (*PKIssuerProvisioningExtensionStatus) SetRequiresAuthentication ¶
func (o *PKIssuerProvisioningExtensionStatus) SetRequiresAuthentication(requiresAuthentication bool)
type PKJapanIndividualNumberCardMetadata ¶
type PKJapanIndividualNumberCardMetadata struct {
PKIdentityDocumentMetadata
}
A class that contains metadata indicating the specific product instance to provision.
Apple documentation: https://developer.apple.com/documentation/passkit/pkjapanindividualnumbercardmetadata
func PKJapanIndividualNumberCardMetadataFromID ¶
func PKJapanIndividualNumberCardMetadataFromID(id objc.ID) *PKJapanIndividualNumberCardMetadata
func (*PKJapanIndividualNumberCardMetadata) AuthenticationPassword ¶
func (o *PKJapanIndividualNumberCardMetadata) AuthenticationPassword() *foundation.NSString
Raw authentication password used to protect authentication functionality. If configured in the pass, this functionality allows users to present their identity credentials to external parties.
func (*PKJapanIndividualNumberCardMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview ¶
func (o *PKJapanIndividualNumberCardMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview(credentialIdentifier *foundation.NSString, sharingInstanceIdentifier *foundation.NSString, cardConfigurationIdentifier *foundation.NSString, preview *PKAddPassMetadataPreview) *PKJapanIndividualNumberCardMetadata
Initializes the user instance for provisioning.
func (*PKJapanIndividualNumberCardMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview ¶
func (o *PKJapanIndividualNumberCardMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview(credentialIdentifier *foundation.NSString, sharingInstanceIdentifier *foundation.NSString, templateIdentifier *foundation.NSString, preview *PKAddPassMetadataPreview) *PKJapanIndividualNumberCardMetadata
Creates the product instance to provision.
func (*PKJapanIndividualNumberCardMetadata) Preview ¶
func (o *PKJapanIndividualNumberCardMetadata) Preview() *PKAddPassMetadataPreview
preview: A preview object containing the necessary information to represent the pass during provisioning.
func (*PKJapanIndividualNumberCardMetadata) SetAuthenticationPassword ¶
func (o *PKJapanIndividualNumberCardMetadata) SetAuthenticationPassword(authenticationPassword *foundation.NSString)
func (*PKJapanIndividualNumberCardMetadata) SetPreview ¶
func (o *PKJapanIndividualNumberCardMetadata) SetPreview(preview *PKAddPassMetadataPreview)
func (*PKJapanIndividualNumberCardMetadata) SetSigningPassword ¶
func (o *PKJapanIndividualNumberCardMetadata) SetSigningPassword(signingPassword *foundation.NSString)
func (*PKJapanIndividualNumberCardMetadata) SigningPassword ¶
func (o *PKJapanIndividualNumberCardMetadata) SigningPassword() *foundation.NSString
Raw signing password used to protect signing functionality. If configured in the pass, this functionality allows users to digitally sign with external parties or print officially signed documents.
type PKLabeledValue ¶
type PKLabeledValue struct {
foundation.NSObject
}
An object that can represent a detail about a payment card or other item.
Apple documentation: https://developer.apple.com/documentation/passkit/pklabeledvalue
func PKLabeledValueFromID ¶
func PKLabeledValueFromID(id objc.ID) *PKLabeledValue
func (*PKLabeledValue) InitWithLabelValue ¶
func (o *PKLabeledValue) InitWithLabelValue(label *foundation.NSString, value *foundation.NSString) *PKLabeledValue
Instantiates a new labeled value object with the specified label and value strings.
func (*PKLabeledValue) Label ¶
func (o *PKLabeledValue) Label() *foundation.NSString
func (*PKLabeledValue) Value ¶
func (o *PKLabeledValue) Value() *foundation.NSString
type PKMerchantCapability ¶
type PKMerchantCapability uint64
Capabilities for processing payment.
const ( // Support for the 3-D Secure protocol. PKMerchantCapability3DS PKMerchantCapability = 1 // Support for the EMV protocol. PKMerchantCapabilityEMV PKMerchantCapability = 2 // Support for credit cards. PKMerchantCapabilityCredit PKMerchantCapability = 4 // Support for debit cards. PKMerchantCapabilityDebit PKMerchantCapability = 8 // The value that indicates the merchant supports disbursing funds using Instant Funds Out. PKMerchantCapabilityInstantFundsOut PKMerchantCapability = 128 )
func (PKMerchantCapability) String ¶
func (e PKMerchantCapability) String() string
type PKPass ¶
type PKPass struct {
// contains filtered or unexported fields
}
An object that represents a single pass.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpass
func PKPassFromID ¶
func (*PKPass) AuthenticationToken ¶
func (o *PKPass) AuthenticationToken() *foundation.NSString
func (*PKPass) DeviceName ¶
func (o *PKPass) DeviceName() *foundation.NSString
func (*PKPass) InitWithDataError ¶
func (o *PKPass) InitWithDataError(data *foundation.NSData) (*PKPass, error)
Creates a pass using the data you provide.
func (*PKPass) IsRemotePass ¶
func (*PKPass) LocalizedDescription ¶
func (o *PKPass) LocalizedDescription() *foundation.NSString
func (*PKPass) LocalizedName ¶
func (o *PKPass) LocalizedName() *foundation.NSString
func (*PKPass) LocalizedValueForFieldKey ¶
func (o *PKPass) LocalizedValueForFieldKey(key *foundation.NSString) objc.ID
Returns the localized value for a specified field of the pass.
func (*PKPass) OrganizationName ¶
func (o *PKPass) OrganizationName() *foundation.NSString
func (*PKPass) PassType ¶
func (o *PKPass) PassType() PKPassType
func (*PKPass) PassTypeIdentifier ¶
func (o *PKPass) PassTypeIdentifier() *foundation.NSString
func (*PKPass) PassURL ¶
func (o *PKPass) PassURL() *foundation.NSURL
func (*PKPass) PaymentPass
deprecated
func (o *PKPass) PaymentPass() *PKPaymentPass
Deprecated: Use -[PKPass secureElementPass] instead
func (*PKPass) RelevantDate
deprecated
func (o *PKPass) RelevantDate() *foundation.NSDate
Deprecated: Use relevantDates
func (*PKPass) RelevantDates ¶
func (o *PKPass) RelevantDates() *foundation.NSArray[*PKPassRelevantDate]
func (*PKPass) SecureElementPass ¶
func (o *PKPass) SecureElementPass() *PKSecureElementPass
func (*PKPass) SerialNumber ¶
func (o *PKPass) SerialNumber() *foundation.NSString
func (*PKPass) UserInfo ¶
func (o *PKPass) UserInfo() *foundation.NSDictionary[objc.ID, objc.ID]
func (*PKPass) WebServiceURL ¶
func (o *PKPass) WebServiceURL() *foundation.NSURL
type PKPassKitErrorCode ¶
type PKPassKitErrorCode int64
Errors that the PassKit framework uses.
const ( PKUnknownError PKPassKitErrorCode = -1 PKInvalidDataError PKPassKitErrorCode = 1 PKUnsupportedVersionError PKPassKitErrorCode = 2 PKInvalidSignature PKPassKitErrorCode = 3 PKNotEntitledError PKPassKitErrorCode = 4 )
func (PKPassKitErrorCode) String ¶
func (e PKPassKitErrorCode) String() string
type PKPassLibrary ¶
type PKPassLibrary struct {
foundation.NSObject
}
Provides an interface to the user’s library of passes.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpasslibrary
func PKPassLibraryFromID ¶
func PKPassLibraryFromID(id objc.ID) *PKPassLibrary
func (*PKPassLibrary) ActivatePaymentPassWithActivationCodeCompletion ¶
func (o *PKPassLibrary) ActivatePaymentPassWithActivationCodeCompletion(paymentPass *PKPaymentPass, activationCode *foundation.NSString, completion func(bool, unsafe.Pointer))
func (*PKPassLibrary) ActivatePaymentPassWithActivationDataCompletion ¶
func (o *PKPassLibrary) ActivatePaymentPassWithActivationDataCompletion(paymentPass *PKPaymentPass, activationData *foundation.NSData, completion func(bool, unsafe.Pointer))
func (*PKPassLibrary) ActivateSecureElementPassWithActivationDataCompletion ¶
func (o *PKPassLibrary) ActivateSecureElementPassWithActivationDataCompletion(secureElementPass *PKSecureElementPass, activationData *foundation.NSData, completion func(bool, unsafe.Pointer))
Activates a Secure Element pass using the specified data.
func (*PKPassLibrary) AddPassesWithCompletionHandler ¶
func (o *PKPassLibrary) AddPassesWithCompletionHandler(passes *foundation.NSArray[*PKPass], completion func(PKPassLibraryAddPassesStatus))
Presents a user interface for adding multiple passes at once.
func (*PKPassLibrary) AuthorizationStatusForCapability ¶
func (o *PKPassLibrary) AuthorizationStatusForCapability(capability PKPassLibraryCapability) PKPassLibraryAuthorizationStatus
func (*PKPassLibrary) CanAddFelicaPass ¶
func (o *PKPassLibrary) CanAddFelicaPass() bool
Returns a Boolean value that indicates whether the library can add FeliCa™ passes.
func (*PKPassLibrary) CanAddPaymentPassWithPrimaryAccountIdentifier ¶
func (o *PKPassLibrary) CanAddPaymentPassWithPrimaryAccountIdentifier(primaryAccountIdentifier *foundation.NSString) bool
func (*PKPassLibrary) CanAddSecureElementPassWithPrimaryAccountIdentifier ¶
func (o *PKPassLibrary) CanAddSecureElementPassWithPrimaryAccountIdentifier(primaryAccountIdentifier *foundation.NSString) bool
Returns a Boolean value that indicates whether PassKit can add a Secure Element pass for the specified account.
func (*PKPassLibrary) ContainsPass ¶
func (o *PKPassLibrary) ContainsPass(pass *PKPass) bool
Returns a Boolean value that indicates whether the user’s pass library contains the specified pass.
func (*PKPassLibrary) EncryptedServiceProviderDataForSecureElementPassCompletion ¶
func (o *PKPassLibrary) EncryptedServiceProviderDataForSecureElementPassCompletion(secureElementPass *PKSecureElementPass, completion func(*foundation.NSDictionary[objc.ID, objc.ID], unsafe.Pointer))
func (*PKPassLibrary) IsPaymentPassActivationAvailable ¶
func (o *PKPassLibrary) IsPaymentPassActivationAvailable() bool
func (*PKPassLibrary) IsSecureElementPassActivationAvailable ¶
func (o *PKPassLibrary) IsSecureElementPassActivationAvailable() bool
func (*PKPassLibrary) OpenPaymentSetup ¶
func (o *PKPassLibrary) OpenPaymentSetup()
Opens the user interface to set up credit cards for Apple Pay.
func (*PKPassLibrary) OpenPaymentSetupWithMerchantIdentifier ¶
func (o *PKPassLibrary) OpenPaymentSetupWithMerchantIdentifier(merchantIdentifier *foundation.NSString)
func (*PKPassLibrary) PassWithPassTypeIdentifierSerialNumber ¶
func (o *PKPassLibrary) PassWithPassTypeIdentifierSerialNumber(identifier *foundation.NSString, serialNumber *foundation.NSString) *PKPass
Returns the pass with the specified pass type identifier and serial number.
func (*PKPassLibrary) Passes ¶
func (o *PKPassLibrary) Passes() *foundation.NSArray[*PKPass]
Returns the passes in the user’s pass library that the app can access.
func (*PKPassLibrary) PassesOfType ¶
func (o *PKPassLibrary) PassesOfType(passType PKPassType) *foundation.NSArray[*PKPass]
Returns the passes of the specified pass type.
func (*PKPassLibrary) PassesWithReaderIdentifier ¶
func (o *PKPassLibrary) PassesWithReaderIdentifier(readerIdentifier *foundation.NSString) *foundation.NSSet[*PKSecureElementPass]
func (*PKPassLibrary) PresentPaymentPass ¶
func (o *PKPassLibrary) PresentPaymentPass(pass *PKPaymentPass)
func (*PKPassLibrary) PresentSecureElementPass ¶
func (o *PKPassLibrary) PresentSecureElementPass(pass *PKSecureElementPass)
Presents a Secure Element pass.
func (*PKPassLibrary) RemotePaymentPasses ¶
func (o *PKPassLibrary) RemotePaymentPasses() *foundation.NSArray[*PKPaymentPass]
func (*PKPassLibrary) RemoteSecureElementPasses ¶
func (o *PKPassLibrary) RemoteSecureElementPasses() *foundation.NSArray[*PKSecureElementPass]
func (*PKPassLibrary) RemovePass ¶
func (o *PKPassLibrary) RemovePass(pass *PKPass)
Removes the pass from the user’s pass library.
func (*PKPassLibrary) ReplacePassWithPass ¶
func (o *PKPassLibrary) ReplacePassWithPass(pass *PKPass) bool
Replaces a pass in the user’s pass library with the specified pass.
func (*PKPassLibrary) RequestAuthorizationForCapabilityCompletion ¶
func (o *PKPassLibrary) RequestAuthorizationForCapabilityCompletion(capability PKPassLibraryCapability, completion func(PKPassLibraryAuthorizationStatus))
func (*PKPassLibrary) ServiceProviderDataForSecureElementPassCompletion ¶
func (o *PKPassLibrary) ServiceProviderDataForSecureElementPassCompletion(secureElementPass *PKSecureElementPass, completion func(*foundation.NSData, unsafe.Pointer))
Calls a completion handler that returns the custom data for a Secure Element pass.
func (*PKPassLibrary) SignDataWithSecureElementPassCompletion ¶
func (o *PKPassLibrary) SignDataWithSecureElementPassCompletion(signData *foundation.NSData, secureElementPass *PKSecureElementPass, completion func(*foundation.NSData, *foundation.NSData, unsafe.Pointer))
Signs an opaque value using a cryptographic signature.
type PKPassLibraryAddPassesStatus ¶
type PKPassLibraryAddPassesStatus int64
Statuses that PassKit uses when it adds passes to the pass library.
const ( // A status that occurs when the user successfully adds one or more passes. PKPassLibraryDidAddPasses PKPassLibraryAddPassesStatus = 0 // A status that occurs when the app prompts the user to review the passes. PKPassLibraryShouldReviewPasses PKPassLibraryAddPassesStatus = 1 // A status that occurs when the user cancels the addition of passes. PKPassLibraryDidCancelAddPasses PKPassLibraryAddPassesStatus = 2 )
func (PKPassLibraryAddPassesStatus) String ¶
func (e PKPassLibraryAddPassesStatus) String() string
type PKPassLibraryAuthorizationStatus ¶
type PKPassLibraryAuthorizationStatus int64
const ( PKPassLibraryAuthorizationStatusNotDetermined PKPassLibraryAuthorizationStatus = -1 PKPassLibraryAuthorizationStatusDenied PKPassLibraryAuthorizationStatus = 0 PKPassLibraryAuthorizationStatusAuthorized PKPassLibraryAuthorizationStatus = 1 PKPassLibraryAuthorizationStatusRestricted PKPassLibraryAuthorizationStatus = 2 )
func (PKPassLibraryAuthorizationStatus) String ¶
func (e PKPassLibraryAuthorizationStatus) String() string
type PKPassLibraryCapability ¶
type PKPassLibraryCapability int64
const (
PKPassLibraryCapabilityBackgroundAddPasses PKPassLibraryCapability = 0
)
func (PKPassLibraryCapability) String ¶
func (e PKPassLibraryCapability) String() string
type PKPassRelevantDate ¶
type PKPassRelevantDate struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/passkit/pkpassrelevantdate
func PKPassRelevantDateFromID ¶
func PKPassRelevantDateFromID(id objc.ID) *PKPassRelevantDate
func (*PKPassRelevantDate) Date ¶
func (o *PKPassRelevantDate) Date() *foundation.NSDate
func (*PKPassRelevantDate) Interval ¶
func (o *PKPassRelevantDate) Interval() *foundation.NSDateInterval
type PKPassType ¶
type PKPassType uint64
Types of passes.
const ( // A pass that represents a barcode. PKPassTypeBarcode PKPassType = 0 // A pass that represents a credential that the device stores in the Secure Element. PKPassTypeSecureElement PKPassType = 1 // A pass that represents a credit or debit card PKPassTypePayment PKPassType = 1 // A nonspecific pass type. PKPassTypeAny PKPassType = 18446744073709551615 )
func (PKPassType) String ¶
func (e PKPassType) String() string
type PKPayment ¶
type PKPayment struct {
foundation.NSObject
}
Represents the result of authorizing a payment request and contains payment information, encrypted in the payment token.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpayment
func PKPaymentFromID ¶
func (*PKPayment) BillingContact ¶
func (*PKPayment) ShippingContact ¶
func (*PKPayment) ShippingMethod ¶
func (o *PKPayment) ShippingMethod() *PKShippingMethod
func (*PKPayment) Token ¶
func (o *PKPayment) Token() *PKPaymentToken
type PKPaymentAuthorizationController ¶
type PKPaymentAuthorizationController struct {
foundation.NSObject
}
An object that presents a sheet that prompts the user to authorize a payment request.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentauthorizationcontroller
func PKPaymentAuthorizationControllerFromID ¶
func PKPaymentAuthorizationControllerFromID(id objc.ID) *PKPaymentAuthorizationController
func (*PKPaymentAuthorizationController) Delegate ¶
func (o *PKPaymentAuthorizationController) Delegate() PKPaymentAuthorizationControllerDelegate
func (*PKPaymentAuthorizationController) DismissWithCompletion ¶
func (o *PKPaymentAuthorizationController) DismissWithCompletion(completion func())
Dismisses the payment sheet.
func (*PKPaymentAuthorizationController) InitWithDisbursementRequest ¶
func (o *PKPaymentAuthorizationController) InitWithDisbursementRequest(request *PKDisbursementRequest) *PKPaymentAuthorizationController
Creates a new payment authorization controller with the disbursement request you provide.
func (*PKPaymentAuthorizationController) InitWithPaymentRequest ¶
func (o *PKPaymentAuthorizationController) InitWithPaymentRequest(request *PKPaymentRequest) *PKPaymentAuthorizationController
Initializes and returns a payment authorization controller.
func (*PKPaymentAuthorizationController) PresentWithCompletion ¶
func (o *PKPaymentAuthorizationController) PresentWithCompletion(completion func(bool))
Presents the payment sheet modally over your app.
func (*PKPaymentAuthorizationController) SetDelegate ¶
func (o *PKPaymentAuthorizationController) SetDelegate(delegate PKPaymentAuthorizationControllerDelegate)
type PKPaymentAuthorizationControllerDelegate ¶
type PKPaymentAuthorizationControllerDelegate interface {
PaymentAuthorizationControllerDidFinish(controller *PKPaymentAuthorizationController)
PresentationWindowForPaymentAuthorizationController(controller *PKPaymentAuthorizationController) *appkit.NSWindow
}
PKPaymentAuthorizationControllerDelegate wraps the ObjC protocol PKPaymentAuthorizationControllerDelegate.
type PKPaymentAuthorizationResult ¶
type PKPaymentAuthorizationResult struct {
foundation.NSObject
}
An object that reports the status code and errors for a payment authorization request.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentauthorizationresult
func PKPaymentAuthorizationResultFromID ¶
func PKPaymentAuthorizationResultFromID(id objc.ID) *PKPaymentAuthorizationResult
func (*PKPaymentAuthorizationResult) Errors ¶
func (o *PKPaymentAuthorizationResult) Errors() *foundation.NSArray[objc.ID]
func (*PKPaymentAuthorizationResult) InitWithStatusErrors ¶
func (o *PKPaymentAuthorizationResult) InitWithStatusErrors(status PKPaymentAuthorizationStatus) (*PKPaymentAuthorizationResult, error)
Initializes the result with the status code and list of errors.
func (*PKPaymentAuthorizationResult) OrderDetails ¶
func (o *PKPaymentAuthorizationResult) OrderDetails() *PKPaymentOrderDetails
func (*PKPaymentAuthorizationResult) SetErrors ¶
func (o *PKPaymentAuthorizationResult) SetErrors() error
func (*PKPaymentAuthorizationResult) SetOrderDetails ¶
func (o *PKPaymentAuthorizationResult) SetOrderDetails(orderDetails *PKPaymentOrderDetails)
func (*PKPaymentAuthorizationResult) SetStatus ¶
func (o *PKPaymentAuthorizationResult) SetStatus(status PKPaymentAuthorizationStatus)
func (*PKPaymentAuthorizationResult) Status ¶
func (o *PKPaymentAuthorizationResult) Status() PKPaymentAuthorizationStatus
type PKPaymentAuthorizationStatus ¶
type PKPaymentAuthorizationStatus int64
General success and failure status for payment authorization.
const ( // Merchant successfully authorized the transaction, or the transaction is expected to succeed. PKPaymentAuthorizationStatusSuccess PKPaymentAuthorizationStatus = 0 // Merchant failed to authorize the transaction. PKPaymentAuthorizationStatusFailure PKPaymentAuthorizationStatus = 1 // Invalid or unusable billing address. PKPaymentAuthorizationStatusInvalidBillingPostalAddress PKPaymentAuthorizationStatus = 2 // Invalid or unusable shipping address. PKPaymentAuthorizationStatusInvalidShippingPostalAddress PKPaymentAuthorizationStatus = 3 // Invalid or incomplete shipping contact. PKPaymentAuthorizationStatusInvalidShippingContact PKPaymentAuthorizationStatus = 4 // Transaction requires PIN entry. PKPaymentAuthorizationStatusPINRequired PKPaymentAuthorizationStatus = 5 // Incorrect PIN entered. PKPaymentAuthorizationStatusPINIncorrect PKPaymentAuthorizationStatus = 6 // PIN retry limit exceeded. PKPaymentAuthorizationStatusPINLockout PKPaymentAuthorizationStatus = 7 )
func (PKPaymentAuthorizationStatus) String ¶
func (e PKPaymentAuthorizationStatus) String() string
type PKPaymentAuthorizationViewController ¶
type PKPaymentAuthorizationViewController struct {
appkit.NSViewController
}
An object that presents a sheet that prompts the user to authorize a payment request.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentauthorizationviewcontroller
func PKPaymentAuthorizationViewControllerFromID ¶
func PKPaymentAuthorizationViewControllerFromID(id objc.ID) *PKPaymentAuthorizationViewController
func (*PKPaymentAuthorizationViewController) Delegate ¶
func (o *PKPaymentAuthorizationViewController) Delegate() PKPaymentAuthorizationViewControllerDelegate
func (*PKPaymentAuthorizationViewController) InitWithDisbursementRequest ¶
func (o *PKPaymentAuthorizationViewController) InitWithDisbursementRequest(request *PKDisbursementRequest) *PKPaymentAuthorizationViewController
Initializes and returns a new payment authorization view controller with the provided disbursement request.
func (*PKPaymentAuthorizationViewController) InitWithPaymentRequest ¶
func (o *PKPaymentAuthorizationViewController) InitWithPaymentRequest(request *PKPaymentRequest) *PKPaymentAuthorizationViewController
Initializes and returns a payment authorization view controller.
func (*PKPaymentAuthorizationViewController) SetDelegate ¶
func (o *PKPaymentAuthorizationViewController) SetDelegate(delegate PKPaymentAuthorizationViewControllerDelegate)
type PKPaymentAuthorizationViewControllerDelegate ¶
type PKPaymentAuthorizationViewControllerDelegate interface {
PaymentAuthorizationViewControllerDidFinish(controller *PKPaymentAuthorizationViewController)
}
PKPaymentAuthorizationViewControllerDelegate wraps the ObjC protocol PKPaymentAuthorizationViewControllerDelegate.
type PKPaymentButton ¶
An object that displays a button either to trigger payments through Apple Pay or to prompt the user to set up a card.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentbutton
func PKPaymentButtonButtonWithTypeStyle ¶
func PKPaymentButtonButtonWithTypeStyle(buttonType PKPaymentButtonType, buttonStyle PKPaymentButtonStyle) *PKPaymentButton
Creates a new payment button with the specified type and style.
func PKPaymentButtonFromID ¶
func PKPaymentButtonFromID(id objc.ID) *PKPaymentButton
func (*PKPaymentButton) CornerRadius ¶
func (o *PKPaymentButton) CornerRadius() float64
func (*PKPaymentButton) InitWithPaymentButtonTypePaymentButtonStyle ¶
func (o *PKPaymentButton) InitWithPaymentButtonTypePaymentButtonStyle(type_ PKPaymentButtonType, style PKPaymentButtonStyle) *PKPaymentButton
Creates a new payment button with the specified type and style.
func (*PKPaymentButton) SetCornerRadius ¶
func (o *PKPaymentButton) SetCornerRadius(cornerRadius float64)
type PKPaymentButtonStyle ¶
type PKPaymentButtonStyle int64
A type that indicates the available appearances for an Apple Pay button.
const ( // A white button with black lettering. PKPaymentButtonStyleWhite PKPaymentButtonStyle = 0 // A white button with black lettering and a black outline. PKPaymentButtonStyleWhiteOutline PKPaymentButtonStyle = 1 // A black button with white lettering. PKPaymentButtonStyleBlack PKPaymentButtonStyle = 2 // A button that automatically changes its appearance when the user switches between Light Mode and Dark Mode. PKPaymentButtonStyleAutomatic PKPaymentButtonStyle = 3 )
func (PKPaymentButtonStyle) String ¶
func (e PKPaymentButtonStyle) String() string
type PKPaymentButtonType ¶
type PKPaymentButtonType int64
The Apple Pay button types you can display to initiate Apple Pay transactions.
const ( // An Apple Pay button with the Apple Pay logo only, useful when an additional call to action isn’t needed. PKPaymentButtonTypePlain PKPaymentButtonType = 0 // An Apple Pay button useful for product purchases. PKPaymentButtonTypeBuy PKPaymentButtonType = 1 // An Apple Pay button useful for prompting the user to set up a card. PKPaymentButtonTypeSetUp PKPaymentButtonType = 2 // An Apple Pay button useful for paying bills or invoices. PKPaymentButtonTypeInStore PKPaymentButtonType = 3 // An Apple Pay button used by approved nonprofit organization that lets people make donations. PKPaymentButtonTypeDonate PKPaymentButtonType = 4 // An Apple Pay button useful for purchase experiences that include other payment buttons that start with “Check out”. PKPaymentButtonTypeCheckout PKPaymentButtonType = 5 // An Apple Pay button useful for booking trips, flights, or other experiences. PKPaymentButtonTypeBook PKPaymentButtonType = 6 // An Apple Pay button useful for purchasing a subscription such as a gym membership or meal-kit delivery service. PKPaymentButtonTypeSubscribe PKPaymentButtonType = 7 // An Apple Pay button useful for adding money to a card, account, or payment system. PKPaymentButtonTypeReload PKPaymentButtonType = 8 // An Apple Pay button useful for adding money to a card, account, or payment system. PKPaymentButtonTypeAddMoney PKPaymentButtonType = 9 // An Apple Pay button useful for adding money to a card, account, or payment system. PKPaymentButtonTypeTopUp PKPaymentButtonType = 10 // An Apple Pay button useful for placing orders for such as like meals or flowers. PKPaymentButtonTypeOrder PKPaymentButtonType = 11 // An Apple Pay button useful for renting items such as cars or scooters. PKPaymentButtonTypeRent PKPaymentButtonType = 12 // An Apple Pay button useful supporting people give money to projects, causes, organizations, and other entities. PKPaymentButtonTypeSupport PKPaymentButtonType = 13 // An Apple Pay button useful to help people contribute money to projects, causes, organizations, and other entities. PKPaymentButtonTypeContribute PKPaymentButtonType = 14 // An Apple Pay button useful useful for letting people tip for goods or services. PKPaymentButtonTypeTip PKPaymentButtonType = 15 // An Apple Pay button useful for general purchases. PKPaymentButtonTypeContinue PKPaymentButtonType = 16 )
func (PKPaymentButtonType) String ¶
func (e PKPaymentButtonType) String() string
type PKPaymentErrorCode ¶
type PKPaymentErrorCode int64
An error code that you provide to indicate problems with address or contact information on an Apple Pay sheet.
const ( PKPaymentUnknownError PKPaymentErrorCode = -1 PKPaymentShippingContactInvalidError PKPaymentErrorCode = 1 PKPaymentBillingContactInvalidError PKPaymentErrorCode = 2 PKPaymentShippingAddressUnserviceableError PKPaymentErrorCode = 3 PKPaymentCouponCodeInvalidError PKPaymentErrorCode = 4 PKPaymentCouponCodeExpiredError PKPaymentErrorCode = 5 )
func (PKPaymentErrorCode) String ¶
func (e PKPaymentErrorCode) String() string
type PKPaymentInformationEventExtension ¶
type PKPaymentInformationEventExtension struct {
foundation.NSObject
}
An abstract superclass for an extension to collect payment information and sign transaction data in a QR code purchase.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentinformationeventextension
func PKPaymentInformationEventExtensionFromID ¶
func PKPaymentInformationEventExtensionFromID(id objc.ID) *PKPaymentInformationEventExtension
type PKPaymentInformationRequestHandling ¶
type PKPaymentInformationRequestHandling interface {
HandleInformationRequestCompletion(infoRequest *PKBarcodeEventMetadataRequest, completion func(*PKBarcodeEventMetadataResponse))
HandleSignatureRequestCompletion(signatureRequest *PKBarcodeEventSignatureRequest, completion func(*PKBarcodeEventSignatureResponse))
HandleConfigurationRequestCompletion(configurationRequest *PKBarcodeEventConfigurationRequest, completion func())
}
PKPaymentInformationRequestHandling wraps the ObjC protocol PKPaymentInformationRequestHandling.
type PKPaymentMerchantSession ¶
type PKPaymentMerchantSession struct {
foundation.NSObject
}
An object that validates the identity of a merchant for a payment request.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentmerchantsession
func PKPaymentMerchantSessionFromID ¶
func PKPaymentMerchantSessionFromID(id objc.ID) *PKPaymentMerchantSession
func (*PKPaymentMerchantSession) InitWithDictionary ¶
func (o *PKPaymentMerchantSession) InitWithDictionary(dictionary *foundation.NSDictionary[objc.ID, objc.ID]) *PKPaymentMerchantSession
Creates an object that validates the identity of a merchant for a payment request.
type PKPaymentMethod ¶
type PKPaymentMethod struct {
foundation.NSObject
}
An object that contains information about payment methods.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentmethod
func PKPaymentMethodFromID ¶
func PKPaymentMethodFromID(id objc.ID) *PKPaymentMethod
func (*PKPaymentMethod) BillingAddress ¶
func (o *PKPaymentMethod) BillingAddress() *contacts.CNContact
func (*PKPaymentMethod) DisplayName ¶
func (o *PKPaymentMethod) DisplayName() *foundation.NSString
func (*PKPaymentMethod) Network ¶
func (o *PKPaymentMethod) Network() *foundation.NSString
func (*PKPaymentMethod) PaymentPass
deprecated
func (o *PKPaymentMethod) PaymentPass() *PKPaymentPass
Deprecated: Use -[PKPass secureElementPass] instead
func (*PKPaymentMethod) SecureElementPass ¶
func (o *PKPaymentMethod) SecureElementPass() *PKSecureElementPass
func (*PKPaymentMethod) Type ¶
func (o *PKPaymentMethod) Type() PKPaymentMethodType
type PKPaymentMethodType ¶
type PKPaymentMethodType uint64
The type of cards available in Apple Pay.
const ( // The card’s type is unknown. PKPaymentMethodTypeUnknown PKPaymentMethodType = 0 // A debit card. PKPaymentMethodTypeDebit PKPaymentMethodType = 1 // A credit card. PKPaymentMethodTypeCredit PKPaymentMethodType = 2 // A prepaid card. PKPaymentMethodTypePrepaid PKPaymentMethodType = 3 // A store card. PKPaymentMethodTypeStore PKPaymentMethodType = 4 // An electronic money card. PKPaymentMethodTypeEMoney PKPaymentMethodType = 5 )
func (PKPaymentMethodType) String ¶
func (e PKPaymentMethodType) String() string
type PKPaymentOrderDetails ¶
type PKPaymentOrderDetails struct {
foundation.NSObject
}
Optional metadata with payment order details for the placed order.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentorderdetails
func PKPaymentOrderDetailsFromID ¶
func PKPaymentOrderDetailsFromID(id objc.ID) *PKPaymentOrderDetails
func (*PKPaymentOrderDetails) AuthenticationToken ¶
func (o *PKPaymentOrderDetails) AuthenticationToken() *foundation.NSString
func (*PKPaymentOrderDetails) InitWithOrderTypeIdentifierOrderIdentifierWebServiceURLAuthenticationToken ¶
func (o *PKPaymentOrderDetails) InitWithOrderTypeIdentifierOrderIdentifierWebServiceURLAuthenticationToken(orderTypeIdentifier *foundation.NSString, orderIdentifier *foundation.NSString, webServiceURL *foundation.NSURL, authenticationToken *foundation.NSString) *PKPaymentOrderDetails
Initializes a payment order details object with the identifier, web service URL, and authentication token you provide.
func (*PKPaymentOrderDetails) OrderIdentifier ¶
func (o *PKPaymentOrderDetails) OrderIdentifier() *foundation.NSString
func (*PKPaymentOrderDetails) OrderTypeIdentifier ¶
func (o *PKPaymentOrderDetails) OrderTypeIdentifier() *foundation.NSString
func (*PKPaymentOrderDetails) SetAuthenticationToken ¶
func (o *PKPaymentOrderDetails) SetAuthenticationToken(authenticationToken *foundation.NSString)
func (*PKPaymentOrderDetails) SetOrderIdentifier ¶
func (o *PKPaymentOrderDetails) SetOrderIdentifier(orderIdentifier *foundation.NSString)
func (*PKPaymentOrderDetails) SetOrderTypeIdentifier ¶
func (o *PKPaymentOrderDetails) SetOrderTypeIdentifier(orderTypeIdentifier *foundation.NSString)
func (*PKPaymentOrderDetails) SetWebServiceURL ¶
func (o *PKPaymentOrderDetails) SetWebServiceURL(webServiceURL *foundation.NSURL)
func (*PKPaymentOrderDetails) WebServiceURL ¶
func (o *PKPaymentOrderDetails) WebServiceURL() *foundation.NSURL
type PKPaymentPass ¶
type PKPaymentPass struct {
PKSecureElementPass
}
An object that represents a provisioned payment card for in-app payments.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentpass
func PKPaymentPassFromID ¶
func PKPaymentPassFromID(id objc.ID) *PKPaymentPass
func (*PKPaymentPass) ActivationState
deprecated
func (o *PKPaymentPass) ActivationState() PKPaymentPassActivationState
Deprecated: Use [PKSecureElementPass passActivationState] instead
type PKPaymentPassActivationState ¶
type PKPaymentPassActivationState uint64
Cases that indicate payment pass activation states. Deprecated: Use PKSecureElementPassActivationState instead
const ( // Active and ready for payment use. PKPaymentPassActivationStateActivated PKPaymentPassActivationState = 0 // Not active but may be activated by the issuer. PKPaymentPassActivationStateRequiresActivation PKPaymentPassActivationState = 1 // Not ready for use but activation is in progress. PKPaymentPassActivationStateActivating PKPaymentPassActivationState = 2 // Not active and can’t be activated. PKPaymentPassActivationStateSuspended PKPaymentPassActivationState = 3 // Not active because the issuer disabled the account associated with the device. PKPaymentPassActivationStateDeactivated PKPaymentPassActivationState = 4 )
func (PKPaymentPassActivationState) String ¶
func (e PKPaymentPassActivationState) String() string
type PKPaymentRequest ¶
type PKPaymentRequest struct {
foundation.NSObject
}
An object that represents a request for payment, including details about payment-processing capabilities, the payment amount, and shipping information.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentrequest
func PKPaymentRequestFromID ¶
func PKPaymentRequestFromID(id objc.ID) *PKPaymentRequest
func (*PKPaymentRequest) ApplePayLaterAvailability ¶
func (o *PKPaymentRequest) ApplePayLaterAvailability() PKApplePayLaterAvailability
func (*PKPaymentRequest) ApplicationData ¶
func (o *PKPaymentRequest) ApplicationData() *foundation.NSData
func (*PKPaymentRequest) AttributionIdentifier ¶
func (o *PKPaymentRequest) AttributionIdentifier() *foundation.NSString
func (*PKPaymentRequest) AutomaticReloadPaymentRequest ¶
func (o *PKPaymentRequest) AutomaticReloadPaymentRequest() *PKAutomaticReloadPaymentRequest
func (*PKPaymentRequest) BillingContact ¶
func (o *PKPaymentRequest) BillingContact() *PKContact
func (*PKPaymentRequest) CountryCode ¶
func (o *PKPaymentRequest) CountryCode() *foundation.NSString
func (*PKPaymentRequest) CouponCode ¶
func (o *PKPaymentRequest) CouponCode() *foundation.NSString
func (*PKPaymentRequest) CurrencyCode ¶
func (o *PKPaymentRequest) CurrencyCode() *foundation.NSString
func (*PKPaymentRequest) DeferredPaymentRequest ¶
func (o *PKPaymentRequest) DeferredPaymentRequest() *PKDeferredPaymentRequest
func (*PKPaymentRequest) IsDelegatedRequest ¶
func (o *PKPaymentRequest) IsDelegatedRequest() bool
A Boolean value that indicates whether this payment request is being made by a delegated entity on behalf of a merchant. Set this property to YES when your app is acting as an Apple Pay delegate and presenting the payment sheet on behalf of another merchant. The default value is NO. @note This property requires your app to be registered as an Apple Pay delegate and to have the com.apple.developer.in-app-payments-delegate entitlement.
func (*PKPaymentRequest) MerchantCapabilities ¶
func (o *PKPaymentRequest) MerchantCapabilities() PKMerchantCapability
func (*PKPaymentRequest) MerchantCategoryCode ¶
func (o *PKPaymentRequest) MerchantCategoryCode() int16
func (*PKPaymentRequest) MerchantIdentifier ¶
func (o *PKPaymentRequest) MerchantIdentifier() *foundation.NSString
func (*PKPaymentRequest) MultiTokenContexts ¶
func (o *PKPaymentRequest) MultiTokenContexts() *foundation.NSArray[*PKPaymentTokenContext]
func (*PKPaymentRequest) PaymentSummaryItems ¶
func (o *PKPaymentRequest) PaymentSummaryItems() *foundation.NSArray[*PKPaymentSummaryItem]
func (*PKPaymentRequest) RecurringPaymentRequest ¶
func (o *PKPaymentRequest) RecurringPaymentRequest() *PKRecurringPaymentRequest
func (*PKPaymentRequest) RequiredBillingAddressFields ¶
func (o *PKPaymentRequest) RequiredBillingAddressFields() PKAddressField
func (*PKPaymentRequest) RequiredBillingContactFields ¶
func (o *PKPaymentRequest) RequiredBillingContactFields() *foundation.NSSet[*foundation.NSString]
func (*PKPaymentRequest) RequiredShippingAddressFields ¶
func (o *PKPaymentRequest) RequiredShippingAddressFields() PKAddressField
func (*PKPaymentRequest) RequiredShippingContactFields ¶
func (o *PKPaymentRequest) RequiredShippingContactFields() *foundation.NSSet[*foundation.NSString]
func (*PKPaymentRequest) SetApplePayLaterAvailability ¶
func (o *PKPaymentRequest) SetApplePayLaterAvailability(applePayLaterAvailability PKApplePayLaterAvailability)
func (*PKPaymentRequest) SetApplicationData ¶
func (o *PKPaymentRequest) SetApplicationData(applicationData *foundation.NSData)
func (*PKPaymentRequest) SetAttributionIdentifier ¶
func (o *PKPaymentRequest) SetAttributionIdentifier(attributionIdentifier *foundation.NSString)
func (*PKPaymentRequest) SetAutomaticReloadPaymentRequest ¶
func (o *PKPaymentRequest) SetAutomaticReloadPaymentRequest(automaticReloadPaymentRequest *PKAutomaticReloadPaymentRequest)
func (*PKPaymentRequest) SetBillingContact ¶
func (o *PKPaymentRequest) SetBillingContact(billingContact *PKContact)
func (*PKPaymentRequest) SetCountryCode ¶
func (o *PKPaymentRequest) SetCountryCode(countryCode *foundation.NSString)
func (*PKPaymentRequest) SetCouponCode ¶
func (o *PKPaymentRequest) SetCouponCode(couponCode *foundation.NSString)
func (*PKPaymentRequest) SetCurrencyCode ¶
func (o *PKPaymentRequest) SetCurrencyCode(currencyCode *foundation.NSString)
func (*PKPaymentRequest) SetDeferredPaymentRequest ¶
func (o *PKPaymentRequest) SetDeferredPaymentRequest(deferredPaymentRequest *PKDeferredPaymentRequest)
func (*PKPaymentRequest) SetIsDelegatedRequest ¶
func (o *PKPaymentRequest) SetIsDelegatedRequest(isDelegatedRequest bool)
func (*PKPaymentRequest) SetMerchantCapabilities ¶
func (o *PKPaymentRequest) SetMerchantCapabilities(merchantCapabilities PKMerchantCapability)
func (*PKPaymentRequest) SetMerchantCategoryCode ¶
func (o *PKPaymentRequest) SetMerchantCategoryCode(merchantCategoryCode int16)
func (*PKPaymentRequest) SetMerchantIdentifier ¶
func (o *PKPaymentRequest) SetMerchantIdentifier(merchantIdentifier *foundation.NSString)
func (*PKPaymentRequest) SetMultiTokenContexts ¶
func (o *PKPaymentRequest) SetMultiTokenContexts(multiTokenContexts *foundation.NSArray[*PKPaymentTokenContext])
func (*PKPaymentRequest) SetPaymentSummaryItems ¶
func (o *PKPaymentRequest) SetPaymentSummaryItems(paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem])
func (*PKPaymentRequest) SetRecurringPaymentRequest ¶
func (o *PKPaymentRequest) SetRecurringPaymentRequest(recurringPaymentRequest *PKRecurringPaymentRequest)
func (*PKPaymentRequest) SetRequiredBillingAddressFields ¶
func (o *PKPaymentRequest) SetRequiredBillingAddressFields(requiredBillingAddressFields PKAddressField)
func (*PKPaymentRequest) SetRequiredBillingContactFields ¶
func (o *PKPaymentRequest) SetRequiredBillingContactFields(requiredBillingContactFields *foundation.NSSet[*foundation.NSString])
func (*PKPaymentRequest) SetRequiredShippingAddressFields ¶
func (o *PKPaymentRequest) SetRequiredShippingAddressFields(requiredShippingAddressFields PKAddressField)
func (*PKPaymentRequest) SetRequiredShippingContactFields ¶
func (o *PKPaymentRequest) SetRequiredShippingContactFields(requiredShippingContactFields *foundation.NSSet[*foundation.NSString])
func (*PKPaymentRequest) SetShippingContact ¶
func (o *PKPaymentRequest) SetShippingContact(shippingContact *PKContact)
func (*PKPaymentRequest) SetShippingContactEditingMode ¶
func (o *PKPaymentRequest) SetShippingContactEditingMode(shippingContactEditingMode PKShippingContactEditingMode)
func (*PKPaymentRequest) SetShippingMethods ¶
func (o *PKPaymentRequest) SetShippingMethods(shippingMethods *foundation.NSArray[*PKShippingMethod])
func (*PKPaymentRequest) SetShippingType ¶
func (o *PKPaymentRequest) SetShippingType(shippingType PKShippingType)
func (*PKPaymentRequest) SetSupportedCountries ¶
func (o *PKPaymentRequest) SetSupportedCountries(supportedCountries *foundation.NSSet[*foundation.NSString])
func (*PKPaymentRequest) SetSupportedNetworks ¶
func (o *PKPaymentRequest) SetSupportedNetworks(supportedNetworks *foundation.NSArray[*foundation.NSString])
func (*PKPaymentRequest) SetSupportsCouponCode ¶
func (o *PKPaymentRequest) SetSupportsCouponCode(supportsCouponCode bool)
func (*PKPaymentRequest) ShippingContact ¶
func (o *PKPaymentRequest) ShippingContact() *PKContact
func (*PKPaymentRequest) ShippingContactEditingMode ¶
func (o *PKPaymentRequest) ShippingContactEditingMode() PKShippingContactEditingMode
func (*PKPaymentRequest) ShippingMethods ¶
func (o *PKPaymentRequest) ShippingMethods() *foundation.NSArray[*PKShippingMethod]
func (*PKPaymentRequest) ShippingType ¶
func (o *PKPaymentRequest) ShippingType() PKShippingType
func (*PKPaymentRequest) SupportedCountries ¶
func (o *PKPaymentRequest) SupportedCountries() *foundation.NSSet[*foundation.NSString]
func (*PKPaymentRequest) SupportedNetworks ¶
func (o *PKPaymentRequest) SupportedNetworks() *foundation.NSArray[*foundation.NSString]
func (*PKPaymentRequest) SupportsCouponCode ¶
func (o *PKPaymentRequest) SupportsCouponCode() bool
type PKPaymentRequestCouponCodeUpdate ¶
type PKPaymentRequestCouponCodeUpdate struct {
PKPaymentRequestUpdate
}
An object that updates the payment request after the coupon code changes.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentrequestcouponcodeupdate
func PKPaymentRequestCouponCodeUpdateFromID ¶
func PKPaymentRequestCouponCodeUpdateFromID(id objc.ID) *PKPaymentRequestCouponCodeUpdate
func (*PKPaymentRequestCouponCodeUpdate) Errors ¶
func (o *PKPaymentRequestCouponCodeUpdate) Errors() *foundation.NSArray[objc.ID]
func (*PKPaymentRequestCouponCodeUpdate) InitWithErrorsPaymentSummaryItemsShippingMethods ¶
func (o *PKPaymentRequestCouponCodeUpdate) InitWithErrorsPaymentSummaryItemsShippingMethods(errors_ *foundation.NSArray[objc.ID], paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem], shippingMethods *foundation.NSArray[*PKShippingMethod]) *PKPaymentRequestCouponCodeUpdate
Creates a payment coupon update with your specified payment summary items, errors, and shipping methods.
func (*PKPaymentRequestCouponCodeUpdate) SetErrors ¶
func (o *PKPaymentRequestCouponCodeUpdate) SetErrors() error
type PKPaymentRequestMerchantSessionUpdate ¶
type PKPaymentRequestMerchantSessionUpdate struct {
foundation.NSObject
}
An object that updates a payment request with a merchant validation.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentrequestmerchantsessionupdate
func PKPaymentRequestMerchantSessionUpdateFromID ¶
func PKPaymentRequestMerchantSessionUpdateFromID(id objc.ID) *PKPaymentRequestMerchantSessionUpdate
func (*PKPaymentRequestMerchantSessionUpdate) InitWithStatusMerchantSession ¶
func (o *PKPaymentRequestMerchantSessionUpdate) InitWithStatusMerchantSession(status PKPaymentAuthorizationStatus, session *PKPaymentMerchantSession) *PKPaymentRequestMerchantSessionUpdate
Creates a payment method update with the specified status and merchant session.
func (*PKPaymentRequestMerchantSessionUpdate) Session ¶
func (o *PKPaymentRequestMerchantSessionUpdate) Session() *PKPaymentMerchantSession
func (*PKPaymentRequestMerchantSessionUpdate) SetSession ¶
func (o *PKPaymentRequestMerchantSessionUpdate) SetSession(session *PKPaymentMerchantSession)
func (*PKPaymentRequestMerchantSessionUpdate) SetStatus ¶
func (o *PKPaymentRequestMerchantSessionUpdate) SetStatus(status PKPaymentAuthorizationStatus)
func (*PKPaymentRequestMerchantSessionUpdate) Status ¶
func (o *PKPaymentRequestMerchantSessionUpdate) Status() PKPaymentAuthorizationStatus
type PKPaymentRequestPaymentMethodUpdate ¶
type PKPaymentRequestPaymentMethodUpdate struct {
PKPaymentRequestUpdate
}
An object that updates the payment request after the payment method changes.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentrequestpaymentmethodupdate
func PKPaymentRequestPaymentMethodUpdateFromID ¶
func PKPaymentRequestPaymentMethodUpdateFromID(id objc.ID) *PKPaymentRequestPaymentMethodUpdate
func (*PKPaymentRequestPaymentMethodUpdate) Errors ¶
func (o *PKPaymentRequestPaymentMethodUpdate) Errors() *foundation.NSArray[objc.ID]
func (*PKPaymentRequestPaymentMethodUpdate) InitWithErrorsPaymentSummaryItems ¶
func (o *PKPaymentRequestPaymentMethodUpdate) InitWithErrorsPaymentSummaryItems(errors_ *foundation.NSArray[objc.ID], paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem]) *PKPaymentRequestPaymentMethodUpdate
Creates a payment-method update with your specified payment summary items.
func (*PKPaymentRequestPaymentMethodUpdate) SetErrors ¶
func (o *PKPaymentRequestPaymentMethodUpdate) SetErrors() error
type PKPaymentRequestShippingContactUpdate ¶
type PKPaymentRequestShippingContactUpdate struct {
PKPaymentRequestUpdate
}
An object that updates the payment request after the shipping contact information changes.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentrequestshippingcontactupdate
func PKPaymentRequestShippingContactUpdateFromID ¶
func PKPaymentRequestShippingContactUpdateFromID(id objc.ID) *PKPaymentRequestShippingContactUpdate
func (*PKPaymentRequestShippingContactUpdate) Errors ¶
func (o *PKPaymentRequestShippingContactUpdate) Errors() *foundation.NSArray[objc.ID]
func (*PKPaymentRequestShippingContactUpdate) InitWithErrorsPaymentSummaryItemsShippingMethods ¶
func (o *PKPaymentRequestShippingContactUpdate) InitWithErrorsPaymentSummaryItemsShippingMethods(errors_ *foundation.NSArray[objc.ID], paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem], shippingMethods *foundation.NSArray[*PKShippingMethod]) *PKPaymentRequestShippingContactUpdate
Creates a shipping contact update with your specified payment summary items and shipping methods.
func (*PKPaymentRequestShippingContactUpdate) SetErrors ¶
func (o *PKPaymentRequestShippingContactUpdate) SetErrors() error
type PKPaymentRequestShippingMethodUpdate ¶
type PKPaymentRequestShippingMethodUpdate struct {
PKPaymentRequestUpdate
}
An object that updates the payment request after the shipping method changed.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentrequestshippingmethodupdate
func PKPaymentRequestShippingMethodUpdateFromID ¶
func PKPaymentRequestShippingMethodUpdateFromID(id objc.ID) *PKPaymentRequestShippingMethodUpdate
type PKPaymentRequestUpdate ¶
type PKPaymentRequestUpdate struct {
foundation.NSObject
}
The base class for updating the payment request after the user makes changes on the payment sheet.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentrequestupdate
func PKPaymentRequestUpdateFromID ¶
func PKPaymentRequestUpdateFromID(id objc.ID) *PKPaymentRequestUpdate
func (*PKPaymentRequestUpdate) AutomaticReloadPaymentRequest ¶
func (o *PKPaymentRequestUpdate) AutomaticReloadPaymentRequest() *PKAutomaticReloadPaymentRequest
func (*PKPaymentRequestUpdate) DeferredPaymentRequest ¶
func (o *PKPaymentRequestUpdate) DeferredPaymentRequest() *PKDeferredPaymentRequest
func (*PKPaymentRequestUpdate) InitWithPaymentSummaryItems ¶
func (o *PKPaymentRequestUpdate) InitWithPaymentSummaryItems(paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem]) *PKPaymentRequestUpdate
Creates a payment request update with the specified payment summary items.
func (*PKPaymentRequestUpdate) MultiTokenContexts ¶
func (o *PKPaymentRequestUpdate) MultiTokenContexts() *foundation.NSArray[*PKPaymentTokenContext]
func (*PKPaymentRequestUpdate) PaymentSummaryItems ¶
func (o *PKPaymentRequestUpdate) PaymentSummaryItems() *foundation.NSArray[*PKPaymentSummaryItem]
func (*PKPaymentRequestUpdate) RecurringPaymentRequest ¶
func (o *PKPaymentRequestUpdate) RecurringPaymentRequest() *PKRecurringPaymentRequest
func (*PKPaymentRequestUpdate) SetAutomaticReloadPaymentRequest ¶
func (o *PKPaymentRequestUpdate) SetAutomaticReloadPaymentRequest(automaticReloadPaymentRequest *PKAutomaticReloadPaymentRequest)
func (*PKPaymentRequestUpdate) SetDeferredPaymentRequest ¶
func (o *PKPaymentRequestUpdate) SetDeferredPaymentRequest(deferredPaymentRequest *PKDeferredPaymentRequest)
func (*PKPaymentRequestUpdate) SetMultiTokenContexts ¶
func (o *PKPaymentRequestUpdate) SetMultiTokenContexts(multiTokenContexts *foundation.NSArray[*PKPaymentTokenContext])
func (*PKPaymentRequestUpdate) SetPaymentSummaryItems ¶
func (o *PKPaymentRequestUpdate) SetPaymentSummaryItems(paymentSummaryItems *foundation.NSArray[*PKPaymentSummaryItem])
func (*PKPaymentRequestUpdate) SetRecurringPaymentRequest ¶
func (o *PKPaymentRequestUpdate) SetRecurringPaymentRequest(recurringPaymentRequest *PKRecurringPaymentRequest)
func (*PKPaymentRequestUpdate) SetShippingMethods ¶
func (o *PKPaymentRequestUpdate) SetShippingMethods(shippingMethods *foundation.NSArray[*PKShippingMethod])
func (*PKPaymentRequestUpdate) SetStatus ¶
func (o *PKPaymentRequestUpdate) SetStatus(status PKPaymentAuthorizationStatus)
func (*PKPaymentRequestUpdate) ShippingMethods ¶
func (o *PKPaymentRequestUpdate) ShippingMethods() *foundation.NSArray[*PKShippingMethod]
func (*PKPaymentRequestUpdate) Status ¶
func (o *PKPaymentRequestUpdate) Status() PKPaymentAuthorizationStatus
type PKPaymentSummaryItem ¶
type PKPaymentSummaryItem struct {
foundation.NSObject
}
An object that defines a summary item in a payment request, taxes, discounts, shipping, a grand total, and the like.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymentsummaryitem
func PKPaymentSummaryItemFromID ¶
func PKPaymentSummaryItemFromID(id objc.ID) *PKPaymentSummaryItem
func PKPaymentSummaryItemSummaryItemWithLabelAmount ¶
func PKPaymentSummaryItemSummaryItemWithLabelAmount(label *foundation.NSString, amount *foundation.NSDecimalNumber) *PKPaymentSummaryItem
Initializes and returns a summary item with the given label and amount.
func PKPaymentSummaryItemSummaryItemWithLabelAmountType ¶
func PKPaymentSummaryItemSummaryItemWithLabelAmountType(label *foundation.NSString, amount *foundation.NSDecimalNumber, type_ PKPaymentSummaryItemType) *PKPaymentSummaryItem
Initializes and returns a summary item with the given label, amount, and type.
func (*PKPaymentSummaryItem) Amount ¶
func (o *PKPaymentSummaryItem) Amount() *foundation.NSDecimalNumber
func (*PKPaymentSummaryItem) Label ¶
func (o *PKPaymentSummaryItem) Label() *foundation.NSString
func (*PKPaymentSummaryItem) SetAmount ¶
func (o *PKPaymentSummaryItem) SetAmount(amount *foundation.NSDecimalNumber)
func (*PKPaymentSummaryItem) SetLabel ¶
func (o *PKPaymentSummaryItem) SetLabel(label *foundation.NSString)
func (*PKPaymentSummaryItem) SetType ¶
func (o *PKPaymentSummaryItem) SetType(type_ PKPaymentSummaryItemType)
func (*PKPaymentSummaryItem) Type ¶
func (o *PKPaymentSummaryItem) Type() PKPaymentSummaryItemType
type PKPaymentSummaryItemType ¶
type PKPaymentSummaryItemType uint64
Constants that describe the type of the payment summary item, such as final or pending.
const ( // A summary item that represents a known, final cost. PKPaymentSummaryItemTypeFinal PKPaymentSummaryItemType = 0 // A summary item that represents an estimated or unknown cost. PKPaymentSummaryItemTypePending PKPaymentSummaryItemType = 1 )
func (PKPaymentSummaryItemType) String ¶
func (e PKPaymentSummaryItemType) String() string
type PKPaymentToken ¶
type PKPaymentToken struct {
foundation.NSObject
}
Contains the user’s payment credentials.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymenttoken
func PKPaymentTokenFromID ¶
func PKPaymentTokenFromID(id objc.ID) *PKPaymentToken
func (*PKPaymentToken) PaymentData ¶
func (o *PKPaymentToken) PaymentData() *foundation.NSData
func (*PKPaymentToken) PaymentInstrumentName ¶
func (o *PKPaymentToken) PaymentInstrumentName() *foundation.NSString
func (*PKPaymentToken) PaymentMethod ¶
func (o *PKPaymentToken) PaymentMethod() *PKPaymentMethod
func (*PKPaymentToken) PaymentNetwork ¶
func (o *PKPaymentToken) PaymentNetwork() *foundation.NSString
func (*PKPaymentToken) TransactionIdentifier ¶
func (o *PKPaymentToken) TransactionIdentifier() *foundation.NSString
type PKPaymentTokenContext ¶
type PKPaymentTokenContext struct {
foundation.NSObject
}
A class that defines the context for a single payment token in a payment request for multimerchant payments.
Apple documentation: https://developer.apple.com/documentation/passkit/pkpaymenttokencontext
func PKPaymentTokenContextFromID ¶
func PKPaymentTokenContextFromID(id objc.ID) *PKPaymentTokenContext
func (*PKPaymentTokenContext) Amount ¶
func (o *PKPaymentTokenContext) Amount() *foundation.NSDecimalNumber
func (*PKPaymentTokenContext) ExternalIdentifier ¶
func (o *PKPaymentTokenContext) ExternalIdentifier() *foundation.NSString
func (*PKPaymentTokenContext) InitWithMerchantIdentifierExternalIdentifierMerchantNameMerchantDomainAmount ¶
func (o *PKPaymentTokenContext) InitWithMerchantIdentifierExternalIdentifierMerchantNameMerchantDomainAmount(merchantIdentifier *foundation.NSString, externalIdentifier *foundation.NSString, merchantName *foundation.NSString, merchantDomain *foundation.NSString, amount *foundation.NSDecimalNumber) *PKPaymentTokenContext
Create a payment token context for a single merchant.
func (*PKPaymentTokenContext) MerchantDomain ¶
func (o *PKPaymentTokenContext) MerchantDomain() *foundation.NSString
func (*PKPaymentTokenContext) MerchantIdentifier ¶
func (o *PKPaymentTokenContext) MerchantIdentifier() *foundation.NSString
func (*PKPaymentTokenContext) MerchantName ¶
func (o *PKPaymentTokenContext) MerchantName() *foundation.NSString
func (*PKPaymentTokenContext) SetAmount ¶
func (o *PKPaymentTokenContext) SetAmount(amount *foundation.NSDecimalNumber)
func (*PKPaymentTokenContext) SetExternalIdentifier ¶
func (o *PKPaymentTokenContext) SetExternalIdentifier(externalIdentifier *foundation.NSString)
func (*PKPaymentTokenContext) SetMerchantDomain ¶
func (o *PKPaymentTokenContext) SetMerchantDomain(merchantDomain *foundation.NSString)
func (*PKPaymentTokenContext) SetMerchantIdentifier ¶
func (o *PKPaymentTokenContext) SetMerchantIdentifier(merchantIdentifier *foundation.NSString)
func (*PKPaymentTokenContext) SetMerchantName ¶
func (o *PKPaymentTokenContext) SetMerchantName(merchantName *foundation.NSString)
type PKRadioTechnology ¶
type PKRadioTechnology uint64
Constants that describe the type of wireless radio technology that a pass uses.
const ( // An identifier that indicates the pass doesn’t use radio frequency communication. PKRadioTechnologyNone PKRadioTechnology = 0 // An identifier that indicates the near field communication (NFC) radio frequency communication technology. PKRadioTechnologyNFC PKRadioTechnology = 1 // An identifier that indicates the Bluetooth radio frequency communication technology. PKRadioTechnologyBluetooth PKRadioTechnology = 2 )
func (PKRadioTechnology) String ¶
func (e PKRadioTechnology) String() string
type PKRecurringPaymentRequest ¶
type PKRecurringPaymentRequest struct {
foundation.NSObject
}
A class that represents a request to set up a recurring payment, typically a subscription.
Apple documentation: https://developer.apple.com/documentation/passkit/pkrecurringpaymentrequest
func PKRecurringPaymentRequestFromID ¶
func PKRecurringPaymentRequestFromID(id objc.ID) *PKRecurringPaymentRequest
func (*PKRecurringPaymentRequest) BillingAgreement ¶
func (o *PKRecurringPaymentRequest) BillingAgreement() *foundation.NSString
func (*PKRecurringPaymentRequest) InitWithPaymentDescriptionRegularBillingManagementURL ¶
func (o *PKRecurringPaymentRequest) InitWithPaymentDescriptionRegularBillingManagementURL(paymentDescription *foundation.NSString, regularBilling *PKRecurringPaymentSummaryItem, managementURL *foundation.NSURL) *PKRecurringPaymentRequest
Create a recurring payment object with a description, regular billing information, and a management URL.
func (*PKRecurringPaymentRequest) ManagementURL ¶
func (o *PKRecurringPaymentRequest) ManagementURL() *foundation.NSURL
func (*PKRecurringPaymentRequest) PaymentDescription ¶
func (o *PKRecurringPaymentRequest) PaymentDescription() *foundation.NSString
func (*PKRecurringPaymentRequest) RegularBilling ¶
func (o *PKRecurringPaymentRequest) RegularBilling() *PKRecurringPaymentSummaryItem
func (*PKRecurringPaymentRequest) SetBillingAgreement ¶
func (o *PKRecurringPaymentRequest) SetBillingAgreement(billingAgreement *foundation.NSString)
func (*PKRecurringPaymentRequest) SetManagementURL ¶
func (o *PKRecurringPaymentRequest) SetManagementURL(managementURL *foundation.NSURL)
func (*PKRecurringPaymentRequest) SetPaymentDescription ¶
func (o *PKRecurringPaymentRequest) SetPaymentDescription(paymentDescription *foundation.NSString)
func (*PKRecurringPaymentRequest) SetRegularBilling ¶
func (o *PKRecurringPaymentRequest) SetRegularBilling(regularBilling *PKRecurringPaymentSummaryItem)
func (*PKRecurringPaymentRequest) SetTokenNotificationURL ¶
func (o *PKRecurringPaymentRequest) SetTokenNotificationURL(tokenNotificationURL *foundation.NSURL)
func (*PKRecurringPaymentRequest) SetTrialBilling ¶
func (o *PKRecurringPaymentRequest) SetTrialBilling(trialBilling *PKRecurringPaymentSummaryItem)
func (*PKRecurringPaymentRequest) TokenNotificationURL ¶
func (o *PKRecurringPaymentRequest) TokenNotificationURL() *foundation.NSURL
func (*PKRecurringPaymentRequest) TrialBilling ¶
func (o *PKRecurringPaymentRequest) TrialBilling() *PKRecurringPaymentSummaryItem
type PKRecurringPaymentSummaryItem ¶
type PKRecurringPaymentSummaryItem struct {
PKPaymentSummaryItem
}
An object that defines a summary item for a payment that occurs repeatedly at a specified interval, such as a subscription.
Apple documentation: https://developer.apple.com/documentation/passkit/pkrecurringpaymentsummaryitem
func PKRecurringPaymentSummaryItemFromID ¶
func PKRecurringPaymentSummaryItemFromID(id objc.ID) *PKRecurringPaymentSummaryItem
func (*PKRecurringPaymentSummaryItem) EndDate ¶
func (o *PKRecurringPaymentSummaryItem) EndDate() *foundation.NSDate
func (*PKRecurringPaymentSummaryItem) IntervalCount ¶
func (o *PKRecurringPaymentSummaryItem) IntervalCount() int
func (*PKRecurringPaymentSummaryItem) IntervalUnit ¶
func (o *PKRecurringPaymentSummaryItem) IntervalUnit() foundation.NSCalendarUnit
func (*PKRecurringPaymentSummaryItem) SetEndDate ¶
func (o *PKRecurringPaymentSummaryItem) SetEndDate(endDate *foundation.NSDate)
func (*PKRecurringPaymentSummaryItem) SetIntervalCount ¶
func (o *PKRecurringPaymentSummaryItem) SetIntervalCount(intervalCount int)
func (*PKRecurringPaymentSummaryItem) SetIntervalUnit ¶
func (o *PKRecurringPaymentSummaryItem) SetIntervalUnit(intervalUnit foundation.NSCalendarUnit)
func (*PKRecurringPaymentSummaryItem) SetStartDate ¶
func (o *PKRecurringPaymentSummaryItem) SetStartDate(startDate *foundation.NSDate)
func (*PKRecurringPaymentSummaryItem) StartDate ¶
func (o *PKRecurringPaymentSummaryItem) StartDate() *foundation.NSDate
type PKSecureElementPass ¶
type PKSecureElementPass struct {
PKPass
}
A pass with a credential that the device stores in a certified payment information chip.
Apple documentation: https://developer.apple.com/documentation/passkit/pksecureelementpass
func PKSecureElementPassFromID ¶
func PKSecureElementPassFromID(id objc.ID) *PKSecureElementPass
func (*PKSecureElementPass) DeviceAccountIdentifier ¶
func (o *PKSecureElementPass) DeviceAccountIdentifier() *foundation.NSString
func (*PKSecureElementPass) DeviceAccountNumberSuffix ¶
func (o *PKSecureElementPass) DeviceAccountNumberSuffix() *foundation.NSString
func (*PKSecureElementPass) DevicePassIdentifier ¶
func (o *PKSecureElementPass) DevicePassIdentifier() *foundation.NSString
func (*PKSecureElementPass) PairedTerminalIdentifier ¶
func (o *PKSecureElementPass) PairedTerminalIdentifier() *foundation.NSString
func (*PKSecureElementPass) PassActivationState ¶
func (o *PKSecureElementPass) PassActivationState() PKSecureElementPassActivationState
func (*PKSecureElementPass) PrimaryAccountIdentifier ¶
func (o *PKSecureElementPass) PrimaryAccountIdentifier() *foundation.NSString
func (*PKSecureElementPass) PrimaryAccountNumberSuffix ¶
func (o *PKSecureElementPass) PrimaryAccountNumberSuffix() *foundation.NSString
type PKSecureElementPassActivationState ¶
type PKSecureElementPassActivationState int64
The activation states of a Secure Element pass.
const ( PKSecureElementPassActivationStateActivated PKSecureElementPassActivationState = 0 PKSecureElementPassActivationStateRequiresActivation PKSecureElementPassActivationState = 1 PKSecureElementPassActivationStateActivating PKSecureElementPassActivationState = 2 PKSecureElementPassActivationStateSuspended PKSecureElementPassActivationState = 3 PKSecureElementPassActivationStateDeactivated PKSecureElementPassActivationState = 4 )
func (PKSecureElementPassActivationState) String ¶
func (e PKSecureElementPassActivationState) String() string
type PKShareSecureElementPassErrorCode ¶
type PKShareSecureElementPassErrorCode int64
const ( )
func (PKShareSecureElementPassErrorCode) String ¶
func (e PKShareSecureElementPassErrorCode) String() string
type PKShareablePassMetadata ¶
type PKShareablePassMetadata struct {
}
Information that you use to configure the sharing sheet for a pass.
Apple documentation: https://developer.apple.com/documentation/passkit/pkshareablepassmetadata
func PKShareablePassMetadataFromID ¶
func PKShareablePassMetadataFromID(id objc.ID) *PKShareablePassMetadata
func (*PKShareablePassMetadata) AccountHash ¶
func (o *PKShareablePassMetadata) AccountHash() *foundation.NSString
func (*PKShareablePassMetadata) CardConfigurationIdentifier ¶
func (o *PKShareablePassMetadata) CardConfigurationIdentifier() *foundation.NSString
func (*PKShareablePassMetadata) CardTemplateIdentifier ¶
func (o *PKShareablePassMetadata) CardTemplateIdentifier() *foundation.NSString
func (*PKShareablePassMetadata) CredentialIdentifier ¶
func (o *PKShareablePassMetadata) CredentialIdentifier() *foundation.NSString
func (*PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierCardConfigurationIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescription ¶
func (o *PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierCardConfigurationIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescription(credentialIdentifier *foundation.NSString, cardConfigurationIdentifier *foundation.NSString, sharingInstanceIdentifier *foundation.NSString, passThumbnailImage unsafe.Pointer, ownerDisplayName *foundation.NSString, localizedDescription *foundation.NSString) *PKShareablePassMetadata
Creates a shareable pass metadata object.
func (*PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview ¶
func (o *PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview(credentialIdentifier *foundation.NSString, sharingInstanceIdentifier *foundation.NSString, templateIdentifier *foundation.NSString, preview *PKShareablePassMetadataPreview) *PKShareablePassMetadata
func (*PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview ¶
func (o *PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview(credentialIdentifier *foundation.NSString, sharingInstanceIdentifier *foundation.NSString, templateIdentifier *foundation.NSString, preview *PKShareablePassMetadataPreview) *PKShareablePassMetadata
func (*PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescriptionAccountHashTemplateIdentifierRelyingPartyIdentifierRequiresUnifiedAccessCapableDevice ¶
func (o *PKShareablePassMetadata) InitWithProvisioningCredentialIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescriptionAccountHashTemplateIdentifierRelyingPartyIdentifierRequiresUnifiedAccessCapableDevice(credentialIdentifier *foundation.NSString, sharingInstanceIdentifier *foundation.NSString, passThumbnailImage unsafe.Pointer, ownerDisplayName *foundation.NSString, localizedDescription *foundation.NSString, accountHash *foundation.NSString, templateIdentifier *foundation.NSString, relyingPartyIdentifier *foundation.NSString, requiresUnifiedAccessCapableDevice bool) *PKShareablePassMetadata
func (*PKShareablePassMetadata) LocalizedDescription ¶
func (o *PKShareablePassMetadata) LocalizedDescription() *foundation.NSString
func (*PKShareablePassMetadata) OwnerDisplayName ¶
func (o *PKShareablePassMetadata) OwnerDisplayName() *foundation.NSString
func (*PKShareablePassMetadata) PassThumbnailImage ¶
func (o *PKShareablePassMetadata) PassThumbnailImage() unsafe.Pointer
func (*PKShareablePassMetadata) Preview ¶
func (o *PKShareablePassMetadata) Preview() *PKShareablePassMetadataPreview
func (*PKShareablePassMetadata) RelyingPartyIdentifier ¶
func (o *PKShareablePassMetadata) RelyingPartyIdentifier() *foundation.NSString
func (*PKShareablePassMetadata) RequiresUnifiedAccessCapableDevice ¶
func (o *PKShareablePassMetadata) RequiresUnifiedAccessCapableDevice() bool
func (*PKShareablePassMetadata) ServerEnvironmentIdentifier ¶
func (o *PKShareablePassMetadata) ServerEnvironmentIdentifier() *foundation.NSString
func (*PKShareablePassMetadata) SetAccountHash ¶
func (o *PKShareablePassMetadata) SetAccountHash(accountHash *foundation.NSString)
func (*PKShareablePassMetadata) SetRelyingPartyIdentifier ¶
func (o *PKShareablePassMetadata) SetRelyingPartyIdentifier(relyingPartyIdentifier *foundation.NSString)
func (*PKShareablePassMetadata) SetRequiresUnifiedAccessCapableDevice ¶
func (o *PKShareablePassMetadata) SetRequiresUnifiedAccessCapableDevice(requiresUnifiedAccessCapableDevice bool)
func (*PKShareablePassMetadata) SetServerEnvironmentIdentifier ¶
func (o *PKShareablePassMetadata) SetServerEnvironmentIdentifier(serverEnvironmentIdentifier *foundation.NSString)
func (*PKShareablePassMetadata) SharingInstanceIdentifier ¶
func (o *PKShareablePassMetadata) SharingInstanceIdentifier() *foundation.NSString
func (*PKShareablePassMetadata) TemplateIdentifier ¶
func (o *PKShareablePassMetadata) TemplateIdentifier() unsafe.Pointer
type PKShareablePassMetadataPreview ¶
type PKShareablePassMetadataPreview struct {
}
Apple documentation: https://developer.apple.com/documentation/passkit/pkshareablepassmetadatapreview
func PKShareablePassMetadataPreviewFromID ¶
func PKShareablePassMetadataPreviewFromID(id objc.ID) *PKShareablePassMetadataPreview
func PKShareablePassMetadataPreviewPreviewWithTemplateIdentifier ¶
func PKShareablePassMetadataPreviewPreviewWithTemplateIdentifier(templateIdentifier *foundation.NSString) *PKShareablePassMetadataPreview
func (*PKShareablePassMetadataPreview) InitWithTemplateIdentifier ¶
func (o *PKShareablePassMetadataPreview) InitWithTemplateIdentifier(templateIdentifier *foundation.NSString) *PKShareablePassMetadataPreview
func (*PKShareablePassMetadataPreview) OwnerDisplayName ¶
func (o *PKShareablePassMetadataPreview) OwnerDisplayName() *foundation.NSString
func (*PKShareablePassMetadataPreview) ProvisioningTemplateIdentifier ¶
func (o *PKShareablePassMetadataPreview) ProvisioningTemplateIdentifier() *foundation.NSString
func (*PKShareablePassMetadataPreview) SetOwnerDisplayName ¶
func (o *PKShareablePassMetadataPreview) SetOwnerDisplayName(ownerDisplayName *foundation.NSString)
type PKShippingContactEditingMode ¶
type PKShippingContactEditingMode uint64
Constants that indicate whether the shipping mode prevents the user from editing fields of the shipping address.
const ( // The value that indicates Apple Pay Later is available. PKShippingContactEditingModeAvailable PKShippingContactEditingMode = 1 // The shipping contact on the payment sheet represents a pickup address and isn’t editable by the user. PKShippingContactEditingModeStorePickup PKShippingContactEditingMode = 2 // All fields of the shipping contact on the payment sheet are editable by the user. PKShippingContactEditingModeEnabled PKShippingContactEditingMode = 1 )
func (PKShippingContactEditingMode) String ¶
func (e PKShippingContactEditingMode) String() string
type PKShippingMethod ¶
type PKShippingMethod struct {
PKPaymentSummaryItem
}
An object that defines a shipping method for delivering physical goods.
Apple documentation: https://developer.apple.com/documentation/passkit/pkshippingmethod
func PKShippingMethodFromID ¶
func PKShippingMethodFromID(id objc.ID) *PKShippingMethod
func (*PKShippingMethod) DateComponentsRange ¶
func (o *PKShippingMethod) DateComponentsRange() *PKDateComponentsRange
func (*PKShippingMethod) Detail ¶
func (o *PKShippingMethod) Detail() *foundation.NSString
func (*PKShippingMethod) Identifier ¶
func (o *PKShippingMethod) Identifier() *foundation.NSString
func (*PKShippingMethod) SetDateComponentsRange ¶
func (o *PKShippingMethod) SetDateComponentsRange(dateComponentsRange *PKDateComponentsRange)
func (*PKShippingMethod) SetDetail ¶
func (o *PKShippingMethod) SetDetail(detail *foundation.NSString)
func (*PKShippingMethod) SetIdentifier ¶
func (o *PKShippingMethod) SetIdentifier(identifier *foundation.NSString)
type PKShippingType ¶
type PKShippingType uint64
A complete list of valid shipping types.
const ( // Shipping the purchase to the provided address using a third-party shipping company. This is the default shipping type. PKShippingTypeShipping PKShippingType = 0 // Delivering the purchase by the seller (for example, pizza, flower, or furniture delivery). PKShippingTypeDelivery PKShippingType = 1 // Store pickup of the purchase from the seller’s store. PKShippingTypeStorePickup PKShippingType = 2 // Picking up an item from the provided address by the service (for example, transportation or shipping services that provide home pickup). PKShippingTypeServicePickup PKShippingType = 3 )
func (PKShippingType) String ¶
func (e PKShippingType) String() string
type PKStoredValuePassBalance ¶
type PKStoredValuePassBalance struct {
foundation.NSObject
}
An object that represents a balance that’s available for transactions, such as points or money.
Apple documentation: https://developer.apple.com/documentation/passkit/pkstoredvaluepassbalance
func PKStoredValuePassBalanceFromID ¶
func PKStoredValuePassBalanceFromID(id objc.ID) *PKStoredValuePassBalance
func (*PKStoredValuePassBalance) Amount ¶
func (o *PKStoredValuePassBalance) Amount() *foundation.NSDecimalNumber
func (*PKStoredValuePassBalance) BalanceType ¶
func (o *PKStoredValuePassBalance) BalanceType() *foundation.NSString
func (*PKStoredValuePassBalance) CurrencyCode ¶
func (o *PKStoredValuePassBalance) CurrencyCode() *foundation.NSString
func (*PKStoredValuePassBalance) ExpiryDate ¶
func (o *PKStoredValuePassBalance) ExpiryDate() *foundation.NSDate
func (*PKStoredValuePassBalance) IsEqualToBalance ¶
func (o *PKStoredValuePassBalance) IsEqualToBalance(balance *PKStoredValuePassBalance) bool
Returns a Boolean value that indicates whether two pass balance objects contain the same values.
type PKStoredValuePassProperties ¶
type PKStoredValuePassProperties struct {
foundation.NSObject
}
An object that represents the properties of a pass that contains a balance used for specific transactions, such as a transit pass or loyalty card.
Apple documentation: https://developer.apple.com/documentation/passkit/pkstoredvaluepassproperties
func PKStoredValuePassPropertiesFromID ¶
func PKStoredValuePassPropertiesFromID(id objc.ID) *PKStoredValuePassProperties
func PKStoredValuePassPropertiesPassPropertiesForPass ¶
func PKStoredValuePassPropertiesPassPropertiesForPass(pass *PKPass) *PKStoredValuePassProperties
Creates a stored-value pass properties object for the specified pass.
func (*PKStoredValuePassProperties) Balances ¶
func (o *PKStoredValuePassProperties) Balances() *foundation.NSArray[*PKStoredValuePassBalance]
func (*PKStoredValuePassProperties) ExpirationDate ¶
func (o *PKStoredValuePassProperties) ExpirationDate() *foundation.NSDate
func (*PKStoredValuePassProperties) IsBlacklisted
deprecated
func (o *PKStoredValuePassProperties) IsBlacklisted() bool
Deprecated: since macOS 12.0.
func (*PKStoredValuePassProperties) IsBlocked ¶
func (o *PKStoredValuePassProperties) IsBlocked() bool
type PKSuicaPassProperties ¶
type PKSuicaPassProperties struct {
PKTransitPassProperties
}
The properties of a pass used as a ticket for the Suica transportation system.
Apple documentation: https://developer.apple.com/documentation/passkit/pksuicapassproperties
func PKSuicaPassPropertiesFromID ¶
func PKSuicaPassPropertiesFromID(id objc.ID) *PKSuicaPassProperties
func PKSuicaPassPropertiesPassPropertiesForPass ¶
func PKSuicaPassPropertiesPassPropertiesForPass(pass *PKPass) *PKSuicaPassProperties
Instantiates a Suica pass properties object that contains the properties supported in the specified pass.
func (*PKSuicaPassProperties) IsBalanceAllowedForCommute ¶
func (o *PKSuicaPassProperties) IsBalanceAllowedForCommute() bool
func (*PKSuicaPassProperties) IsGreenCarTicketUsed ¶
func (o *PKSuicaPassProperties) IsGreenCarTicketUsed() bool
func (*PKSuicaPassProperties) IsInShinkansenStation ¶
func (o *PKSuicaPassProperties) IsInShinkansenStation() bool
Note: isInShinkansenStation is not a subset of isInStation.
func (*PKSuicaPassProperties) IsLowBalanceGateNotificationEnabled ¶
func (o *PKSuicaPassProperties) IsLowBalanceGateNotificationEnabled() bool
type PKTransitPassProperties ¶
type PKTransitPassProperties struct {
PKStoredValuePassProperties
}
The properties of a transit pass.
Apple documentation: https://developer.apple.com/documentation/passkit/pktransitpassproperties
func PKTransitPassPropertiesFromID ¶
func PKTransitPassPropertiesFromID(id objc.ID) *PKTransitPassProperties
func (*PKTransitPassProperties) IsInStation ¶
func (o *PKTransitPassProperties) IsInStation() bool
func (*PKTransitPassProperties) TransitBalance
deprecated
func (o *PKTransitPassProperties) TransitBalance() *foundation.NSDecimalNumber
Deprecated: since macOS 12.0.
func (*PKTransitPassProperties) TransitBalanceCurrencyCode
deprecated
func (o *PKTransitPassProperties) TransitBalanceCurrencyCode() *foundation.NSString
Deprecated: since macOS 12.0.
type PKVehicleConnectionDelegate ¶
type PKVehicleConnectionDelegate interface {
SessionDidChangeConnectionState(newState PKVehicleConnectionSessionConnectionState)
SessionDidReceiveData(data *foundation.NSData)
}
PKVehicleConnectionDelegate wraps the ObjC protocol PKVehicleConnectionDelegate.
type PKVehicleConnectionErrorCode ¶
type PKVehicleConnectionErrorCode int64
const ( PKVehicleConnectionErrorCodeUnknown PKVehicleConnectionErrorCode = 0 PKVehicleConnectionErrorCodeSessionUnableToStart PKVehicleConnectionErrorCode = 1 PKVehicleConnectionErrorCodeSessionNotActive PKVehicleConnectionErrorCode = 2 )
func (PKVehicleConnectionErrorCode) String ¶
func (e PKVehicleConnectionErrorCode) String() string
type PKVehicleConnectionSession ¶
type PKVehicleConnectionSession struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/passkit/pkvehicleconnectionsession
func PKVehicleConnectionSessionFromID ¶
func PKVehicleConnectionSessionFromID(id objc.ID) *PKVehicleConnectionSession
func (*PKVehicleConnectionSession) ConnectionStatus ¶
func (o *PKVehicleConnectionSession) ConnectionStatus() PKVehicleConnectionSessionConnectionState
func (*PKVehicleConnectionSession) Delegate ¶
func (o *PKVehicleConnectionSession) Delegate() PKVehicleConnectionDelegate
func (*PKVehicleConnectionSession) Invalidate ¶
func (o *PKVehicleConnectionSession) Invalidate()
func (*PKVehicleConnectionSession) SendDataError ¶
func (o *PKVehicleConnectionSession) SendDataError(message *foundation.NSData) (bool, error)
type PKVehicleConnectionSessionConnectionState ¶
type PKVehicleConnectionSessionConnectionState int64
const ( PKVehicleConnectionSessionConnectionStateDisconnected PKVehicleConnectionSessionConnectionState = 0 PKVehicleConnectionSessionConnectionStateConnected PKVehicleConnectionSessionConnectionState = 1 PKVehicleConnectionSessionConnectionStateConnecting PKVehicleConnectionSessionConnectionState = 2 PKVehicleConnectionSessionConnectionStateFailedToConnect PKVehicleConnectionSessionConnectionState = 3 )
func (PKVehicleConnectionSessionConnectionState) String ¶
func (e PKVehicleConnectionSessionConnectionState) String() string
type PMPageToPaperMappingType ¶
type PMPageToPaperMappingType int64
const ( KPMPageToPaperMappingNone PMPageToPaperMappingType = 1 KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2 )
func (PMPageToPaperMappingType) String ¶
func (e PMPageToPaperMappingType) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string
Source Files
¶
- PKAddCarKeyPassConfiguration.go
- PKAddIdentityDocumentConfiguration.go
- PKAddIdentityDocumentMetadata.go
- PKAddPassMetadataPreview.go
- PKAddPaymentPassRequest.go
- PKAddPaymentPassRequestConfiguration.go
- PKAddSecureElementPassConfiguration.go
- PKAddShareablePassConfiguration.go
- PKAutomaticReloadPaymentRequest.go
- PKAutomaticReloadPaymentSummaryItem.go
- PKBarcodeEventConfigurationRequest.go
- PKBarcodeEventMetadataRequest.go
- PKBarcodeEventMetadataResponse.go
- PKBarcodeEventSignatureRequest.go
- PKBarcodeEventSignatureResponse.go
- PKContact.go
- PKDateComponentsRange.go
- PKDeferredPaymentRequest.go
- PKDeferredPaymentSummaryItem.go
- PKDisbursementRequest.go
- PKDisbursementSummaryItem.go
- PKIdentityDocumentMetadata.go
- PKInstantFundsOutFeeSummaryItem.go
- PKIssuerProvisioningExtensionPassEntry.go
- PKIssuerProvisioningExtensionPaymentPassEntry.go
- PKIssuerProvisioningExtensionStatus.go
- PKJapanIndividualNumberCardMetadata.go
- PKLabeledValue.go
- PKPass.go
- PKPassLibrary.go
- PKPassRelevantDate.go
- PKPayment.go
- PKPaymentAuthorizationController.go
- PKPaymentAuthorizationResult.go
- PKPaymentAuthorizationViewController.go
- PKPaymentButton.go
- PKPaymentInformationEventExtension.go
- PKPaymentMerchantSession.go
- PKPaymentMethod.go
- PKPaymentOrderDetails.go
- PKPaymentPass.go
- PKPaymentRequest.go
- PKPaymentRequestCouponCodeUpdate.go
- PKPaymentRequestMerchantSessionUpdate.go
- PKPaymentRequestPaymentMethodUpdate.go
- PKPaymentRequestShippingContactUpdate.go
- PKPaymentRequestShippingMethodUpdate.go
- PKPaymentRequestUpdate.go
- PKPaymentSummaryItem.go
- PKPaymentToken.go
- PKPaymentTokenContext.go
- PKRecurringPaymentRequest.go
- PKRecurringPaymentSummaryItem.go
- PKSecureElementPass.go
- PKShareablePassMetadata.go
- PKShareablePassMetadataPreview.go
- PKShippingMethod.go
- PKStoredValuePassBalance.go
- PKStoredValuePassProperties.go
- PKSuicaPassProperties.go
- PKTransitPassProperties.go
- PKVehicleConnectionSession.go
- doc.go
- passkit_enums.go
- passkit_externs.go
- passkit_protocols.go
- passkit_runtime.go