"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.CustomerAvalaraSettingsToJSON = exports.CustomerAvalaraSettingsFromJSONTyped = exports.CustomerAvalaraSettingsFromJSON = void 0;
const runtime_1 = require("../runtime");
function CustomerAvalaraSettingsFromJSON(json) {
    return CustomerAvalaraSettingsFromJSONTyped(json, false);
}
exports.CustomerAvalaraSettingsFromJSON = CustomerAvalaraSettingsFromJSON;
function CustomerAvalaraSettingsFromJSONTyped(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.CustomerAvalaraSettingsFromJSONTyped = CustomerAvalaraSettingsFromJSONTyped;
function CustomerAvalaraSettingsToJSON(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.CustomerAvalaraSettingsToJSON = CustomerAvalaraSettingsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VzdG9tZXJBdmFsYXJhU2V0dGluZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8u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