UNPKG

wallee

Version:
29 lines (28 loc) 955 B
/** * Check if a given object implements the DebtCollectionReceiptSource interface. */ export function instanceOfDebtCollectionReceiptSource(value) { return true; } export function DebtCollectionReceiptSourceFromJSON(json) { return DebtCollectionReceiptSourceFromJSONTyped(json, false); } export 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'], }; } export function DebtCollectionReceiptSourceToJSON(json) { return DebtCollectionReceiptSourceToJSONTyped(json, false); } export function DebtCollectionReceiptSourceToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }