001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 Echo Three, LLC
003//
004// Licensed under the Apache License, Version 2.0 (the "License");
005// you may not use this file except in compliance with the License.
006// You may obtain a copy of the License at
007//
008//     http://www.apache.org/licenses/LICENSE-2.0
009//
010// Unless required by applicable law or agreed to in writing, software
011// distributed under the License is distributed on an "AS IS" BASIS,
012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013// See the License for the specific language governing permissions and
014// limitations under the License.
015// --------------------------------------------------------------------------------
016
017package com.echothree.model.control.item.common.transfer;
018
019import com.echothree.model.control.geo.common.transfer.CountryTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021import com.echothree.util.common.transfer.MapWrapper;
022
023public class HarmonizedTariffScheduleCodeTransfer
024        extends BaseTransfer {
025    
026    private CountryTransfer countryGeoCode;
027    private String harmonizedTariffScheduleCodeName;
028    private HarmonizedTariffScheduleCodeUnitTransfer firstHarmonizedTariffScheduleCodeUnit;
029    private HarmonizedTariffScheduleCodeUnitTransfer secondHarmonizedTariffScheduleCodeUnit;
030    private Boolean isDefault;
031    private Integer sortOrder;
032    private String description;
033    
034    private MapWrapper<HarmonizedTariffScheduleCodeUseTransfer> harmonizedTariffScheduleCodeUses; 
035    
036    /** Creates a new instance of HarmonizedTariffScheduleCodeTransfer */
037    public HarmonizedTariffScheduleCodeTransfer(CountryTransfer countryGeoCode, String harmonizedTariffScheduleCodeName,
038            HarmonizedTariffScheduleCodeUnitTransfer firstHarmonizedTariffScheduleCodeUnit,
039            HarmonizedTariffScheduleCodeUnitTransfer secondHarmonizedTariffScheduleCodeUnit, Boolean isDefault, Integer sortOrder, String description) {
040        this.countryGeoCode = countryGeoCode;
041        this.harmonizedTariffScheduleCodeName = harmonizedTariffScheduleCodeName;
042        this.firstHarmonizedTariffScheduleCodeUnit = firstHarmonizedTariffScheduleCodeUnit;
043        this.secondHarmonizedTariffScheduleCodeUnit = secondHarmonizedTariffScheduleCodeUnit;
044        this.isDefault = isDefault;
045        this.sortOrder = sortOrder;
046        this.description = description;
047    }
048
049    /**
050     * Returns the countryGeoCode.
051     * @return the countryGeoCode
052     */
053    public CountryTransfer getCountryGeoCode() {
054        return countryGeoCode;
055    }
056
057    /**
058     * Sets the countryGeoCode.
059     * @param countryGeoCode the countryGeoCode to set
060     */
061    public void setCountryGeoCode(CountryTransfer countryGeoCode) {
062        this.countryGeoCode = countryGeoCode;
063    }
064    
065    /**
066     * Returns the harmonizedTariffScheduleCodeName.
067     * @return the harmonizedTariffScheduleCodeName
068     */
069    public String getHarmonizedTariffScheduleCodeName() {
070        return harmonizedTariffScheduleCodeName;
071    }
072
073    /**
074     * Sets the harmonizedTariffScheduleCodeName.
075     * @param harmonizedTariffScheduleCodeName the harmonizedTariffScheduleCodeName to set
076     */
077    public void setHarmonizedTariffScheduleCodeName(String harmonizedTariffScheduleCodeName) {
078        this.harmonizedTariffScheduleCodeName = harmonizedTariffScheduleCodeName;
079    }
080
081    /**
082     * Returns the firstHarmonizedTariffScheduleCodeUnit.
083     * @return the firstHarmonizedTariffScheduleCodeUnit
084     */
085    public HarmonizedTariffScheduleCodeUnitTransfer getFirstHarmonizedTariffScheduleCodeUnit() {
086        return firstHarmonizedTariffScheduleCodeUnit;
087    }
088
089    /**
090     * Sets the firstHarmonizedTariffScheduleCodeUnit.
091     * @param firstHarmonizedTariffScheduleCodeUnit the firstHarmonizedTariffScheduleCodeUnit to set
092     */
093    public void setFirstHarmonizedTariffScheduleCodeUnit(HarmonizedTariffScheduleCodeUnitTransfer firstHarmonizedTariffScheduleCodeUnit) {
094        this.firstHarmonizedTariffScheduleCodeUnit = firstHarmonizedTariffScheduleCodeUnit;
095    }
096
097    /**
098     * Returns the secondHarmonizedTariffScheduleCodeUnit.
099     * @return the secondHarmonizedTariffScheduleCodeUnit
100     */
101    public HarmonizedTariffScheduleCodeUnitTransfer getSecondHarmonizedTariffScheduleCodeUnit() {
102        return secondHarmonizedTariffScheduleCodeUnit;
103    }
104
105    /**
106     * Sets the secondHarmonizedTariffScheduleCodeUnit.
107     * @param secondHarmonizedTariffScheduleCodeUnit the secondHarmonizedTariffScheduleCodeUnit to set
108     */
109    public void setSecondHarmonizedTariffScheduleCodeUnit(HarmonizedTariffScheduleCodeUnitTransfer secondHarmonizedTariffScheduleCodeUnit) {
110        this.secondHarmonizedTariffScheduleCodeUnit = secondHarmonizedTariffScheduleCodeUnit;
111    }
112
113    /**
114     * Returns the isDefault.
115     * @return the isDefault
116     */
117    public Boolean getIsDefault() {
118        return isDefault;
119    }
120
121    /**
122     * Sets the isDefault.
123     * @param isDefault the isDefault to set
124     */
125    public void setIsDefault(Boolean isDefault) {
126        this.isDefault = isDefault;
127    }
128
129    /**
130     * Returns the sortOrder.
131     * @return the sortOrder
132     */
133    public Integer getSortOrder() {
134        return sortOrder;
135    }
136
137    /**
138     * Sets the sortOrder.
139     * @param sortOrder the sortOrder to set
140     */
141    public void setSortOrder(Integer sortOrder) {
142        this.sortOrder = sortOrder;
143    }
144
145    /**
146     * Returns the description.
147     * @return the description
148     */
149    public String getDescription() {
150        return description;
151    }
152
153    /**
154     * Sets the description.
155     * @param description the description to set
156     */
157    public void setDescription(String description) {
158        this.description = description;
159    }
160
161    /**
162     * Returns the harmonizedTariffScheduleCodeUses.
163     * @return the harmonizedTariffScheduleCodeUses
164     */
165    public MapWrapper<HarmonizedTariffScheduleCodeUseTransfer> getHarmonizedTariffScheduleCodeUses() {
166        return harmonizedTariffScheduleCodeUses;
167    }
168
169    /**
170     * Sets the harmonizedTariffScheduleCodeUses.
171     * @param harmonizedTariffScheduleCodeUses the harmonizedTariffScheduleCodeUses to set
172     */
173    public void setHarmonizedTariffScheduleCodeUses(MapWrapper<HarmonizedTariffScheduleCodeUseTransfer> harmonizedTariffScheduleCodeUses) {
174        this.harmonizedTariffScheduleCodeUses = harmonizedTariffScheduleCodeUses;
175    }
176
177}