import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { LinkApplePaymentData, LinkApplePaymentData$Outbound } from "./linkapplepaymentdata.js"; import { LinkApplePaymentMethod, LinkApplePaymentMethod$Outbound } from "./linkapplepaymentmethod.js"; /** * Contains the user's payment information as returned from Apple Pay. * * @remarks * * Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken) * for more information. */ export type LinkApplePayToken = { /** * Contains the encrypted payment data. * * @remarks * * Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916115-paymentdata) * for more information. */ paymentData: LinkApplePaymentData; /** * Provides information about the underlying card. * * @remarks * * Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttoken/1916113-paymentmethod) * for more information. */ paymentMethod: LinkApplePaymentMethod; /** * A unique identifier provided by Apple Pay for this payment. */ transactionIdentifier: string; }; /** @internal */ export declare const LinkApplePayToken$inboundSchema: z.ZodType; /** @internal */ export type LinkApplePayToken$Outbound = { paymentData: LinkApplePaymentData$Outbound; paymentMethod: LinkApplePaymentMethod$Outbound; transactionIdentifier: string; }; /** @internal */ export declare const LinkApplePayToken$outboundSchema: z.ZodType; export declare function linkApplePayTokenToJSON(linkApplePayToken: LinkApplePayToken): string; export declare function linkApplePayTokenFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=linkapplepaytoken.d.ts.map