UNPKG

wallee

Version:
37 lines (36 loc) 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfDunningFlowType = instanceOfDunningFlowType; exports.DunningFlowTypeFromJSON = DunningFlowTypeFromJSON; exports.DunningFlowTypeFromJSONTyped = DunningFlowTypeFromJSONTyped; exports.DunningFlowTypeToJSON = DunningFlowTypeToJSON; exports.DunningFlowTypeToJSONTyped = DunningFlowTypeToJSONTyped; /** * Check if a given object implements the DunningFlowType interface. */ function instanceOfDunningFlowType(value) { return true; } function DunningFlowTypeFromJSON(json) { return DunningFlowTypeFromJSONTyped(json, false); } function DunningFlowTypeFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'specificCountry': json['specificCountry'] == null ? undefined : json['specificCountry'], 'name': json['name'] == null ? undefined : json['name'], 'description': json['description'] == null ? undefined : json['description'], 'id': json['id'] == null ? undefined : json['id'], }; } function DunningFlowTypeToJSON(json) { return DunningFlowTypeToJSONTyped(json, false); } function DunningFlowTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }