@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
26 lines • 810 B
TypeScript
import { Price } from './Price';
import { ItemSettings } from './ItemSettings';
/** Representation of a cart item */
export interface Item {
/** Cart identifier */
cartId: string;
/** Configuration set for this product */
configurations?: number[];
/** Duration for the service */
duration?: string;
/** Current product identifier */
itemId: number;
/** Offer unique identifier of the product added */
offerId?: string;
/** Options item ID attached to this item */
options: number[];
/** Id of parent item (if item is an option) */
parentItemId?: number;
/** Price of the item */
prices: Price[];
/** Type of the product added */
productId: string;
/** Item settings */
settings: ItemSettings;
}
//# sourceMappingURL=Item.d.ts.map