59 lines
3.7 KiB
JavaScript
59 lines
3.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.instanceOfFinancev3FinanceTransactionTotalsV3ResponseResult = instanceOfFinancev3FinanceTransactionTotalsV3ResponseResult;
|
||
exports.Financev3FinanceTransactionTotalsV3ResponseResultFromJSON = Financev3FinanceTransactionTotalsV3ResponseResultFromJSON;
|
||
exports.Financev3FinanceTransactionTotalsV3ResponseResultFromJSONTyped = Financev3FinanceTransactionTotalsV3ResponseResultFromJSONTyped;
|
||
exports.Financev3FinanceTransactionTotalsV3ResponseResultToJSON = Financev3FinanceTransactionTotalsV3ResponseResultToJSON;
|
||
/**
|
||
* Check if a given object implements the Financev3FinanceTransactionTotalsV3ResponseResult interface.
|
||
*/
|
||
function instanceOfFinancev3FinanceTransactionTotalsV3ResponseResult(value) {
|
||
return true;
|
||
}
|
||
function Financev3FinanceTransactionTotalsV3ResponseResultFromJSON(json) {
|
||
return Financev3FinanceTransactionTotalsV3ResponseResultFromJSONTyped(json, false);
|
||
}
|
||
function Financev3FinanceTransactionTotalsV3ResponseResultFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'accruals_for_sale': json['accruals_for_sale'] == null ? undefined : json['accruals_for_sale'],
|
||
'compensation_amount': json['compensation_amount'] == null ? undefined : json['compensation_amount'],
|
||
'money_transfer': json['money_transfer'] == null ? undefined : json['money_transfer'],
|
||
'others_amount': json['others_amount'] == null ? undefined : json['others_amount'],
|
||
'processing_and_delivery': json['processing_and_delivery'] == null ? undefined : json['processing_and_delivery'],
|
||
'refunds_and_cancellations': json['refunds_and_cancellations'] == null ? undefined : json['refunds_and_cancellations'],
|
||
'sale_commission': json['sale_commission'] == null ? undefined : json['sale_commission'],
|
||
'services_amount': json['services_amount'] == null ? undefined : json['services_amount'],
|
||
};
|
||
}
|
||
function Financev3FinanceTransactionTotalsV3ResponseResultToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'accruals_for_sale': value['accruals_for_sale'],
|
||
'compensation_amount': value['compensation_amount'],
|
||
'money_transfer': value['money_transfer'],
|
||
'others_amount': value['others_amount'],
|
||
'processing_and_delivery': value['processing_and_delivery'],
|
||
'refunds_and_cancellations': value['refunds_and_cancellations'],
|
||
'sale_commission': value['sale_commission'],
|
||
'services_amount': value['services_amount'],
|
||
};
|
||
}
|