53 lines
3.2 KiB
JavaScript
53 lines
3.2 KiB
JavaScript
"use strict";
|
||
/* tslint:disable */
|
||
/* eslint-disable */
|
||
/**
|
||
* Документация Ozon Seller API
|
||
* По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. <aside class=\"warning\">Обновляем корневой TLS/SSL-сертификат GlobalSign — вместо него будем использовать <a href=\"https://app.harica.gr/\">HARICA</a>.<br><a href=\"https://dev.ozon.ru/news/775-Izmeneniia-v-Ozon-API-migratsiia-kornevogo-sertifikata-UTs-Ozon/\">Подробнее о переходе на HARICA на платформе разработчиков Ozon for dev</a></aside> > [Инструкции по работе с маркетплейсом](https://seller-edu.ozon.ru) > [Информационная платформа и сообщество разработчиков Ozon for dev](https://dev.ozon.ru/)
|
||
*
|
||
* The version of the OpenAPI document: 2.1
|
||
*
|
||
*
|
||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||
* https://openapi-generator.tech
|
||
* Do not edit the class manually.
|
||
*/
|
||
Object.defineProperty(exports, "__esModule", { value: true });
|
||
exports.instanceOfV1OrderCancelCheckResponse = instanceOfV1OrderCancelCheckResponse;
|
||
exports.V1OrderCancelCheckResponseFromJSON = V1OrderCancelCheckResponseFromJSON;
|
||
exports.V1OrderCancelCheckResponseFromJSONTyped = V1OrderCancelCheckResponseFromJSONTyped;
|
||
exports.V1OrderCancelCheckResponseToJSON = V1OrderCancelCheckResponseToJSON;
|
||
const OrderCancelCheckResponsePostingGroup_1 = require("./OrderCancelCheckResponsePostingGroup");
|
||
const OrderCancelCheckResponsePosting_1 = require("./OrderCancelCheckResponsePosting");
|
||
/**
|
||
* Check if a given object implements the V1OrderCancelCheckResponse interface.
|
||
*/
|
||
function instanceOfV1OrderCancelCheckResponse(value) {
|
||
return true;
|
||
}
|
||
function V1OrderCancelCheckResponseFromJSON(json) {
|
||
return V1OrderCancelCheckResponseFromJSONTyped(json, false);
|
||
}
|
||
function V1OrderCancelCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'cancellable': json['cancellable'] == null ? undefined : json['cancellable'],
|
||
'order_number': json['order_number'] == null ? undefined : json['order_number'],
|
||
'posting_groups': json['posting_groups'] == null ? undefined : (json['posting_groups'].map(OrderCancelCheckResponsePostingGroup_1.OrderCancelCheckResponsePostingGroupFromJSON)),
|
||
'postings': json['postings'] == null ? undefined : (json['postings'].map(OrderCancelCheckResponsePosting_1.OrderCancelCheckResponsePostingFromJSON)),
|
||
};
|
||
}
|
||
function V1OrderCancelCheckResponseToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'cancellable': value['cancellable'],
|
||
'order_number': value['order_number'],
|
||
'posting_groups': value['posting_groups'] == null ? undefined : (value['posting_groups'].map(OrderCancelCheckResponsePostingGroup_1.OrderCancelCheckResponsePostingGroupToJSON)),
|
||
'postings': value['postings'] == null ? undefined : (value['postings'].map(OrderCancelCheckResponsePosting_1.OrderCancelCheckResponsePostingToJSON)),
|
||
};
|
||
}
|