UNPKG

wallee

Version:
36 lines (35 loc) 1.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPaymentTerminalReceiptType = instanceOfPaymentTerminalReceiptType; exports.PaymentTerminalReceiptTypeFromJSON = PaymentTerminalReceiptTypeFromJSON; exports.PaymentTerminalReceiptTypeFromJSONTyped = PaymentTerminalReceiptTypeFromJSONTyped; exports.PaymentTerminalReceiptTypeToJSON = PaymentTerminalReceiptTypeToJSON; exports.PaymentTerminalReceiptTypeToJSONTyped = PaymentTerminalReceiptTypeToJSONTyped; /** * Check if a given object implements the PaymentTerminalReceiptType interface. */ function instanceOfPaymentTerminalReceiptType(value) { return true; } function PaymentTerminalReceiptTypeFromJSON(json) { return PaymentTerminalReceiptTypeFromJSONTyped(json, false); } function PaymentTerminalReceiptTypeFromJSONTyped(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'], }; } function PaymentTerminalReceiptTypeToJSON(json) { return PaymentTerminalReceiptTypeToJSONTyped(json, false); } function PaymentTerminalReceiptTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }