wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.84 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfPaymentConnectorConfigurationListResponse = instanceOfPaymentConnectorConfigurationListResponse;
exports.PaymentConnectorConfigurationListResponseFromJSON = PaymentConnectorConfigurationListResponseFromJSON;
exports.PaymentConnectorConfigurationListResponseFromJSONTyped = PaymentConnectorConfigurationListResponseFromJSONTyped;
exports.PaymentConnectorConfigurationListResponseToJSON = PaymentConnectorConfigurationListResponseToJSON;
exports.PaymentConnectorConfigurationListResponseToJSONTyped = PaymentConnectorConfigurationListResponseToJSONTyped;
const PaymentConnectorConfiguration_1 = require("./PaymentConnectorConfiguration");
/**
* Check if a given object implements the PaymentConnectorConfigurationListResponse interface.
*/
function instanceOfPaymentConnectorConfigurationListResponse(value) {
return true;
}
function PaymentConnectorConfigurationListResponseFromJSON(json) {
return PaymentConnectorConfigurationListResponseFromJSONTyped(json, false);
}
function PaymentConnectorConfigurationListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(PaymentConnectorConfiguration_1.PaymentConnectorConfigurationFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function PaymentConnectorConfigurationListResponseToJSON(json) {
return PaymentConnectorConfigurationListResponseToJSONTyped(json, false);
}
function PaymentConnectorConfigurationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}