ordercloud-javascript-sdk
Version:
The offical Javascript SDK for the Ordercloud ecommerce API
16 lines (15 loc) • 436 B
TypeScript
import { VariantInventory } from './VariantInventory';
import { VariantSpec } from './VariantSpec';
export interface Variant<TVariantXp = any> {
ID?: string;
Name?: string;
Description?: string;
Active?: boolean;
ShipWeight?: number;
ShipHeight?: number;
ShipWidth?: number;
ShipLength?: number;
Inventory?: VariantInventory;
readonly Specs?: VariantSpec[];
xp?: TVariantXp;
}