"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Документация Ozon Seller API * По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. > [Инструкции по работе с маркетплейсом](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'], }; }