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.order.common.transfer;
018
019import com.echothree.model.control.contact.common.transfer.PartyContactMechanismTransfer;
020import com.echothree.model.control.item.common.transfer.ItemDeliveryTypeTransfer;
021import com.echothree.model.control.shipping.common.transfer.ShippingMethodTransfer;
022import com.echothree.util.common.transfer.BaseTransfer;
023
024public class OrderShipmentGroupTransfer
025        extends BaseTransfer {
026
027    private Integer orderShipmentGroupSequence;
028    private ItemDeliveryTypeTransfer itemDeliveryType;
029    private Boolean isDefault;
030    private PartyContactMechanismTransfer partyContactMechanism;
031    private ShippingMethodTransfer shippingMethod;
032    private Boolean holdUntilComplete;
033    
034    /** Creates a new instance of OrderShipmentGroupTransfer */
035    public OrderShipmentGroupTransfer(Integer orderShipmentGroupSequence, ItemDeliveryTypeTransfer itemDeliveryType, Boolean isDefault,
036            PartyContactMechanismTransfer partyContactMechanism, ShippingMethodTransfer shippingMethod, Boolean holdUntilComplete) {
037        this.orderShipmentGroupSequence = orderShipmentGroupSequence;
038        this.itemDeliveryType = itemDeliveryType;
039        this.isDefault = isDefault;
040        this.partyContactMechanism = partyContactMechanism;
041        this.shippingMethod = shippingMethod;
042        this.holdUntilComplete = holdUntilComplete;
043    }
044
045    /**
046     * Returns the orderShipmentGroupSequence.
047     * @return the orderShipmentGroupSequence
048     */
049    public Integer getOrderShipmentGroupSequence() {
050        return orderShipmentGroupSequence;
051    }
052
053    /**
054     * Sets the orderShipmentGroupSequence.
055     * @param orderShipmentGroupSequence the orderShipmentGroupSequence to set
056     */
057    public void setOrderShipmentGroupSequence(Integer orderShipmentGroupSequence) {
058        this.orderShipmentGroupSequence = orderShipmentGroupSequence;
059    }
060
061    /**
062     * Returns the itemDeliveryType.
063     * @return the itemDeliveryType
064     */
065    public ItemDeliveryTypeTransfer getItemDeliveryType() {
066        return itemDeliveryType;
067    }
068
069    /**
070     * Sets the itemDeliveryType.
071     * @param itemDeliveryType the itemDeliveryType to set
072     */
073    public void setItemDeliveryType(ItemDeliveryTypeTransfer itemDeliveryType) {
074        this.itemDeliveryType = itemDeliveryType;
075    }
076
077    /**
078     * Returns the isDefault.
079     * @return the isDefault
080     */
081    public Boolean getIsDefault() {
082        return isDefault;
083    }
084
085    /**
086     * Sets the isDefault.
087     * @param isDefault the isDefault to set
088     */
089    public void setIsDefault(Boolean isDefault) {
090        this.isDefault = isDefault;
091    }
092
093    /**
094     * Returns the partyContactMechanism.
095     * @return the partyContactMechanism
096     */
097    public PartyContactMechanismTransfer getPartyContactMechanism() {
098        return partyContactMechanism;
099    }
100
101    /**
102     * Sets the partyContactMechanism.
103     * @param partyContactMechanism the partyContactMechanism to set
104     */
105    public void setPartyContactMechanism(PartyContactMechanismTransfer partyContactMechanism) {
106        this.partyContactMechanism = partyContactMechanism;
107    }
108
109    /**
110     * Returns the shippingMethod.
111     * @return the shippingMethod
112     */
113    public ShippingMethodTransfer getShippingMethod() {
114        return shippingMethod;
115    }
116
117    /**
118     * Sets the shippingMethod.
119     * @param shippingMethod the shippingMethod to set
120     */
121    public void setShippingMethod(ShippingMethodTransfer shippingMethod) {
122        this.shippingMethod = shippingMethod;
123    }
124
125    /**
126     * Returns the holdUntilComplete.
127     * @return the holdUntilComplete
128     */
129    public Boolean getHoldUntilComplete() {
130        return holdUntilComplete;
131    }
132
133    /**
134     * Sets the holdUntilComplete.
135     * @param holdUntilComplete the holdUntilComplete to set
136     */
137    public void setHoldUntilComplete(Boolean holdUntilComplete) {
138        this.holdUntilComplete = holdUntilComplete;
139    }
140
141}