UNPKG

wallee

Version:
28 lines (27 loc) 771 B
/** * Check if a given object implements the CardCryptogram interface. */ export function instanceOfCardCryptogram(value) { return true; } export function CardCryptogramFromJSON(json) { return CardCryptogramFromJSONTyped(json, false); } export function CardCryptogramFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'eci': json['eci'] == null ? undefined : json['eci'], 'value': json['value'] == null ? undefined : json['value'], }; } export function CardCryptogramToJSON(json) { return CardCryptogramToJSONTyped(json, false); } export function CardCryptogramToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }