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.contact.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class PostalAddressLineElementTransfer
022        extends BaseTransfer {
023    
024    private PostalAddressLineTransfer postalAddressLine;
025    private Integer postalAddressLineElementSortOrder;
026    private PostalAddressElementTypeTransfer postalAddressElementType;
027    private String prefix;
028    private Boolean alwaysIncludePrefix;
029    private String suffix;
030    private Boolean alwaysIncludeSuffix;
031    
032    /** Creates a new instance of PostalAddressLineElementTransfer */
033    public PostalAddressLineElementTransfer(PostalAddressLineTransfer postalAddressLine, Integer postalAddressLineElementSortOrder,
034            PostalAddressElementTypeTransfer postalAddressElementType, String prefix, Boolean alwaysIncludePrefix, String suffix,
035            Boolean alwaysIncludeSuffix) {
036        this.postalAddressLine = postalAddressLine;
037        this.postalAddressLineElementSortOrder = postalAddressLineElementSortOrder;
038        this.postalAddressElementType = postalAddressElementType;
039        this.prefix = prefix;
040        this.alwaysIncludePrefix = alwaysIncludePrefix;
041        this.suffix = suffix;
042        this.alwaysIncludeSuffix = alwaysIncludeSuffix;
043    }
044    
045    public PostalAddressLineTransfer getPostalAddressLine() {
046        return postalAddressLine;
047    }
048    
049    public void setPostalAddressLine(PostalAddressLineTransfer postalAddressLine) {
050        this.postalAddressLine = postalAddressLine;
051    }
052    
053    public Integer getPostalAddressLineElementSortOrder() {
054        return postalAddressLineElementSortOrder;
055    }
056    
057    public void setPostalAddressLineElementSortOrder(Integer postalAddressLineElementSortOrder) {
058        this.postalAddressLineElementSortOrder = postalAddressLineElementSortOrder;
059    }
060    
061    public PostalAddressElementTypeTransfer getPostalAddressElementType() {
062        return postalAddressElementType;
063    }
064    
065    public void setPostalAddressElementType(PostalAddressElementTypeTransfer postalAddressElementType) {
066        this.postalAddressElementType = postalAddressElementType;
067    }
068    
069    public String getPrefix() {
070        return prefix;
071    }
072    
073    public void setPrefix(String prefix) {
074        this.prefix = prefix;
075    }
076    
077    public Boolean getAlwaysIncludePrefix() {
078        return alwaysIncludePrefix;
079    }
080    
081    public void setAlwaysIncludePrefix(Boolean alwaysIncludePrefix) {
082        this.alwaysIncludePrefix = alwaysIncludePrefix;
083    }
084    
085    public String getSuffix() {
086        return suffix;
087    }
088    
089    public void setSuffix(String suffix) {
090        this.suffix = suffix;
091    }
092    
093    public Boolean getAlwaysIncludeSuffix() {
094        return alwaysIncludeSuffix;
095    }
096    
097    public void setAlwaysIncludeSuffix(Boolean alwaysIncludeSuffix) {
098        this.alwaysIncludeSuffix = alwaysIncludeSuffix;
099    }
100    
101}