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.model.control.core.common.transfer.MimeTypeTransfer;
020import com.echothree.model.control.party.common.transfer.LanguageTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class CancellationPolicyTranslationTransfer
024        extends BaseTransfer {
025    
026    private CancellationPolicyTransfer cancellationPolicy;
027    private LanguageTransfer language;
028    private String description;
029    private MimeTypeTransfer policyMimeType;
030    private String policy;
031    
032    /** Creates a new instance of CancellationPolicyTranslationTransfer */
033    public CancellationPolicyTranslationTransfer(CancellationPolicyTransfer cancellationPolicy, LanguageTransfer language, String description,
034            MimeTypeTransfer policyMimeType, String policy) {
035        this.cancellationPolicy = cancellationPolicy;
036        this.language = language;
037        this.description = description;
038        this.policyMimeType = policyMimeType;
039        this.policy = policy;
040    }
041
042    public CancellationPolicyTransfer getCancellationPolicy() {
043        return cancellationPolicy;
044    }
045
046    public void setCancellationPolicy(CancellationPolicyTransfer cancellationPolicy) {
047        this.cancellationPolicy = cancellationPolicy;
048    }
049
050    public LanguageTransfer getLanguage() {
051        return language;
052    }
053
054    public void setLanguage(LanguageTransfer language) {
055        this.language = language;
056    }
057
058    public String getDescription() {
059        return description;
060    }
061
062    public void setDescription(String description) {
063        this.description = description;
064    }
065
066    public MimeTypeTransfer getPolicyMimeType() {
067        return policyMimeType;
068    }
069
070    public void setPolicyMimeType(MimeTypeTransfer policyMimeType) {
071        this.policyMimeType = policyMimeType;
072    }
073
074    public String getPolicy() {
075        return policy;
076    }
077
078    public void setPolicy(String policy) {
079        this.policy = policy;
080    }
081
082}