import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CardScheme } from "./cardscheme.js"; import { CheckoutSessionPaymentMethodDetails } from "./checkoutsessionpaymentmethoddetails.js"; export type CheckoutSessionPaymentMethod = { /** * Always `payment-method` */ type: "payment-method"; /** * The ID of the payment method. */ id?: string | null | undefined; /** * Details for credit or debit card payment method. */ details?: CheckoutSessionPaymentMethodDetails | null | undefined; /** * The last 4 digits of the the card. */ label?: string | null | undefined; /** * Always `card` */ method: "card"; /** * The scheme of the card. */ scheme?: CardScheme | null | undefined; /** * The unique hash derived from the card number. */ fingerprint?: string | null | undefined; }; /** @internal */ export declare const CheckoutSessionPaymentMethod$inboundSchema: z.ZodType; export declare function checkoutSessionPaymentMethodFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=checkoutsessionpaymentmethod.d.ts.map