UNPKG

wallee

Version:
37 lines (36 loc) 1.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfProductPeriodFeeListResponse = instanceOfProductPeriodFeeListResponse; exports.ProductPeriodFeeListResponseFromJSON = ProductPeriodFeeListResponseFromJSON; exports.ProductPeriodFeeListResponseFromJSONTyped = ProductPeriodFeeListResponseFromJSONTyped; exports.ProductPeriodFeeListResponseToJSON = ProductPeriodFeeListResponseToJSON; exports.ProductPeriodFeeListResponseToJSONTyped = ProductPeriodFeeListResponseToJSONTyped; const ProductPeriodFee_1 = require("./ProductPeriodFee"); /** * Check if a given object implements the ProductPeriodFeeListResponse interface. */ function instanceOfProductPeriodFeeListResponse(value) { return true; } function ProductPeriodFeeListResponseFromJSON(json) { return ProductPeriodFeeListResponseFromJSONTyped(json, false); } function ProductPeriodFeeListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(ProductPeriodFee_1.ProductPeriodFeeFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function ProductPeriodFeeListResponseToJSON(json) { return ProductPeriodFeeListResponseToJSONTyped(json, false); } function ProductPeriodFeeListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }