UNPKG

wallee

Version:
29 lines (28 loc) 939 B
/** * Check if a given object implements the ExpressCheckoutWalletType interface. */ export function instanceOfExpressCheckoutWalletType(value) { return true; } export function ExpressCheckoutWalletTypeFromJSON(json) { return ExpressCheckoutWalletTypeFromJSONTyped(json, false); } export function ExpressCheckoutWalletTypeFromJSONTyped(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'], }; } export function ExpressCheckoutWalletTypeToJSON(json) { return ExpressCheckoutWalletTypeToJSONTyped(json, false); } export function ExpressCheckoutWalletTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }