UNPKG

@lob/lob-typescript-sdk

Version:
119 lines (118 loc) 3.04 kB
/** * Lob * The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p> Looking for our [previous documentation](https://lob.github.io/legacy-docs/)? * * The version of the OpenAPI document: 1.3.0 * Contact: lob-openapi@lob.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @class CardOrder */ export declare class CardOrder { constructor(input?: any); /** * Unique identifier prefixed with `co_`. * @type {string} * @memberof CardOrder */ private "_id"?; get id(): string; set id(newValue: string); /** * Unique identifier prefixed with `card_`. * @type {string} * @memberof CardOrder */ private "_card_id"?; get card_id(): string; set card_id(newValue: string); /** * The status of the card order. * @type {string} * @memberof CardOrder */ "status"?: CardOrderStatusEnum; /** * The inventory of the card order. * @type {number} * @memberof CardOrder */ "inventory"?: number; /** * The quantity of cards ordered * @type {number} * @memberof CardOrder */ "quantity_ordered"?: number; /** * The unit price for the card order. * @type {number} * @memberof CardOrder */ "unit_price"?: number; /** * The reason for cancellation. * @type {string} * @memberof CardOrder */ "cancelled_reason"?: string; /** * A timestamp in ISO 8601 format of the date the resource was created. * @type {string} * @memberof CardOrder */ "availability_date"?: string; /** * The fixed deadline for the cards to be printed. * @type {string} * @memberof CardOrder */ "expected_availability_date"?: string; /** * A timestamp in ISO 8601 format of the date the resource was created. * @type {string} * @memberof CardOrder */ "date_created": string; /** * A timestamp in ISO 8601 format of the date the resource was last modified. * @type {string} * @memberof CardOrder */ "date_modified": string; /** * Only returned if the resource has been successfully deleted. * @type {boolean} * @memberof CardOrder */ "deleted"?: boolean; /** * Value is type of resource. * @type {string} * @memberof CardOrder */ "object": string; toJSON(): {}; } /** * @export * @enum {string} */ export declare enum CardOrderStatusEnum { Pending = "pending", Printing = "printing", Available = "available", Cancelled = "cancelled", Depleted = "depleted" } /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */