import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AppleBillingContact, AppleBillingContact$Outbound } from "./applebillingcontact.js"; import { LinkApplePayToken, LinkApplePayToken$Outbound } from "./linkapplepaytoken.js"; /** * The JSON structure returned from Apple Pay when authorizing a payment session. * * @remarks * * Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypayment) * for more information. */ export type LinkApplePay = { /** * 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. */ token: LinkApplePayToken; /** * Billing contact information as returned from Apple Pay. * * @remarks * * Refer to [Apple's documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentcontact) * for more information. */ billingContact?: AppleBillingContact | undefined; }; /** @internal */ export declare const LinkApplePay$inboundSchema: z.ZodType; /** @internal */ export type LinkApplePay$Outbound = { token: LinkApplePayToken$Outbound; billingContact?: AppleBillingContact$Outbound | undefined; }; /** @internal */ export declare const LinkApplePay$outboundSchema: z.ZodType; export declare function linkApplePayToJSON(linkApplePay: LinkApplePay): string; export declare function linkApplePayFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=linkapplepay.d.ts.map