xi_sdk_resellers
Version:
Ingram Micro - Xvantage Integration (XI) Node.Js Server-side SDK.
637 lines (592 loc) • 32.3 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _QuoteDetailsResponseAdditionalAttributesInner = _interopRequireDefault(require("./QuoteDetailsResponseAdditionalAttributesInner"));
var _QuoteDetailsResponseEndUserInfo = _interopRequireDefault(require("./QuoteDetailsResponseEndUserInfo"));
var _QuoteDetailsResponseProductsInner = _interopRequireDefault(require("./QuoteDetailsResponseProductsInner"));
var _QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner = _interopRequireDefault(require("./QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner"));
var _QuoteDetailsResponseResellerInfo = _interopRequireDefault(require("./QuoteDetailsResponseResellerInfo"));
var _QuoteDetailsResponseShippingInfo = _interopRequireDefault(require("./QuoteDetailsResponseShippingInfo"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
* XI Sdk Resellers
* For Resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers.
*
* 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.
*
*/
/**
* The QuoteDetailsResponse model module.
* @module model/QuoteDetailsResponse
* @version 1.0.0
*/
var QuoteDetailsResponse = /*#__PURE__*/function () {
/**
* Constructs a new <code>QuoteDetailsResponse</code>.
* @alias module:model/QuoteDetailsResponse
*/
function QuoteDetailsResponse() {
_classCallCheck(this, QuoteDetailsResponse);
QuoteDetailsResponse.initialize(this);
}
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
return _createClass(QuoteDetailsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
/**
* Constructs a <code>QuoteDetailsResponse</code> from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:model/QuoteDetailsResponse} obj Optional instance to populate.
* @return {module:model/QuoteDetailsResponse} The populated <code>QuoteDetailsResponse</code> instance.
*/
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new QuoteDetailsResponse();
if (data.hasOwnProperty('quoteName')) {
obj['quoteName'] = _ApiClient["default"].convertToType(data['quoteName'], 'String');
}
if (data.hasOwnProperty('quoteNumber')) {
obj['quoteNumber'] = _ApiClient["default"].convertToType(data['quoteNumber'], 'String');
}
if (data.hasOwnProperty('quoteGuid')) {
obj['quoteGuid'] = _ApiClient["default"].convertToType(data['quoteGuid'], 'String');
}
if (data.hasOwnProperty('revision')) {
obj['revision'] = _ApiClient["default"].convertToType(data['revision'], 'String');
}
if (data.hasOwnProperty('ingramQuoteDate')) {
obj['ingramQuoteDate'] = _ApiClient["default"].convertToType(data['ingramQuoteDate'], 'String');
}
if (data.hasOwnProperty('lastModifiedDate')) {
obj['lastModifiedDate'] = _ApiClient["default"].convertToType(data['lastModifiedDate'], 'String');
}
if (data.hasOwnProperty('ingramQuoteExpiryDate')) {
obj['ingramQuoteExpiryDate'] = _ApiClient["default"].convertToType(data['ingramQuoteExpiryDate'], 'String');
}
if (data.hasOwnProperty('currencyCode')) {
obj['currencyCode'] = _ApiClient["default"].convertToType(data['currencyCode'], 'String');
}
if (data.hasOwnProperty('specialBidId')) {
obj['specialBidId'] = _ApiClient["default"].convertToType(data['specialBidId'], 'String');
}
if (data.hasOwnProperty('specialBidEffectiveDate')) {
obj['specialBidEffectiveDate'] = _ApiClient["default"].convertToType(data['specialBidEffectiveDate'], 'String');
}
if (data.hasOwnProperty('specialBidExpirationDate')) {
obj['specialBidExpirationDate'] = _ApiClient["default"].convertToType(data['specialBidExpirationDate'], 'String');
}
if (data.hasOwnProperty('vendorQuoteNumber')) {
obj['vendorQuoteNumber'] = _ApiClient["default"].convertToType(data['vendorQuoteNumber'], 'String');
}
if (data.hasOwnProperty('isPartialOrderAllowed')) {
obj['isPartialOrderAllowed'] = _ApiClient["default"].convertToType(data['isPartialOrderAllowed'], 'Boolean');
}
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
if (data.hasOwnProperty('statusReason')) {
obj['statusReason'] = _ApiClient["default"].convertToType(data['statusReason'], 'String');
}
if (data.hasOwnProperty('closingReason')) {
obj['closingReason'] = _ApiClient["default"].convertToType(data['closingReason'], 'String');
}
if (data.hasOwnProperty('dateClosed')) {
obj['dateClosed'] = _ApiClient["default"].convertToType(data['dateClosed'], 'String');
}
if (data.hasOwnProperty('customerNeed')) {
obj['customerNeed'] = _ApiClient["default"].convertToType(data['customerNeed'], 'String');
}
if (data.hasOwnProperty('proposedSolution')) {
obj['proposedSolution'] = _ApiClient["default"].convertToType(data['proposedSolution'], 'String');
}
if (data.hasOwnProperty('introPreamble')) {
obj['introPreamble'] = _ApiClient["default"].convertToType(data['introPreamble'], 'String');
}
if (data.hasOwnProperty('purchaseInstructions')) {
obj['purchaseInstructions'] = _ApiClient["default"].convertToType(data['purchaseInstructions'], 'String');
}
if (data.hasOwnProperty('legalTerms')) {
obj['legalTerms'] = _ApiClient["default"].convertToType(data['legalTerms'], 'String');
}
if (data.hasOwnProperty('quoteType')) {
obj['quoteType'] = _ApiClient["default"].convertToType(data['quoteType'], 'String');
}
if (data.hasOwnProperty('leaseInfo')) {
obj['leaseInfo'] = _ApiClient["default"].convertToType(data['leaseInfo'], 'String');
}
if (data.hasOwnProperty('leasingInstructions')) {
obj['leasingInstructions'] = _ApiClient["default"].convertToType(data['leasingInstructions'], 'String');
}
if (data.hasOwnProperty('imWarehouse')) {
obj['imWarehouse'] = _ApiClient["default"].convertToType(data['imWarehouse'], 'String');
}
if (data.hasOwnProperty('imWarehouseGstNumber')) {
obj['imWarehouseGstNumber'] = _ApiClient["default"].convertToType(data['imWarehouseGstNumber'], 'String');
}
if (data.hasOwnProperty('paymentTermsName')) {
obj['paymentTermsName'] = _ApiClient["default"].convertToType(data['paymentTermsName'], 'String');
}
if (data.hasOwnProperty('resellerInfo')) {
obj['resellerInfo'] = _QuoteDetailsResponseResellerInfo["default"].constructFromObject(data['resellerInfo']);
}
if (data.hasOwnProperty('endUserInfo')) {
obj['endUserInfo'] = _QuoteDetailsResponseEndUserInfo["default"].constructFromObject(data['endUserInfo']);
}
if (data.hasOwnProperty('shippingInfo')) {
obj['shippingInfo'] = _QuoteDetailsResponseShippingInfo["default"].constructFromObject(data['shippingInfo']);
}
if (data.hasOwnProperty('products')) {
obj['products'] = _ApiClient["default"].convertToType(data['products'], [_QuoteDetailsResponseProductsInner["default"]]);
}
if (data.hasOwnProperty('productsCount')) {
obj['productsCount'] = _ApiClient["default"].convertToType(data['productsCount'], 'Number');
}
if (data.hasOwnProperty('extendedMsrpTotal')) {
obj['extendedMsrpTotal'] = _ApiClient["default"].convertToType(data['extendedMsrpTotal'], 'Number');
}
if (data.hasOwnProperty('quantityTotal')) {
obj['quantityTotal'] = _ApiClient["default"].convertToType(data['quantityTotal'], 'Number');
}
if (data.hasOwnProperty('extraFeesTotal')) {
obj['extraFeesTotal'] = _ApiClient["default"].convertToType(data['extraFeesTotal'], 'Number');
}
if (data.hasOwnProperty('extraFeesTotalDetails')) {
obj['extraFeesTotalDetails'] = _ApiClient["default"].convertToType(data['extraFeesTotalDetails'], [_QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner["default"]]);
}
if (data.hasOwnProperty('taxTotal')) {
obj['taxTotal'] = _ApiClient["default"].convertToType(data['taxTotal'], 'Number');
}
if (data.hasOwnProperty('extendedQuotePriceTotal')) {
obj['extendedQuotePriceTotal'] = _ApiClient["default"].convertToType(data['extendedQuotePriceTotal'], 'Number');
}
if (data.hasOwnProperty('freightAmount')) {
obj['freightAmount'] = _ApiClient["default"].convertToType(data['freightAmount'], 'Number');
}
if (data.hasOwnProperty('totalQuoteAmount')) {
obj['totalQuoteAmount'] = _ApiClient["default"].convertToType(data['totalQuoteAmount'], 'String');
}
if (data.hasOwnProperty('additionalAttributes')) {
obj['additionalAttributes'] = _ApiClient["default"].convertToType(data['additionalAttributes'], [_QuoteDetailsResponseAdditionalAttributesInner["default"]]);
}
}
return obj;
}
/**
* Validates the JSON data with respect to <code>QuoteDetailsResponse</code>.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>QuoteDetailsResponse</code>.
*/
}, {
key: "validateJSON",
value: function validateJSON(data) {
// ensure the json data is a string
if (data['quoteName'] && !(typeof data['quoteName'] === 'string' || data['quoteName'] instanceof String)) {
throw new Error("Expected the field `quoteName` to be a primitive type in the JSON string but got " + data['quoteName']);
}
// ensure the json data is a string
if (data['quoteNumber'] && !(typeof data['quoteNumber'] === 'string' || data['quoteNumber'] instanceof String)) {
throw new Error("Expected the field `quoteNumber` to be a primitive type in the JSON string but got " + data['quoteNumber']);
}
// ensure the json data is a string
if (data['quoteGuid'] && !(typeof data['quoteGuid'] === 'string' || data['quoteGuid'] instanceof String)) {
throw new Error("Expected the field `quoteGuid` to be a primitive type in the JSON string but got " + data['quoteGuid']);
}
// ensure the json data is a string
if (data['revision'] && !(typeof data['revision'] === 'string' || data['revision'] instanceof String)) {
throw new Error("Expected the field `revision` to be a primitive type in the JSON string but got " + data['revision']);
}
// ensure the json data is a string
if (data['ingramQuoteDate'] && !(typeof data['ingramQuoteDate'] === 'string' || data['ingramQuoteDate'] instanceof String)) {
throw new Error("Expected the field `ingramQuoteDate` to be a primitive type in the JSON string but got " + data['ingramQuoteDate']);
}
// ensure the json data is a string
if (data['lastModifiedDate'] && !(typeof data['lastModifiedDate'] === 'string' || data['lastModifiedDate'] instanceof String)) {
throw new Error("Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got " + data['lastModifiedDate']);
}
// ensure the json data is a string
if (data['ingramQuoteExpiryDate'] && !(typeof data['ingramQuoteExpiryDate'] === 'string' || data['ingramQuoteExpiryDate'] instanceof String)) {
throw new Error("Expected the field `ingramQuoteExpiryDate` to be a primitive type in the JSON string but got " + data['ingramQuoteExpiryDate']);
}
// ensure the json data is a string
if (data['currencyCode'] && !(typeof data['currencyCode'] === 'string' || data['currencyCode'] instanceof String)) {
throw new Error("Expected the field `currencyCode` to be a primitive type in the JSON string but got " + data['currencyCode']);
}
// ensure the json data is a string
if (data['specialBidId'] && !(typeof data['specialBidId'] === 'string' || data['specialBidId'] instanceof String)) {
throw new Error("Expected the field `specialBidId` to be a primitive type in the JSON string but got " + data['specialBidId']);
}
// ensure the json data is a string
if (data['specialBidEffectiveDate'] && !(typeof data['specialBidEffectiveDate'] === 'string' || data['specialBidEffectiveDate'] instanceof String)) {
throw new Error("Expected the field `specialBidEffectiveDate` to be a primitive type in the JSON string but got " + data['specialBidEffectiveDate']);
}
// ensure the json data is a string
if (data['specialBidExpirationDate'] && !(typeof data['specialBidExpirationDate'] === 'string' || data['specialBidExpirationDate'] instanceof String)) {
throw new Error("Expected the field `specialBidExpirationDate` to be a primitive type in the JSON string but got " + data['specialBidExpirationDate']);
}
// ensure the json data is a string
if (data['vendorQuoteNumber'] && !(typeof data['vendorQuoteNumber'] === 'string' || data['vendorQuoteNumber'] instanceof String)) {
throw new Error("Expected the field `vendorQuoteNumber` to be a primitive type in the JSON string but got " + data['vendorQuoteNumber']);
}
// ensure the json data is a string
if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
}
// ensure the json data is a string
if (data['statusReason'] && !(typeof data['statusReason'] === 'string' || data['statusReason'] instanceof String)) {
throw new Error("Expected the field `statusReason` to be a primitive type in the JSON string but got " + data['statusReason']);
}
// ensure the json data is a string
if (data['closingReason'] && !(typeof data['closingReason'] === 'string' || data['closingReason'] instanceof String)) {
throw new Error("Expected the field `closingReason` to be a primitive type in the JSON string but got " + data['closingReason']);
}
// ensure the json data is a string
if (data['dateClosed'] && !(typeof data['dateClosed'] === 'string' || data['dateClosed'] instanceof String)) {
throw new Error("Expected the field `dateClosed` to be a primitive type in the JSON string but got " + data['dateClosed']);
}
// ensure the json data is a string
if (data['customerNeed'] && !(typeof data['customerNeed'] === 'string' || data['customerNeed'] instanceof String)) {
throw new Error("Expected the field `customerNeed` to be a primitive type in the JSON string but got " + data['customerNeed']);
}
// ensure the json data is a string
if (data['proposedSolution'] && !(typeof data['proposedSolution'] === 'string' || data['proposedSolution'] instanceof String)) {
throw new Error("Expected the field `proposedSolution` to be a primitive type in the JSON string but got " + data['proposedSolution']);
}
// ensure the json data is a string
if (data['introPreamble'] && !(typeof data['introPreamble'] === 'string' || data['introPreamble'] instanceof String)) {
throw new Error("Expected the field `introPreamble` to be a primitive type in the JSON string but got " + data['introPreamble']);
}
// ensure the json data is a string
if (data['purchaseInstructions'] && !(typeof data['purchaseInstructions'] === 'string' || data['purchaseInstructions'] instanceof String)) {
throw new Error("Expected the field `purchaseInstructions` to be a primitive type in the JSON string but got " + data['purchaseInstructions']);
}
// ensure the json data is a string
if (data['legalTerms'] && !(typeof data['legalTerms'] === 'string' || data['legalTerms'] instanceof String)) {
throw new Error("Expected the field `legalTerms` to be a primitive type in the JSON string but got " + data['legalTerms']);
}
// ensure the json data is a string
if (data['quoteType'] && !(typeof data['quoteType'] === 'string' || data['quoteType'] instanceof String)) {
throw new Error("Expected the field `quoteType` to be a primitive type in the JSON string but got " + data['quoteType']);
}
// ensure the json data is a string
if (data['leaseInfo'] && !(typeof data['leaseInfo'] === 'string' || data['leaseInfo'] instanceof String)) {
throw new Error("Expected the field `leaseInfo` to be a primitive type in the JSON string but got " + data['leaseInfo']);
}
// ensure the json data is a string
if (data['leasingInstructions'] && !(typeof data['leasingInstructions'] === 'string' || data['leasingInstructions'] instanceof String)) {
throw new Error("Expected the field `leasingInstructions` to be a primitive type in the JSON string but got " + data['leasingInstructions']);
}
// ensure the json data is a string
if (data['imWarehouse'] && !(typeof data['imWarehouse'] === 'string' || data['imWarehouse'] instanceof String)) {
throw new Error("Expected the field `imWarehouse` to be a primitive type in the JSON string but got " + data['imWarehouse']);
}
// ensure the json data is a string
if (data['imWarehouseGstNumber'] && !(typeof data['imWarehouseGstNumber'] === 'string' || data['imWarehouseGstNumber'] instanceof String)) {
throw new Error("Expected the field `imWarehouseGstNumber` to be a primitive type in the JSON string but got " + data['imWarehouseGstNumber']);
}
// ensure the json data is a string
if (data['paymentTermsName'] && !(typeof data['paymentTermsName'] === 'string' || data['paymentTermsName'] instanceof String)) {
throw new Error("Expected the field `paymentTermsName` to be a primitive type in the JSON string but got " + data['paymentTermsName']);
}
// validate the optional field `resellerInfo`
if (data['resellerInfo']) {
// data not null
_QuoteDetailsResponseResellerInfo["default"].validateJSON(data['resellerInfo']);
}
// validate the optional field `endUserInfo`
if (data['endUserInfo']) {
// data not null
_QuoteDetailsResponseEndUserInfo["default"].validateJSON(data['endUserInfo']);
}
// validate the optional field `shippingInfo`
if (data['shippingInfo']) {
// data not null
_QuoteDetailsResponseShippingInfo["default"].validateJSON(data['shippingInfo']);
}
if (data['products']) {
// data not null
// ensure the json data is an array
if (!Array.isArray(data['products'])) {
throw new Error("Expected the field `products` to be an array in the JSON data but got " + data['products']);
}
// validate the optional field `products` (array)
var _iterator = _createForOfIteratorHelper(data['products']),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var item = _step.value;
_QuoteDetailsResponseProductsInner["default"].validateJSON(item);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
;
}
if (data['extraFeesTotalDetails']) {
// data not null
// ensure the json data is an array
if (!Array.isArray(data['extraFeesTotalDetails'])) {
throw new Error("Expected the field `extraFeesTotalDetails` to be an array in the JSON data but got " + data['extraFeesTotalDetails']);
}
// validate the optional field `extraFeesTotalDetails` (array)
var _iterator2 = _createForOfIteratorHelper(data['extraFeesTotalDetails']),
_step2;
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
var _item = _step2.value;
_QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner["default"].validateJSON(_item);
}
} catch (err) {
_iterator2.e(err);
} finally {
_iterator2.f();
}
;
}
// ensure the json data is a string
if (data['totalQuoteAmount'] && !(typeof data['totalQuoteAmount'] === 'string' || data['totalQuoteAmount'] instanceof String)) {
throw new Error("Expected the field `totalQuoteAmount` to be a primitive type in the JSON string but got " + data['totalQuoteAmount']);
}
if (data['additionalAttributes']) {
// data not null
// ensure the json data is an array
if (!Array.isArray(data['additionalAttributes'])) {
throw new Error("Expected the field `additionalAttributes` to be an array in the JSON data but got " + data['additionalAttributes']);
}
// validate the optional field `additionalAttributes` (array)
var _iterator3 = _createForOfIteratorHelper(data['additionalAttributes']),
_step3;
try {
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
var _item2 = _step3.value;
_QuoteDetailsResponseAdditionalAttributesInner["default"].validateJSON(_item2);
}
} catch (err) {
_iterator3.e(err);
} finally {
_iterator3.f();
}
;
}
return true;
}
}]);
}();
/**
* Quote Name given to quote by sales team or system generated. Generally used as a reference to identify the quote.
* @member {String} quoteName
*/
QuoteDetailsResponse.prototype['quoteName'] = undefined;
/**
* Unique identifier generated by Ingram Micro's CRM specific to each quote. When applying a filter to the quoteNumber and including a partial quote number in the filter, all quotes containing any information included in the filter can be retrieved as a subset of all available customer quotes.
* @member {String} quoteNumber
*/
QuoteDetailsResponse.prototype['quoteNumber'] = undefined;
/**
* @member {String} quoteGuid
*/
QuoteDetailsResponse.prototype['quoteGuid'] = undefined;
/**
* When a quote has been revised and updated, the quote number remains the same throughout the lifecycle of the quote, however, a Revision number is updated for each revision of the quote. The revision numbers is associated with the Unique Quote Number.
* @member {String} revision
*/
QuoteDetailsResponse.prototype['revision'] = undefined;
/**
* Date the Quote was initially Created.
* @member {String} ingramQuoteDate
*/
QuoteDetailsResponse.prototype['ingramQuoteDate'] = undefined;
/**
* Date the Quote was last updated or modified.
* @member {String} lastModifiedDate
*/
QuoteDetailsResponse.prototype['lastModifiedDate'] = undefined;
/**
* Quote expiration date.
* @member {String} ingramQuoteExpiryDate
*/
QuoteDetailsResponse.prototype['ingramQuoteExpiryDate'] = undefined;
/**
* Three letter currency code.
* @member {String} currencyCode
*/
QuoteDetailsResponse.prototype['currencyCode'] = undefined;
/**
* Price discount identifyer to specify a pricing discount that has been applied to the quote. If present - the priceDeviationStartDate and priceDeviationExpiryDate must be presented. Cisco refers to this as a Dart
* @member {String} specialBidId
*/
QuoteDetailsResponse.prototype['specialBidId'] = undefined;
/**
* If price discount has been applied to the quote - the starting date the discount begins.
* @member {String} specialBidEffectiveDate
*/
QuoteDetailsResponse.prototype['specialBidEffectiveDate'] = undefined;
/**
* If a price discount has been applied to the quote - The date the discount expires and will no longer be applicable.
* @member {String} specialBidExpirationDate
*/
QuoteDetailsResponse.prototype['specialBidExpirationDate'] = undefined;
/**
* @member {String} vendorQuoteNumber
*/
QuoteDetailsResponse.prototype['vendorQuoteNumber'] = undefined;
/**
* @member {Boolean} isPartialOrderAllowed
*/
QuoteDetailsResponse.prototype['isPartialOrderAllowed'] = undefined;
/**
* This refers to the primary status of the quote. API responses will return
* @member {String} status
*/
QuoteDetailsResponse.prototype['status'] = undefined;
/**
* @member {String} statusReason
*/
QuoteDetailsResponse.prototype['statusReason'] = undefined;
/**
* Closing Reason for quote.
* @member {String} closingReason
*/
QuoteDetailsResponse.prototype['closingReason'] = undefined;
/**
* @member {String} dateClosed
*/
QuoteDetailsResponse.prototype['dateClosed'] = undefined;
/**
* Details related to the customer's request for the quote entered by the sales representative or system generated.
* @member {String} customerNeed
*/
QuoteDetailsResponse.prototype['customerNeed'] = undefined;
/**
* Ingram Micro proposed solution and summary of quote.
* @member {String} proposedSolution
*/
QuoteDetailsResponse.prototype['proposedSolution'] = undefined;
/**
* Introductory paragraph included in each quote. Legally required - must be included when presenting the quote details.
* @member {String} introPreamble
*/
QuoteDetailsResponse.prototype['introPreamble'] = undefined;
/**
* Purchase instructions. Legally required - must be included when presenting the quote details.
* @member {String} purchaseInstructions
*/
QuoteDetailsResponse.prototype['purchaseInstructions'] = undefined;
/**
* Legal terms - Legally required - must be included when presenting the quote details.
* @member {String} legalTerms
*/
QuoteDetailsResponse.prototype['legalTerms'] = undefined;
/**
* @member {String} quoteType
*/
QuoteDetailsResponse.prototype['quoteType'] = undefined;
/**
* Lease information.
* @member {String} leaseInfo
*/
QuoteDetailsResponse.prototype['leaseInfo'] = undefined;
/**
* Leasing information
* @member {String} leasingInstructions
*/
QuoteDetailsResponse.prototype['leasingInstructions'] = undefined;
/**
* Warehouse name and Address
* @member {String} imWarehouse
*/
QuoteDetailsResponse.prototype['imWarehouse'] = undefined;
/**
* Warehouse GST Number
* @member {String} imWarehouseGstNumber
*/
QuoteDetailsResponse.prototype['imWarehouseGstNumber'] = undefined;
/**
* @member {String} paymentTermsName
*/
QuoteDetailsResponse.prototype['paymentTermsName'] = undefined;
/**
* @member {module:model/QuoteDetailsResponseResellerInfo} resellerInfo
*/
QuoteDetailsResponse.prototype['resellerInfo'] = undefined;
/**
* @member {module:model/QuoteDetailsResponseEndUserInfo} endUserInfo
*/
QuoteDetailsResponse.prototype['endUserInfo'] = undefined;
/**
* @member {module:model/QuoteDetailsResponseShippingInfo} shippingInfo
*/
QuoteDetailsResponse.prototype['shippingInfo'] = undefined;
/**
* @member {Array.<module:model/QuoteDetailsResponseProductsInner>} products
*/
QuoteDetailsResponse.prototype['products'] = undefined;
/**
* Total number of products included in the quote
* @member {Number} productsCount
*/
QuoteDetailsResponse.prototype['productsCount'] = undefined;
/**
* Total extended MSRP for all products included in the quote
* @member {Number} extendedMsrpTotal
*/
QuoteDetailsResponse.prototype['extendedMsrpTotal'] = undefined;
/**
* Total quantity of all items in the quote.
* @member {Number} quantityTotal
*/
QuoteDetailsResponse.prototype['quantityTotal'] = undefined;
/**
* @member {Number} extraFeesTotal
*/
QuoteDetailsResponse.prototype['extraFeesTotal'] = undefined;
/**
* @member {Array.<module:model/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner>} extraFeesTotalDetails
*/
QuoteDetailsResponse.prototype['extraFeesTotalDetails'] = undefined;
/**
* @member {Number} taxTotal
*/
QuoteDetailsResponse.prototype['taxTotal'] = undefined;
/**
* Total amount of quoted price for all products in the quote including both solution products and suggested products.
* @member {Number} extendedQuotePriceTotal
*/
QuoteDetailsResponse.prototype['extendedQuotePriceTotal'] = undefined;
/**
* @member {Number} freightAmount
*/
QuoteDetailsResponse.prototype['freightAmount'] = undefined;
/**
* @member {String} totalQuoteAmount
*/
QuoteDetailsResponse.prototype['totalQuoteAmount'] = undefined;
/**
* @member {Array.<module:model/QuoteDetailsResponseAdditionalAttributesInner>} additionalAttributes
*/
QuoteDetailsResponse.prototype['additionalAttributes'] = undefined;
var _default = exports["default"] = QuoteDetailsResponse;