wallee
Version:
TypeScript/JavaScript client for wallee
44 lines (43 loc) • 1.35 kB
TypeScript
/**
*
* @export
* @interface SalesChannel
*/
export interface SalesChannel {
/**
* When listing sales channels, they can be sorted by this number.
* @type {number}
* @memberof SalesChannel
*/
readonly sortOrder?: number;
/**
* The localized name of the object.
* @type {{ [key: string]: string; }}
* @memberof SalesChannel
*/
readonly name?: {
[key: string]: string;
};
/**
* The localized description of the object.
* @type {{ [key: string]: string; }}
* @memberof SalesChannel
*/
readonly description?: {
[key: string]: string;
};
/**
* A unique identifier for the object.
* @type {number}
* @memberof SalesChannel
*/
readonly id?: number;
}
/**
* Check if a given object implements the SalesChannel interface.
*/
export declare function instanceOfSalesChannel(value: object): value is SalesChannel;
export declare function SalesChannelFromJSON(json: any): SalesChannel;
export declare function SalesChannelFromJSONTyped(json: any, ignoreDiscriminator: boolean): SalesChannel;
export declare function SalesChannelToJSON(json: any): SalesChannel;
export declare function SalesChannelToJSONTyped(value?: Omit<SalesChannel, 'sortOrder' | 'name' | 'description' | 'id'> | null, ignoreDiscriminator?: boolean): any;