Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
// This file is auto-generated. Do not edit directly.
import { z } from 'zod';
import { VariantSchema } from './Variant';
export const ClaimLineItemSchema = z.object({
id: z.string(),
quantity: z.number(),
send_replacement: z.boolean(),
description: z.string().nullable(),
refund_amount: z.string(),
paid_amount: z.string(),
pre_tax_amount: z.string(),
included_tax_total: z.string(),
additional_tax_total: z.string(),
tax_total: z.string(),
variant_id: z.string().nullable(),
replacement_variant_id: z.string().nullable(),
line_item_id: z.string().nullable(),
get variant() { return VariantSchema.optional(); },
created_at: z.string(),
updated_at: z.string(),
get replacement_variant() { return VariantSchema.optional(); },
});
export type ClaimLineItem = z.infer<typeof ClaimLineItemSchema>;