/** * My API * API documentation for my Laravel app * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { SiteLiteResource } from './SiteLiteResource'; import type { LineItemListResource } from './LineItemListResource'; import type { CustomerListResource } from './CustomerListResource'; /** * * @export * @interface CartListResource */ export interface CartListResource { /** * * @type {number} * @memberof CartListResource */ id?: number | null; /** * * @type {string} * @memberof CartListResource */ guestEmail?: string | null; /** * * @type {string} * @memberof CartListResource */ source: string; /** * * @type {Date} * @memberof CartListResource */ checkoutCompletedAt?: Date | null; /** * * @type {Date} * @memberof CartListResource */ createdAt?: Date | null; /** * * @type {Date} * @memberof CartListResource */ expiryDate: Date; /** * * @type {SiteLiteResource} * @memberof CartListResource */ site: SiteLiteResource | null; /** * * @type {CustomerListResource} * @memberof CartListResource */ customer: CustomerListResource | null; /** * * @type {Array} * @memberof CartListResource */ lineItems: Array | null; /** * * @type {number} * @memberof CartListResource */ subtotal: number; /** * * @type {string} * @memberof CartListResource */ status: string; } /** * Check if a given object implements the CartListResource interface. */ export declare function instanceOfCartListResource(value: object): value is CartListResource; export declare function CartListResourceFromJSON(json: any): CartListResource; export declare function CartListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartListResource; export declare function CartListResourceToJSON(json: any): CartListResource; export declare function CartListResourceToJSONTyped(value?: CartListResource | null, ignoreDiscriminator?: boolean): any;