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.cancellationpolicy.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class CancellationReasonTransfer
022        extends BaseTransfer {
023    
024    private CancellationKindTransfer cancellationKind;
025    private String cancellationReasonName;
026    private Boolean isDefault;
027    private Integer sortOrder;
028    private String description;
029    
030    /** Creates a new instance of CancellationReasonTransfer */
031    public CancellationReasonTransfer(CancellationKindTransfer cancellationKind, String cancellationReasonName, Boolean isDefault, Integer sortOrder, String description) {
032        this.cancellationKind = cancellationKind;
033        this.cancellationReasonName = cancellationReasonName;
034        this.isDefault = isDefault;
035        this.sortOrder = sortOrder;
036        this.description = description;
037    }
038    
039    public CancellationKindTransfer getCancellationKind() {
040        return cancellationKind;
041    }
042    
043    public void setCancellationKind(CancellationKindTransfer cancellationKind) {
044        this.cancellationKind = cancellationKind;
045    }
046    
047    public String getCancellationReasonName() {
048        return cancellationReasonName;
049    }
050    
051    public void setCancellationReasonName(String cancellationReasonName) {
052        this.cancellationReasonName = cancellationReasonName;
053    }
054    
055    public Boolean getIsDefault() {
056        return isDefault;
057    }
058    
059    public void setIsDefault(Boolean isDefault) {
060        this.isDefault = isDefault;
061    }
062    
063    public Integer getSortOrder() {
064        return sortOrder;
065    }
066    
067    public void setSortOrder(Integer sortOrder) {
068        this.sortOrder = sortOrder;
069    }
070    
071    public String getDescription() {
072        return description;
073    }
074    
075    public void setDescription(String description) {
076        this.description = description;
077    }
078    
079}