65 lines
3.4 KiB
JavaScript
65 lines
3.4 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.instanceOfRowItemCommission = instanceOfRowItemCommission;
|
||
exports.RowItemCommissionFromJSON = RowItemCommissionFromJSON;
|
||
exports.RowItemCommissionFromJSONTyped = RowItemCommissionFromJSONTyped;
|
||
exports.RowItemCommissionToJSON = RowItemCommissionToJSON;
|
||
/**
|
||
* Check if a given object implements the RowItemCommission interface.
|
||
*/
|
||
function instanceOfRowItemCommission(value) {
|
||
return true;
|
||
}
|
||
function RowItemCommissionFromJSON(json) {
|
||
return RowItemCommissionFromJSONTyped(json, false);
|
||
}
|
||
function RowItemCommissionFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'amount': json['amount'] == null ? undefined : json['amount'],
|
||
'bonus': json['bonus'] == null ? undefined : json['bonus'],
|
||
'commission': json['commission'] == null ? undefined : json['commission'],
|
||
'compensation': json['compensation'] == null ? undefined : json['compensation'],
|
||
'price_per_instance': json['price_per_instance'] == null ? undefined : json['price_per_instance'],
|
||
'quantity': json['quantity'] == null ? undefined : json['quantity'],
|
||
'standard_fee': json['standard_fee'] == null ? undefined : json['standard_fee'],
|
||
'bank_coinvestment': json['bank_coinvestment'] == null ? undefined : json['bank_coinvestment'],
|
||
'stars': json['stars'] == null ? undefined : json['stars'],
|
||
'pick_up_point_coinvestment': json['pick_up_point_coinvestment'] == null ? undefined : json['pick_up_point_coinvestment'],
|
||
'total': json['total'] == null ? undefined : json['total'],
|
||
};
|
||
}
|
||
function RowItemCommissionToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'amount': value['amount'],
|
||
'bonus': value['bonus'],
|
||
'commission': value['commission'],
|
||
'compensation': value['compensation'],
|
||
'price_per_instance': value['price_per_instance'],
|
||
'quantity': value['quantity'],
|
||
'standard_fee': value['standard_fee'],
|
||
'bank_coinvestment': value['bank_coinvestment'],
|
||
'stars': value['stars'],
|
||
'pick_up_point_coinvestment': value['pick_up_point_coinvestment'],
|
||
'total': value['total'],
|
||
};
|
||
}
|