"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * Octane API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateCustomerAvalaraSettingsArgsToJSON = exports.UpdateCustomerAvalaraSettingsArgsFromJSONTyped = exports.UpdateCustomerAvalaraSettingsArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
function UpdateCustomerAvalaraSettingsArgsFromJSON(json) {
    return UpdateCustomerAvalaraSettingsArgsFromJSONTyped(json, false);
}
exports.UpdateCustomerAvalaraSettingsArgsFromJSON = UpdateCustomerAvalaraSettingsArgsFromJSON;
function UpdateCustomerAvalaraSettingsArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'enableIntegration': !(0, runtime_1.exists)(json, 'enable_integration') ? undefined : json['enable_integration'],
        'businessIdentificationNumber': !(0, runtime_1.exists)(json, 'business_identification_number') ? undefined : json['business_identification_number'],
        'entityUseCode': !(0, runtime_1.exists)(json, 'entity_use_code') ? undefined : json['entity_use_code'],
        'exemptionNumber': !(0, runtime_1.exists)(json, 'exemption_number') ? undefined : json['exemption_number'],
    };
}
exports.UpdateCustomerAvalaraSettingsArgsFromJSONTyped = UpdateCustomerAvalaraSettingsArgsFromJSONTyped;
function UpdateCustomerAvalaraSettingsArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'enable_integration': value.enableIntegration,
        'business_identification_number': value.businessIdentificationNumber,
        'entity_use_code': value.entityUseCode,
        'exemption_number': value.exemptionNumber,
    };
}
exports.UpdateCustomerAvalaraSettingsArgsToJSON = UpdateCustomerAvalaraSettingsArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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