import type * as Square from "../../api/index"; import * as core from "../../core"; import type * as serializers from "../index"; import { Address } from "./Address"; import { ApplicationDetails } from "./ApplicationDetails"; import { BankAccountPaymentDetails } from "./BankAccountPaymentDetails"; import { BuyNowPayLaterDetails } from "./BuyNowPayLaterDetails"; import { CardPaymentDetails } from "./CardPaymentDetails"; import { CashPaymentDetails } from "./CashPaymentDetails"; import { DeviceDetails } from "./DeviceDetails"; import { DigitalWalletDetails } from "./DigitalWalletDetails"; import { ElectronicMoneyDetails } from "./ElectronicMoneyDetails"; import { ExternalPaymentDetails } from "./ExternalPaymentDetails"; import { Money } from "./Money"; import { OfflinePaymentDetails } from "./OfflinePaymentDetails"; import { ProcessingFee } from "./ProcessingFee"; import { RiskEvaluation } from "./RiskEvaluation"; import { SquareAccountDetails } from "./SquareAccountDetails"; export declare const Payment: core.serialization.ObjectSchema; export declare namespace Payment { interface Raw { id?: string | null; created_at?: string | null; updated_at?: string | null; amount_money?: Money.Raw | null; tip_money?: Money.Raw | null; total_money?: Money.Raw | null; app_fee_money?: Money.Raw | null; app_fee_allocations?: (unknown[] | null | undefined) | null; approved_money?: Money.Raw | null; processing_fee?: ProcessingFee.Raw[] | null; refunded_money?: Money.Raw | null; status?: string | null; delay_duration?: string | null; delay_action?: (string | null | undefined) | null; delayed_until?: string | null; source_type?: string | null; card_details?: CardPaymentDetails.Raw | null; cash_details?: CashPaymentDetails.Raw | null; bank_account_details?: BankAccountPaymentDetails.Raw | null; electronic_money_details?: ElectronicMoneyDetails.Raw | null; external_details?: ExternalPaymentDetails.Raw | null; wallet_details?: DigitalWalletDetails.Raw | null; buy_now_pay_later_details?: BuyNowPayLaterDetails.Raw | null; square_account_details?: SquareAccountDetails.Raw | null; location_id?: string | null; order_id?: string | null; reference_id?: string | null; customer_id?: string | null; employee_id?: string | null; team_member_id?: (string | null | undefined) | null; refund_ids?: string[] | null; risk_evaluation?: RiskEvaluation.Raw | null; terminal_checkout_id?: string | null; buyer_email_address?: string | null; billing_address?: Address.Raw | null; shipping_address?: Address.Raw | null; note?: string | null; statement_description_identifier?: string | null; capabilities?: string[] | null; receipt_number?: string | null; receipt_url?: string | null; device_details?: DeviceDetails.Raw | null; application_details?: ApplicationDetails.Raw | null; buyer_currency_exchange?: unknown | null; is_offline_payment?: boolean | null; offline_payment_details?: OfflinePaymentDetails.Raw | null; version_token?: (string | null | undefined) | null; } }