UNPKG

wallee

Version:
38 lines (37 loc) 1.93 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPaymentAppCompletionConfiguration = instanceOfPaymentAppCompletionConfiguration; exports.PaymentAppCompletionConfigurationFromJSON = PaymentAppCompletionConfigurationFromJSON; exports.PaymentAppCompletionConfigurationFromJSONTyped = PaymentAppCompletionConfigurationFromJSONTyped; exports.PaymentAppCompletionConfigurationToJSON = PaymentAppCompletionConfigurationToJSON; exports.PaymentAppCompletionConfigurationToJSONTyped = PaymentAppCompletionConfigurationToJSONTyped; /** * Check if a given object implements the PaymentAppCompletionConfiguration interface. */ function instanceOfPaymentAppCompletionConfiguration(value) { return true; } function PaymentAppCompletionConfigurationFromJSON(json) { return PaymentAppCompletionConfigurationFromJSONTyped(json, false); } function PaymentAppCompletionConfigurationFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'multipleCompletionsSupported': json['multipleCompletionsSupported'] == null ? undefined : json['multipleCompletionsSupported'], 'maximalCompletionDelayInDays': json['maximalCompletionDelayInDays'] == null ? undefined : json['maximalCompletionDelayInDays'], 'completionEndpoint': json['completionEndpoint'] == null ? undefined : json['completionEndpoint'], 'completionTimeoutInMinutes': json['completionTimeoutInMinutes'] == null ? undefined : json['completionTimeoutInMinutes'], 'voidEndpoint': json['voidEndpoint'] == null ? undefined : json['voidEndpoint'], }; } function PaymentAppCompletionConfigurationToJSON(json) { return PaymentAppCompletionConfigurationToJSONTyped(json, false); } function PaymentAppCompletionConfigurationToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }