52 lines
3.3 KiB
JavaScript
52 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.instanceOfPostingV1GetFbpPostingResponsePostingFinancialData = instanceOfPostingV1GetFbpPostingResponsePostingFinancialData;
|
||
exports.PostingV1GetFbpPostingResponsePostingFinancialDataFromJSON = PostingV1GetFbpPostingResponsePostingFinancialDataFromJSON;
|
||
exports.PostingV1GetFbpPostingResponsePostingFinancialDataFromJSONTyped = PostingV1GetFbpPostingResponsePostingFinancialDataFromJSONTyped;
|
||
exports.PostingV1GetFbpPostingResponsePostingFinancialDataToJSON = PostingV1GetFbpPostingResponsePostingFinancialDataToJSON;
|
||
const PostingV1GetFbpPostingResponsePostingFinancialDataProducts_1 = require("./PostingV1GetFbpPostingResponsePostingFinancialDataProducts");
|
||
/**
|
||
* Check if a given object implements the PostingV1GetFbpPostingResponsePostingFinancialData interface.
|
||
*/
|
||
function instanceOfPostingV1GetFbpPostingResponsePostingFinancialData(value) {
|
||
return true;
|
||
}
|
||
function PostingV1GetFbpPostingResponsePostingFinancialDataFromJSON(json) {
|
||
return PostingV1GetFbpPostingResponsePostingFinancialDataFromJSONTyped(json, false);
|
||
}
|
||
function PostingV1GetFbpPostingResponsePostingFinancialDataFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'cluster_from': json['cluster_from'] == null ? undefined : json['cluster_from'],
|
||
'cluster_to': json['cluster_to'] == null ? undefined : json['cluster_to'],
|
||
'delivery_amount': json['delivery_amount'] == null ? undefined : json['delivery_amount'],
|
||
'products': json['products'] == null ? undefined : (json['products'].map(PostingV1GetFbpPostingResponsePostingFinancialDataProducts_1.PostingV1GetFbpPostingResponsePostingFinancialDataProductsFromJSON)),
|
||
};
|
||
}
|
||
function PostingV1GetFbpPostingResponsePostingFinancialDataToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'cluster_from': value['cluster_from'],
|
||
'cluster_to': value['cluster_to'],
|
||
'delivery_amount': value['delivery_amount'],
|
||
'products': value['products'] == null ? undefined : (value['products'].map(PostingV1GetFbpPostingResponsePostingFinancialDataProducts_1.PostingV1GetFbpPostingResponsePostingFinancialDataProductsToJSON)),
|
||
};
|
||
}
|