release 0.1.0
This commit is contained in:
53
dist/models/V1DeliveryCheckoutRequest.js
vendored
Normal file
53
dist/models/V1DeliveryCheckoutRequest.js
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
"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.instanceOfV1DeliveryCheckoutRequest = instanceOfV1DeliveryCheckoutRequest;
|
||||
exports.V1DeliveryCheckoutRequestFromJSON = V1DeliveryCheckoutRequestFromJSON;
|
||||
exports.V1DeliveryCheckoutRequestFromJSONTyped = V1DeliveryCheckoutRequestFromJSONTyped;
|
||||
exports.V1DeliveryCheckoutRequestToJSON = V1DeliveryCheckoutRequestToJSON;
|
||||
const V1DeliveryCheckoutRequestItem_1 = require("./V1DeliveryCheckoutRequestItem");
|
||||
const V2DeliveryCheckoutRequestV2DeliverySchemaEnum_1 = require("./V2DeliveryCheckoutRequestV2DeliverySchemaEnum");
|
||||
const V1DeliveryCheckoutRequestDeliveryType_1 = require("./V1DeliveryCheckoutRequestDeliveryType");
|
||||
/**
|
||||
* Check if a given object implements the V1DeliveryCheckoutRequest interface.
|
||||
*/
|
||||
function instanceOfV1DeliveryCheckoutRequest(value) {
|
||||
return true;
|
||||
}
|
||||
function V1DeliveryCheckoutRequestFromJSON(json) {
|
||||
return V1DeliveryCheckoutRequestFromJSONTyped(json, false);
|
||||
}
|
||||
function V1DeliveryCheckoutRequestFromJSONTyped(json, ignoreDiscriminator) {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
'buyer_phone': json['buyer_phone'] == null ? undefined : json['buyer_phone'],
|
||||
'delivery_schema': json['delivery_schema'] == null ? undefined : (0, V2DeliveryCheckoutRequestV2DeliverySchemaEnum_1.V2DeliveryCheckoutRequestV2DeliverySchemaEnumFromJSON)(json['delivery_schema']),
|
||||
'delivery_type': json['delivery_type'] == null ? undefined : (0, V1DeliveryCheckoutRequestDeliveryType_1.V1DeliveryCheckoutRequestDeliveryTypeFromJSON)(json['delivery_type']),
|
||||
'items': json['items'] == null ? undefined : (json['items'].map(V1DeliveryCheckoutRequestItem_1.V1DeliveryCheckoutRequestItemFromJSON)),
|
||||
};
|
||||
}
|
||||
function V1DeliveryCheckoutRequestToJSON(value) {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
'buyer_phone': value['buyer_phone'],
|
||||
'delivery_schema': (0, V2DeliveryCheckoutRequestV2DeliverySchemaEnum_1.V2DeliveryCheckoutRequestV2DeliverySchemaEnumToJSON)(value['delivery_schema']),
|
||||
'delivery_type': (0, V1DeliveryCheckoutRequestDeliveryType_1.V1DeliveryCheckoutRequestDeliveryTypeToJSON)(value['delivery_type']),
|
||||
'items': value['items'] == null ? undefined : (value['items'].map(V1DeliveryCheckoutRequestItem_1.V1DeliveryCheckoutRequestItemToJSON)),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user