UNPKG

wallee

Version:
44 lines (43 loc) 2.38 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPaymentAppCompletionConfigurationCreate = instanceOfPaymentAppCompletionConfigurationCreate; exports.PaymentAppCompletionConfigurationCreateFromJSON = PaymentAppCompletionConfigurationCreateFromJSON; exports.PaymentAppCompletionConfigurationCreateFromJSONTyped = PaymentAppCompletionConfigurationCreateFromJSONTyped; exports.PaymentAppCompletionConfigurationCreateToJSON = PaymentAppCompletionConfigurationCreateToJSON; exports.PaymentAppCompletionConfigurationCreateToJSONTyped = PaymentAppCompletionConfigurationCreateToJSONTyped; /** * Check if a given object implements the PaymentAppCompletionConfigurationCreate interface. */ function instanceOfPaymentAppCompletionConfigurationCreate(value) { return true; } function PaymentAppCompletionConfigurationCreateFromJSON(json) { return PaymentAppCompletionConfigurationCreateFromJSONTyped(json, false); } function PaymentAppCompletionConfigurationCreateFromJSONTyped(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 PaymentAppCompletionConfigurationCreateToJSON(json) { return PaymentAppCompletionConfigurationCreateToJSONTyped(json, false); } function PaymentAppCompletionConfigurationCreateToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'multipleCompletionsSupported': value['multipleCompletionsSupported'], 'maximalCompletionDelayInDays': value['maximalCompletionDelayInDays'], 'completionEndpoint': value['completionEndpoint'], 'completionTimeoutInMinutes': value['completionTimeoutInMinutes'], 'voidEndpoint': value['voidEndpoint'], }; }