63 lines
3.3 KiB
JavaScript
63 lines
3.3 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.instanceOfItemPricev5 = instanceOfItemPricev5;
|
||
exports.ItemPricev5FromJSON = ItemPricev5FromJSON;
|
||
exports.ItemPricev5FromJSONTyped = ItemPricev5FromJSONTyped;
|
||
exports.ItemPricev5ToJSON = ItemPricev5ToJSON;
|
||
/**
|
||
* Check if a given object implements the ItemPricev5 interface.
|
||
*/
|
||
function instanceOfItemPricev5(value) {
|
||
return true;
|
||
}
|
||
function ItemPricev5FromJSON(json) {
|
||
return ItemPricev5FromJSONTyped(json, false);
|
||
}
|
||
function ItemPricev5FromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'auto_action_enabled': json['auto_action_enabled'] == null ? undefined : json['auto_action_enabled'],
|
||
'auto_add_to_ozon_actions_list_enabled': json['auto_add_to_ozon_actions_list_enabled'] == null ? undefined : json['auto_add_to_ozon_actions_list_enabled'],
|
||
'currency_code': json['currency_code'] == null ? undefined : json['currency_code'],
|
||
'marketing_seller_price': json['marketing_seller_price'] == null ? undefined : json['marketing_seller_price'],
|
||
'min_price': json['min_price'] == null ? undefined : json['min_price'],
|
||
'net_price': json['net_price'] == null ? undefined : json['net_price'],
|
||
'old_price': json['old_price'] == null ? undefined : json['old_price'],
|
||
'price': json['price'] == null ? undefined : json['price'],
|
||
'retail_price': json['retail_price'] == null ? undefined : json['retail_price'],
|
||
'vat': json['vat'] == null ? undefined : json['vat'],
|
||
};
|
||
}
|
||
function ItemPricev5ToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'auto_action_enabled': value['auto_action_enabled'],
|
||
'auto_add_to_ozon_actions_list_enabled': value['auto_add_to_ozon_actions_list_enabled'],
|
||
'currency_code': value['currency_code'],
|
||
'marketing_seller_price': value['marketing_seller_price'],
|
||
'min_price': value['min_price'],
|
||
'net_price': value['net_price'],
|
||
'old_price': value['old_price'],
|
||
'price': value['price'],
|
||
'retail_price': value['retail_price'],
|
||
'vat': value['vat'],
|
||
};
|
||
}
|