UNPKG

wallee

Version:
36 lines (35 loc) 1.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfDebtCollectionReceiptSource = instanceOfDebtCollectionReceiptSource; exports.DebtCollectionReceiptSourceFromJSON = DebtCollectionReceiptSourceFromJSON; exports.DebtCollectionReceiptSourceFromJSONTyped = DebtCollectionReceiptSourceFromJSONTyped; exports.DebtCollectionReceiptSourceToJSON = DebtCollectionReceiptSourceToJSON; exports.DebtCollectionReceiptSourceToJSONTyped = DebtCollectionReceiptSourceToJSONTyped; /** * Check if a given object implements the DebtCollectionReceiptSource interface. */ function instanceOfDebtCollectionReceiptSource(value) { return true; } function DebtCollectionReceiptSourceFromJSON(json) { return DebtCollectionReceiptSourceFromJSONTyped(json, false); } function DebtCollectionReceiptSourceFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'description': json['description'] == null ? undefined : json['description'], 'id': json['id'] == null ? undefined : json['id'], }; } function DebtCollectionReceiptSourceToJSON(json) { return DebtCollectionReceiptSourceToJSONTyped(json, false); } function DebtCollectionReceiptSourceToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }