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