/* * AvaTax Software Development Kit for JavaScript * * (c) 2004-2022 Avalara, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Jonathan Wenger * @author Sachin Baijal * @copyright 2004-2018 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 * @link https://github.com/avadev/AvaTax-REST-V2-JS-SDK */ import * as Enums from '../enums/index'; import { JsonObject, JsonProperty } from "json2typescript"; import { DateConverter } from "../utils/dateConverter"; /** * A flattened model for State Config sourced from the AvaTaxGlobal database. * @export * @class GlobalStateConfigModel */ @JsonObject("GlobalStateConfigModel") export class GlobalStateConfigModel { /** * @type {string} * @memberof GlobalStateConfigModel */ @JsonProperty("state", String, true) state?: string | undefined = undefined; /** * @type {string} * @memberof GlobalStateConfigModel */ @JsonProperty("stateName", String, true) stateName?: string | undefined = undefined; /** * @type {string} * @memberof GlobalStateConfigModel */ @JsonProperty("country", String, true) country?: string | undefined = undefined; /** * @type {Date} * @memberof GlobalStateConfigModel */ @JsonProperty("effDate", DateConverter, true) effDate?: Date | undefined = undefined; /** * @type {Date} * @memberof GlobalStateConfigModel */ @JsonProperty("endDate", DateConverter, true) endDate?: Date | undefined = undefined; /** * @type {boolean} * @memberof GlobalStateConfigModel */ @JsonProperty("hasBoundary", Boolean, true) hasBoundary?: boolean | undefined = undefined; /** * @type {Date} * @memberof GlobalStateConfigModel */ @JsonProperty("createDate", DateConverter, true) createDate?: Date | undefined = undefined; /** * @type {Date} * @memberof GlobalStateConfigModel */ @JsonProperty("modifiedDate", DateConverter, true) modifiedDate?: Date | undefined = undefined; }