ordercloud-javascript-sdk
Version:
The offical Javascript SDK for the Ordercloud ecommerce API
16 lines (15 loc) • 440 B
TypeScript
import { SpecOption } from './SpecOption';
export interface Spec<TSpecXp = any, TOptionsXp = any> {
OwnerID?: string;
ID?: string;
ListOrder?: number;
Name: string;
DefaultValue?: string;
Required?: boolean;
AllowOpenText?: boolean;
DefaultOptionID?: string;
DefinesVariant?: boolean;
xp?: TSpecXp;
readonly OptionCount?: number;
readonly Options?: SpecOption<TOptionsXp>[];
}