import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DigitalWalletAddress } from "./digitalwalletaddress.js"; import { DigitalWalletProvider } from "./digitalwalletprovider.js"; export type DigitalWallet = { /** * Always `digital-wallet`. */ type: "digital-wallet"; /** * The ID for the digital wallet. */ id: string; /** * The ID of the merchant account this digital wallet belongs to. */ merchantAccountId: string; provider: DigitalWalletProvider; /** * The name of the merchant the digital wallet is registered to. */ merchantName: string; /** * The consumer facing name of the merchant. */ merchantDisplayName?: string | null | undefined; /** * The main URL of the merchant. */ merchantUrl?: string | null | undefined; /** * The country code where the merchant is registered. */ merchantCountryCode?: string | null | undefined; /** * Merchant classification for the type of goods or services it provides. */ merchantCategoryCode?: string | null | undefined; /** * The merchant address associated with the digital wallet. */ address?: DigitalWalletAddress | null | undefined; /** * Provider-specific configuration. Currently only used by Paze. */ extraConfiguration?: { [k: string]: any; } | null | undefined; /** * The list of domain names that a digital wallet can be used on (deprecated). */ domainNames: Array; /** * The number of active custom certificates registered for this digital wallet (Apple Pay only). */ activeCertificateCount: number; /** * The number of pending custom certificates registered for this digital wallet (Apple Pay only). */ pendingCertificateCount: number; /** * The number of expired custom certificates registered for this digital wallet (Apple Pay only). */ expiredCertificateCount: number; /** * Custom attributes for some digital wallets. Currently only used by Click to Pay. */ fields?: { [k: string]: any; } | null | undefined; /** * The date this buyer was created at. */ createdAt: Date; /** * The date this buyer was last updated at. */ updatedAt: Date; }; /** @internal */ export declare const DigitalWallet$inboundSchema: z.ZodType; export declare function digitalWalletFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=digitalwallet.d.ts.map