61 lines
3.6 KiB
JavaScript
61 lines
3.6 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.instanceOfV3FbsTariffication = instanceOfV3FbsTariffication;
|
||
exports.V3FbsTarifficationFromJSON = V3FbsTarifficationFromJSON;
|
||
exports.V3FbsTarifficationFromJSONTyped = V3FbsTarifficationFromJSONTyped;
|
||
exports.V3FbsTarifficationToJSON = V3FbsTarifficationToJSON;
|
||
/**
|
||
* Check if a given object implements the V3FbsTariffication interface.
|
||
*/
|
||
function instanceOfV3FbsTariffication(value) {
|
||
return true;
|
||
}
|
||
function V3FbsTarifficationFromJSON(json) {
|
||
return V3FbsTarifficationFromJSONTyped(json, false);
|
||
}
|
||
function V3FbsTarifficationFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'current_tariff_rate': json['current_tariff_rate'] == null ? undefined : json['current_tariff_rate'],
|
||
'current_tariff_type': json['current_tariff_type'] == null ? undefined : json['current_tariff_type'],
|
||
'current_tariff_charge': json['current_tariff_charge'] == null ? undefined : json['current_tariff_charge'],
|
||
'current_tariff_charge_currency_code': json['current_tariff_charge_currency_code'] == null ? undefined : json['current_tariff_charge_currency_code'],
|
||
'next_tariff_rate': json['next_tariff_rate'] == null ? undefined : json['next_tariff_rate'],
|
||
'next_tariff_type': json['next_tariff_type'] == null ? undefined : json['next_tariff_type'],
|
||
'next_tariff_charge': json['next_tariff_charge'] == null ? undefined : json['next_tariff_charge'],
|
||
'next_tariff_starts_at': json['next_tariff_starts_at'] == null ? undefined : json['next_tariff_starts_at'],
|
||
'next_tariff_charge_currency_code': json['next_tariff_charge_currency_code'] == null ? undefined : json['next_tariff_charge_currency_code'],
|
||
};
|
||
}
|
||
function V3FbsTarifficationToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'current_tariff_rate': value['current_tariff_rate'],
|
||
'current_tariff_type': value['current_tariff_type'],
|
||
'current_tariff_charge': value['current_tariff_charge'],
|
||
'current_tariff_charge_currency_code': value['current_tariff_charge_currency_code'],
|
||
'next_tariff_rate': value['next_tariff_rate'],
|
||
'next_tariff_type': value['next_tariff_type'],
|
||
'next_tariff_charge': value['next_tariff_charge'],
|
||
'next_tariff_starts_at': value['next_tariff_starts_at'],
|
||
'next_tariff_charge_currency_code': value['next_tariff_charge_currency_code'],
|
||
};
|
||
}
|