wallee
Version:
TypeScript/JavaScript client for wallee
29 lines (28 loc) • 861 B
JavaScript
/**
* Check if a given object implements the AbstractRefundCommentActive interface.
*/
export function instanceOfAbstractRefundCommentActive(value) {
return true;
}
export function AbstractRefundCommentActiveFromJSON(json) {
return AbstractRefundCommentActiveFromJSONTyped(json, false);
}
export function AbstractRefundCommentActiveFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'content': json['content'] == null ? undefined : json['content'],
};
}
export function AbstractRefundCommentActiveToJSON(json) {
return AbstractRefundCommentActiveToJSONTyped(json, false);
}
export function AbstractRefundCommentActiveToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'content': value['content'],
};
}