UNPKG

wallee

Version:
28 lines (27 loc) 861 B
/** * Check if a given object implements the PaymentInformationHashType interface. */ export function instanceOfPaymentInformationHashType(value) { return true; } export function PaymentInformationHashTypeFromJSON(json) { return PaymentInformationHashTypeFromJSONTyped(json, false); } export function PaymentInformationHashTypeFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'id': json['id'] == null ? undefined : json['id'], }; } export function PaymentInformationHashTypeToJSON(json) { return PaymentInformationHashTypeToJSONTyped(json, false); } export function PaymentInformationHashTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }