import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ACHTransactionDetails, ACHTransactionDetails$Outbound } from "./achtransactiondetails.js"; import { ApplePayResponse, ApplePayResponse$Outbound } from "./applepayresponse.js"; import { CardTransactionDetails, CardTransactionDetails$Outbound } from "./cardtransactiondetails.js"; import { PaymentMethodsBankAccount, PaymentMethodsBankAccount$Outbound } from "./paymentmethodsbankaccount.js"; import { PaymentMethodsCard, PaymentMethodsCard$Outbound } from "./paymentmethodscard.js"; import { PaymentMethodsWallet, PaymentMethodsWallet$Outbound } from "./paymentmethodswallet.js"; import { PaymentMethodType } from "./paymentmethodtype.js"; import { RTPTransactionDetails, RTPTransactionDetails$Outbound } from "./rtptransactiondetails.js"; import { TransferAccount, TransferAccount$Outbound } from "./transferaccount.js"; export type TransferDestination = { paymentMethodID: string; /** * The payment method type that represents a payment rail and directionality */ paymentMethodType: PaymentMethodType; account: TransferAccount; /** * A bank account as contained within a payment method. */ bankAccount?: PaymentMethodsBankAccount | undefined; wallet?: PaymentMethodsWallet | undefined; /** * A card as contained within a payment method. */ card?: PaymentMethodsCard | undefined; /** * ACH specific details about the transaction. */ achDetails?: ACHTransactionDetails | undefined; /** * Describes an Apple Pay token on a Moov account. */ applePay?: ApplePayResponse | undefined; /** * Card-specific details about the transaction. */ cardDetails?: CardTransactionDetails | undefined; /** * RTP specific details about the transaction. */ rtpDetails?: RTPTransactionDetails | undefined; }; /** @internal */ export declare const TransferDestination$inboundSchema: z.ZodType; /** @internal */ export type TransferDestination$Outbound = { paymentMethodID: string; paymentMethodType: string; account: TransferAccount$Outbound; bankAccount?: PaymentMethodsBankAccount$Outbound | undefined; wallet?: PaymentMethodsWallet$Outbound | undefined; card?: PaymentMethodsCard$Outbound | undefined; achDetails?: ACHTransactionDetails$Outbound | undefined; applePay?: ApplePayResponse$Outbound | undefined; cardDetails?: CardTransactionDetails$Outbound | undefined; rtpDetails?: RTPTransactionDetails$Outbound | undefined; }; /** @internal */ export declare const TransferDestination$outboundSchema: z.ZodType; export declare function transferDestinationToJSON(transferDestination: TransferDestination): string; export declare function transferDestinationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=transferdestination.d.ts.map