@apideck/node
Version:
Apideck Node.js SDK
78 lines (77 loc) • 2.38 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { EcommerceProductImages1 } from './EcommerceProductImages1';
import { EcommerceProductOptions1 } from './EcommerceProductOptions1';
/**
*
* @export
* @interface EcommerceProductVariants
*/
export interface EcommerceProductVariants {
/**
* A unique identifier for the variant of the product.
* @type {string}
* @memberof EcommerceProductVariants
*/
id?: string | null;
/**
* The name for the variant, used for displaying to customers.
* @type {string}
* @memberof EcommerceProductVariants
*/
name?: string | null;
/**
* The price of the variant.
* @type {string}
* @memberof EcommerceProductVariants
*/
price?: string | null;
/**
* The stock keeping unit of the variant.
* @type {string}
* @memberof EcommerceProductVariants
*/
sku?: string | null;
/**
* The quantity of the variant in stock.
* @type {string}
* @memberof EcommerceProductVariants
*/
inventory_quantity?: string | null;
/**
* The weight of the variant.
* @type {string}
* @memberof EcommerceProductVariants
*/
weight?: string | null;
/**
* The unit of measurement for the weight of the variant.
* @type {string}
* @memberof EcommerceProductVariants
*/
weight_unit?: string | null;
/**
*
* @type {Array<EcommerceProductOptions1>}
* @memberof EcommerceProductVariants
*/
options?: Array<EcommerceProductOptions1>;
/**
*
* @type {Array<EcommerceProductImages1>}
* @memberof EcommerceProductVariants
*/
images?: Array<EcommerceProductImages1>;
}
export declare function EcommerceProductVariantsFromJSON(json: any): EcommerceProductVariants;
export declare function EcommerceProductVariantsFromJSONTyped(json: any, ignoreDiscriminator: boolean): EcommerceProductVariants;
export declare function EcommerceProductVariantsToJSON(value?: EcommerceProductVariants | null): any;