2016-01-28 06:29:51 +00:00
|
|
|
goog.provide('API.Client.Order');
|
|
|
|
|
|
|
|
/**
|
2017-03-21 06:31:18 +00:00
|
|
|
* An order for a pets from the pet store
|
2016-01-28 06:29:51 +00:00
|
|
|
* @record
|
|
|
|
*/
|
|
|
|
API.Client.Order = function() {}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {!number}
|
|
|
|
* @export
|
|
|
|
*/
|
|
|
|
API.Client.Order.prototype.id;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {!number}
|
|
|
|
* @export
|
|
|
|
*/
|
|
|
|
API.Client.Order.prototype.petId;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {!number}
|
|
|
|
* @export
|
|
|
|
*/
|
|
|
|
API.Client.Order.prototype.quantity;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {!Date}
|
|
|
|
* @export
|
|
|
|
*/
|
|
|
|
API.Client.Order.prototype.shipDate;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Order Status
|
|
|
|
* @type {!string}
|
|
|
|
* @export
|
|
|
|
*/
|
|
|
|
API.Client.Order.prototype.status;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {!boolean}
|
|
|
|
* @export
|
|
|
|
*/
|
|
|
|
API.Client.Order.prototype.complete;
|
|
|
|
|
|
|
|
/** @enum {string} */
|
|
|
|
API.Client.Order.StatusEnum = {
|
|
|
|
placed: 'placed',
|
|
|
|
approved: 'approved',
|
|
|
|
delivered: 'delivered',
|
|
|
|
}
|