"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.instanceOfV3Cancellation = instanceOfV3Cancellation; exports.V3CancellationFromJSON = V3CancellationFromJSON; exports.V3CancellationFromJSONTyped = V3CancellationFromJSONTyped; exports.V3CancellationToJSON = V3CancellationToJSON; /** * Check if a given object implements the V3Cancellation interface. */ function instanceOfV3Cancellation(value) { return true; } function V3CancellationFromJSON(json) { return V3CancellationFromJSONTyped(json, false); } function V3CancellationFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'affect_cancellation_rating': json['affect_cancellation_rating'] == null ? undefined : json['affect_cancellation_rating'], 'cancel_reason': json['cancel_reason'] == null ? undefined : json['cancel_reason'], 'cancel_reason_id': json['cancel_reason_id'] == null ? undefined : json['cancel_reason_id'], 'cancellation_initiator': json['cancellation_initiator'] == null ? undefined : json['cancellation_initiator'], 'cancellation_type': json['cancellation_type'] == null ? undefined : json['cancellation_type'], 'cancelled_after_ship': json['cancelled_after_ship'] == null ? undefined : json['cancelled_after_ship'], }; } function V3CancellationToJSON(value) { if (value == null) { return value; } return { 'affect_cancellation_rating': value['affect_cancellation_rating'], 'cancel_reason': value['cancel_reason'], 'cancel_reason_id': value['cancel_reason_id'], 'cancellation_initiator': value['cancellation_initiator'], 'cancellation_type': value['cancellation_type'], 'cancelled_after_ship': value['cancelled_after_ship'], }; }