wallee
Version:
TypeScript/JavaScript client for wallee
38 lines (37 loc) • 1.95 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfPaymentConnectorConfigurationSearchResponse = instanceOfPaymentConnectorConfigurationSearchResponse;
exports.PaymentConnectorConfigurationSearchResponseFromJSON = PaymentConnectorConfigurationSearchResponseFromJSON;
exports.PaymentConnectorConfigurationSearchResponseFromJSONTyped = PaymentConnectorConfigurationSearchResponseFromJSONTyped;
exports.PaymentConnectorConfigurationSearchResponseToJSON = PaymentConnectorConfigurationSearchResponseToJSON;
exports.PaymentConnectorConfigurationSearchResponseToJSONTyped = PaymentConnectorConfigurationSearchResponseToJSONTyped;
const PaymentConnectorConfiguration_1 = require("./PaymentConnectorConfiguration");
/**
* Check if a given object implements the PaymentConnectorConfigurationSearchResponse interface.
*/
function instanceOfPaymentConnectorConfigurationSearchResponse(value) {
return true;
}
function PaymentConnectorConfigurationSearchResponseFromJSON(json) {
return PaymentConnectorConfigurationSearchResponseFromJSONTyped(json, false);
}
function PaymentConnectorConfigurationSearchResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(PaymentConnectorConfiguration_1.PaymentConnectorConfigurationFromJSON)),
'offset': json['offset'] == null ? undefined : json['offset'],
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function PaymentConnectorConfigurationSearchResponseToJSON(json) {
return PaymentConnectorConfigurationSearchResponseToJSONTyped(json, false);
}
function PaymentConnectorConfigurationSearchResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}