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.shipping.common.transfer;
018
019import com.echothree.model.control.selector.common.transfer.SelectorTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021
022public class ShippingMethodTransfer
023        extends BaseTransfer {
024    
025    private String shippingMethodName;
026    private SelectorTransfer geoCodeSelector;
027    private SelectorTransfer itemSelector;
028    private Integer sortOrder;
029    private String description;
030    
031    /** Creates a new instance of ShippingMethodTransfer */
032    public ShippingMethodTransfer(String shippingMethodName, SelectorTransfer geoCodeSelector, SelectorTransfer itemSelector, Integer sortOrder,
033            String description) {
034        this.shippingMethodName = shippingMethodName;
035        this.geoCodeSelector = geoCodeSelector;
036        this.itemSelector = itemSelector;
037        this.sortOrder = sortOrder;
038        this.description = description;
039    }
040
041    /**
042     * Returns the shippingMethodName.
043     * @return the shippingMethodName
044     */
045    public String getShippingMethodName() {
046        return shippingMethodName;
047    }
048
049    /**
050     * Sets the shippingMethodName.
051     * @param shippingMethodName the shippingMethodName to set
052     */
053    public void setShippingMethodName(String shippingMethodName) {
054        this.shippingMethodName = shippingMethodName;
055    }
056
057    /**
058     * Returns the geoCodeSelector.
059     * @return the geoCodeSelector
060     */
061    public SelectorTransfer getGeoCodeSelector() {
062        return geoCodeSelector;
063    }
064
065    /**
066     * Sets the geoCodeSelector.
067     * @param geoCodeSelector the geoCodeSelector to set
068     */
069    public void setGeoCodeSelector(SelectorTransfer geoCodeSelector) {
070        this.geoCodeSelector = geoCodeSelector;
071    }
072
073    /**
074     * Returns the itemSelector.
075     * @return the itemSelector
076     */
077    public SelectorTransfer getItemSelector() {
078        return itemSelector;
079    }
080
081    /**
082     * Sets the itemSelector.
083     * @param itemSelector the itemSelector to set
084     */
085    public void setItemSelector(SelectorTransfer itemSelector) {
086        this.itemSelector = itemSelector;
087    }
088
089    /**
090     * Returns the sortOrder.
091     * @return the sortOrder
092     */
093    public Integer getSortOrder() {
094        return sortOrder;
095    }
096
097    /**
098     * Sets the sortOrder.
099     * @param sortOrder the sortOrder to set
100     */
101    public void setSortOrder(Integer sortOrder) {
102        this.sortOrder = sortOrder;
103    }
104
105    /**
106     * Returns the description.
107     * @return the description
108     */
109    public String getDescription() {
110        return description;
111    }
112
113    /**
114     * Sets the description.
115     * @param description the description to set
116     */
117    public void setDescription(String description) {
118        this.description = description;
119    }
120    
121}