71 lines
4.7 KiB
JavaScript
71 lines
4.7 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.instanceOfItemCommissionsv5 = instanceOfItemCommissionsv5;
|
||
exports.ItemCommissionsv5FromJSON = ItemCommissionsv5FromJSON;
|
||
exports.ItemCommissionsv5FromJSONTyped = ItemCommissionsv5FromJSONTyped;
|
||
exports.ItemCommissionsv5ToJSON = ItemCommissionsv5ToJSON;
|
||
/**
|
||
* Check if a given object implements the ItemCommissionsv5 interface.
|
||
*/
|
||
function instanceOfItemCommissionsv5(value) {
|
||
return true;
|
||
}
|
||
function ItemCommissionsv5FromJSON(json) {
|
||
return ItemCommissionsv5FromJSONTyped(json, false);
|
||
}
|
||
function ItemCommissionsv5FromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'fbo_deliv_to_customer_amount': json['fbo_deliv_to_customer_amount'] == null ? undefined : json['fbo_deliv_to_customer_amount'],
|
||
'fbo_direct_flow_trans_max_amount': json['fbo_direct_flow_trans_max_amount'] == null ? undefined : json['fbo_direct_flow_trans_max_amount'],
|
||
'fbo_direct_flow_trans_min_amount': json['fbo_direct_flow_trans_min_amount'] == null ? undefined : json['fbo_direct_flow_trans_min_amount'],
|
||
'fbo_return_flow_amount': json['fbo_return_flow_amount'] == null ? undefined : json['fbo_return_flow_amount'],
|
||
'fbs_deliv_to_customer_amount': json['fbs_deliv_to_customer_amount'] == null ? undefined : json['fbs_deliv_to_customer_amount'],
|
||
'fbs_direct_flow_trans_max_amount': json['fbs_direct_flow_trans_max_amount'] == null ? undefined : json['fbs_direct_flow_trans_max_amount'],
|
||
'fbs_direct_flow_trans_min_amount': json['fbs_direct_flow_trans_min_amount'] == null ? undefined : json['fbs_direct_flow_trans_min_amount'],
|
||
'fbs_first_mile_max_amount': json['fbs_first_mile_max_amount'] == null ? undefined : json['fbs_first_mile_max_amount'],
|
||
'fbs_first_mile_min_amount': json['fbs_first_mile_min_amount'] == null ? undefined : json['fbs_first_mile_min_amount'],
|
||
'fbs_return_flow_amount': json['fbs_return_flow_amount'] == null ? undefined : json['fbs_return_flow_amount'],
|
||
'sales_percent_fbo': json['sales_percent_fbo'] == null ? undefined : json['sales_percent_fbo'],
|
||
'sales_percent_fbp': json['sales_percent_fbp'] == null ? undefined : json['sales_percent_fbp'],
|
||
'sales_percent_fbs': json['sales_percent_fbs'] == null ? undefined : json['sales_percent_fbs'],
|
||
'sales_percent_rfbs': json['sales_percent_rfbs'] == null ? undefined : json['sales_percent_rfbs'],
|
||
};
|
||
}
|
||
function ItemCommissionsv5ToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'fbo_deliv_to_customer_amount': value['fbo_deliv_to_customer_amount'],
|
||
'fbo_direct_flow_trans_max_amount': value['fbo_direct_flow_trans_max_amount'],
|
||
'fbo_direct_flow_trans_min_amount': value['fbo_direct_flow_trans_min_amount'],
|
||
'fbo_return_flow_amount': value['fbo_return_flow_amount'],
|
||
'fbs_deliv_to_customer_amount': value['fbs_deliv_to_customer_amount'],
|
||
'fbs_direct_flow_trans_max_amount': value['fbs_direct_flow_trans_max_amount'],
|
||
'fbs_direct_flow_trans_min_amount': value['fbs_direct_flow_trans_min_amount'],
|
||
'fbs_first_mile_max_amount': value['fbs_first_mile_max_amount'],
|
||
'fbs_first_mile_min_amount': value['fbs_first_mile_min_amount'],
|
||
'fbs_return_flow_amount': value['fbs_return_flow_amount'],
|
||
'sales_percent_fbo': value['sales_percent_fbo'],
|
||
'sales_percent_fbp': value['sales_percent_fbp'],
|
||
'sales_percent_fbs': value['sales_percent_fbs'],
|
||
'sales_percent_rfbs': value['sales_percent_rfbs'],
|
||
};
|
||
}
|