import { ICountry, ICountryClassification } from '../../../../../_common';
import { ITaxZone } from '../TaxZones';
import { ICurrency } from '../../Currency/CurrencyController';

export interface ITaxZoneMatchCriterium {
    ustid: boolean | null;
    sourceCountry: ICountry;
    sourceCountryClassification: ICountryClassification;
    destinationCountry: ICountry;
    destinationCountryClassification: ICountryClassification;
    maxTotalNet: number;
    currency: ICurrency;
    zipRuleType: string;
    zipRuleValue: string;
    priority: number;
    taxZone: ITaxZone;
    createdByUsername: string;
    modifiedByUsername: string;
    created: string;
    createdBy: number;
    modified: string;
    modifiedBy: number;
    id: number;
}
interface IMatchRulesToDelete {
    id: number;
}
export interface IMatchRulesContainer {
    id: number;
    ustid: boolean | string | null;
    sourceCountryClassification?: number;
    sourceCountry: string;
    destinationCountryClassification?: number;
    destinationCountry: string;
    maxTotalNet?: number;
    currency: string;
    zipRuleType: string;
    zipRuleValue?: string;
    startZipValue?: string;
    endZipValue?: string;
    priority?: number;
    taxZone?: number;
    createdByUsername?: string;
    modifiedByUsername?: string;
    created?: string;
    createdBy?: number;
    modified?: string;
    modifiedBy?: number;
}
export interface ISaveMatchRulesRequest {
    matchRules: IMatchRulesContainer[];
    matchRulesToDelete: IMatchRulesToDelete[];
}
export {};
