UNPKG

wallee

Version:
36 lines (35 loc) 1.59 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfPaymentAppRefundConfiguration = instanceOfPaymentAppRefundConfiguration; exports.PaymentAppRefundConfigurationFromJSON = PaymentAppRefundConfigurationFromJSON; exports.PaymentAppRefundConfigurationFromJSONTyped = PaymentAppRefundConfigurationFromJSONTyped; exports.PaymentAppRefundConfigurationToJSON = PaymentAppRefundConfigurationToJSON; exports.PaymentAppRefundConfigurationToJSONTyped = PaymentAppRefundConfigurationToJSONTyped; /** * Check if a given object implements the PaymentAppRefundConfiguration interface. */ function instanceOfPaymentAppRefundConfiguration(value) { return true; } function PaymentAppRefundConfigurationFromJSON(json) { return PaymentAppRefundConfigurationFromJSONTyped(json, false); } function PaymentAppRefundConfigurationFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'refundTimeoutInMinutes': json['refundTimeoutInMinutes'] == null ? undefined : json['refundTimeoutInMinutes'], 'multipleRefundsSupported': json['multipleRefundsSupported'] == null ? undefined : json['multipleRefundsSupported'], 'refundEndpoint': json['refundEndpoint'] == null ? undefined : json['refundEndpoint'], }; } function PaymentAppRefundConfigurationToJSON(json) { return PaymentAppRefundConfigurationToJSONTyped(json, false); } function PaymentAppRefundConfigurationToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }