UNPKG

wallee

Version:
37 lines (36 loc) 1.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPaymentConnectorListResponse = instanceOfPaymentConnectorListResponse; exports.PaymentConnectorListResponseFromJSON = PaymentConnectorListResponseFromJSON; exports.PaymentConnectorListResponseFromJSONTyped = PaymentConnectorListResponseFromJSONTyped; exports.PaymentConnectorListResponseToJSON = PaymentConnectorListResponseToJSON; exports.PaymentConnectorListResponseToJSONTyped = PaymentConnectorListResponseToJSONTyped; const PaymentConnector_1 = require("./PaymentConnector"); /** * Check if a given object implements the PaymentConnectorListResponse interface. */ function instanceOfPaymentConnectorListResponse(value) { return true; } function PaymentConnectorListResponseFromJSON(json) { return PaymentConnectorListResponseFromJSONTyped(json, false); } function PaymentConnectorListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(PaymentConnector_1.PaymentConnectorFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function PaymentConnectorListResponseToJSON(json) { return PaymentConnectorListResponseToJSONTyped(json, false); } function PaymentConnectorListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }