UNPKG

wallee

Version:
28 lines (27 loc) 858 B
/** * Check if a given object implements the PaymentConnectorFeature interface. */ export function instanceOfPaymentConnectorFeature(value) { return true; } export function PaymentConnectorFeatureFromJSON(json) { return PaymentConnectorFeatureFromJSONTyped(json, false); } export function PaymentConnectorFeatureFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'displayName': json['displayName'] == null ? undefined : json['displayName'], 'id': json['id'] == null ? undefined : json['id'], }; } export function PaymentConnectorFeatureToJSON(json) { return PaymentConnectorFeatureToJSONTyped(json, false); } export function PaymentConnectorFeatureToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }