UNPKG

wallee

Version:
36 lines (35 loc) 1.33 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfAbstractRefundCommentActive = instanceOfAbstractRefundCommentActive; exports.AbstractRefundCommentActiveFromJSON = AbstractRefundCommentActiveFromJSON; exports.AbstractRefundCommentActiveFromJSONTyped = AbstractRefundCommentActiveFromJSONTyped; exports.AbstractRefundCommentActiveToJSON = AbstractRefundCommentActiveToJSON; exports.AbstractRefundCommentActiveToJSONTyped = AbstractRefundCommentActiveToJSONTyped; /** * Check if a given object implements the AbstractRefundCommentActive interface. */ function instanceOfAbstractRefundCommentActive(value) { return true; } function AbstractRefundCommentActiveFromJSON(json) { return AbstractRefundCommentActiveFromJSONTyped(json, false); } function AbstractRefundCommentActiveFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'content': json['content'] == null ? undefined : json['content'], }; } function AbstractRefundCommentActiveToJSON(json) { return AbstractRefundCommentActiveToJSONTyped(json, false); } function AbstractRefundCommentActiveToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'content': value['content'], }; }