import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Currency } from "./currency.js"; /** * A refund for an ecommerce order. */ export type EcommerceOrderRefund = { /** * A unique identifier for an object. */ id?: string | null | undefined; /** * The amount of the refund. */ amount?: string | undefined; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; /** * The reason for the refund. */ reason?: string | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; }; /** @internal */ export declare const EcommerceOrderRefund$inboundSchema: z.ZodType; export declare function ecommerceOrderRefundFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=ecommerceorderrefund.d.ts.map