import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DiscountDuration } from "./discountduration.js"; import { DiscountType } from "./discounttype.js"; /** * Schema for a percentage discount that is applied on every invoice * * @remarks * for a certain number of months. */ export type CheckoutDiscountPercentageRepeatDuration = { duration: DiscountDuration; durationInMonths: number; type: DiscountType; /** * Discount percentage in basis points. A basis point is 1/100th of a percent. For example, 1000 basis points equals a 10% discount. */ basisPoints: number; /** * The ID of the object. */ id: string; name: string; code: string | null; }; /** @internal */ export declare const CheckoutDiscountPercentageRepeatDuration$inboundSchema: z.ZodMiniType; /** @internal */ export type CheckoutDiscountPercentageRepeatDuration$Outbound = { duration: string; duration_in_months: number; type: string; basis_points: number; id: string; name: string; code: string | null; }; /** @internal */ export declare const CheckoutDiscountPercentageRepeatDuration$outboundSchema: z.ZodMiniType; export declare function checkoutDiscountPercentageRepeatDurationToJSON(checkoutDiscountPercentageRepeatDuration: CheckoutDiscountPercentageRepeatDuration): string; export declare function checkoutDiscountPercentageRepeatDurationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=checkoutdiscountpercentagerepeatduration.d.ts.map