UNPKG

wallee

Version:
37 lines (36 loc) 1.84 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPaymentProcessorConfigurationListResponse = instanceOfPaymentProcessorConfigurationListResponse; exports.PaymentProcessorConfigurationListResponseFromJSON = PaymentProcessorConfigurationListResponseFromJSON; exports.PaymentProcessorConfigurationListResponseFromJSONTyped = PaymentProcessorConfigurationListResponseFromJSONTyped; exports.PaymentProcessorConfigurationListResponseToJSON = PaymentProcessorConfigurationListResponseToJSON; exports.PaymentProcessorConfigurationListResponseToJSONTyped = PaymentProcessorConfigurationListResponseToJSONTyped; const PaymentProcessorConfiguration_1 = require("./PaymentProcessorConfiguration"); /** * Check if a given object implements the PaymentProcessorConfigurationListResponse interface. */ function instanceOfPaymentProcessorConfigurationListResponse(value) { return true; } function PaymentProcessorConfigurationListResponseFromJSON(json) { return PaymentProcessorConfigurationListResponseFromJSONTyped(json, false); } function PaymentProcessorConfigurationListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(PaymentProcessorConfiguration_1.PaymentProcessorConfigurationFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function PaymentProcessorConfigurationListResponseToJSON(json) { return PaymentProcessorConfigurationListResponseToJSONTyped(json, false); } function PaymentProcessorConfigurationListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }