import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ProductPriceSource } from "./productpricesource.js"; import { SubscriptionRecurringInterval } from "./subscriptionrecurringinterval.js"; import { TaxBehaviorOption } from "./taxbehavioroption.js"; /** * A recurring price for a product, i.e. a subscription. * * @remarks * * **Deprecated**: The recurring interval should be set on the product itself. */ export type LegacyRecurringProductPriceFixed = { /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; /** * The ID of the price. */ id: string; source: ProductPriceSource; amountType: "fixed"; /** * The currency in which the customer will be charged. */ priceCurrency: string; /** * The tax behavior of the price. If null, it defaults to the organization's default tax behavior. */ taxBehavior: TaxBehaviorOption | null; /** * Whether the price is archived and no longer available. */ isArchived: boolean; /** * The ID of the product owning the price. */ productId: string; /** * The type of the price. */ type: "recurring"; recurringInterval: SubscriptionRecurringInterval; /** * The price in cents. */ priceAmount: number; legacy: true; }; /** @internal */ export declare const LegacyRecurringProductPriceFixed$inboundSchema: z.ZodMiniType; /** @internal */ export type LegacyRecurringProductPriceFixed$Outbound = { created_at: string; modified_at: string | null; id: string; source: string; amount_type: "fixed"; price_currency: string; tax_behavior: string | null; is_archived: boolean; product_id: string; type: "recurring"; recurring_interval: string; price_amount: number; legacy: true; }; /** @internal */ export declare const LegacyRecurringProductPriceFixed$outboundSchema: z.ZodMiniType; export declare function legacyRecurringProductPriceFixedToJSON(legacyRecurringProductPriceFixed: LegacyRecurringProductPriceFixed): string; export declare function legacyRecurringProductPriceFixedFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=legacyrecurringproductpricefixed.d.ts.map