wallee
Version:
TypeScript/JavaScript client for wallee
30 lines (29 loc) • 957 B
JavaScript
/**
* Check if a given object implements the DunningFlowType interface.
*/
export function instanceOfDunningFlowType(value) {
return true;
}
export function DunningFlowTypeFromJSON(json) {
return DunningFlowTypeFromJSONTyped(json, false);
}
export 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'],
};
}
export function DunningFlowTypeToJSON(json) {
return DunningFlowTypeToJSONTyped(json, false);
}
export function DunningFlowTypeToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}