UNPKG

wallee

Version:
38 lines (37 loc) 1.95 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPaymentProcessorConfigurationSearchResponse = instanceOfPaymentProcessorConfigurationSearchResponse; exports.PaymentProcessorConfigurationSearchResponseFromJSON = PaymentProcessorConfigurationSearchResponseFromJSON; exports.PaymentProcessorConfigurationSearchResponseFromJSONTyped = PaymentProcessorConfigurationSearchResponseFromJSONTyped; exports.PaymentProcessorConfigurationSearchResponseToJSON = PaymentProcessorConfigurationSearchResponseToJSON; exports.PaymentProcessorConfigurationSearchResponseToJSONTyped = PaymentProcessorConfigurationSearchResponseToJSONTyped; const PaymentProcessorConfiguration_1 = require("./PaymentProcessorConfiguration"); /** * Check if a given object implements the PaymentProcessorConfigurationSearchResponse interface. */ function instanceOfPaymentProcessorConfigurationSearchResponse(value) { return true; } function PaymentProcessorConfigurationSearchResponseFromJSON(json) { return PaymentProcessorConfigurationSearchResponseFromJSONTyped(json, false); } function PaymentProcessorConfigurationSearchResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(PaymentProcessorConfiguration_1.PaymentProcessorConfigurationFromJSON)), 'offset': json['offset'] == null ? undefined : json['offset'], 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function PaymentProcessorConfigurationSearchResponseToJSON(json) { return PaymentProcessorConfigurationSearchResponseToJSONTyped(json, false); } function PaymentProcessorConfigurationSearchResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }