UNPKG

wallee

Version:
35 lines (34 loc) 1.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPaymentInformationHashType = instanceOfPaymentInformationHashType; exports.PaymentInformationHashTypeFromJSON = PaymentInformationHashTypeFromJSON; exports.PaymentInformationHashTypeFromJSONTyped = PaymentInformationHashTypeFromJSONTyped; exports.PaymentInformationHashTypeToJSON = PaymentInformationHashTypeToJSON; exports.PaymentInformationHashTypeToJSONTyped = PaymentInformationHashTypeToJSONTyped; /** * Check if a given object implements the PaymentInformationHashType interface. */ function instanceOfPaymentInformationHashType(value) { return true; } function PaymentInformationHashTypeFromJSON(json) { return PaymentInformationHashTypeFromJSONTyped(json, false); } function PaymentInformationHashTypeFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'id': json['id'] == null ? undefined : json['id'], }; } function PaymentInformationHashTypeToJSON(json) { return PaymentInformationHashTypeToJSONTyped(json, false); } function PaymentInformationHashTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }