// Generated by smithplates HTTP codegen. Do not edit.
import { FulfillmentState } from "generated/petstore/api/fulfillmentState";

export interface OrderLineDetail {
  id: number;
  order_id: string;
  pet_id: string;
  quantity: number;
  unit_price_cents: number;
  fulfillment: FulfillmentState;
}

export function parseOrderLineDetail(value: unknown): OrderLineDetail {
  return value as OrderLineDetail;
}

export function serializeOrderLineDetail(value: OrderLineDetail): Record<string, unknown> {
  return { ...value };
}
