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.party.common.transfer; 018 019import com.echothree.model.control.accounting.common.transfer.CurrencyTransfer; 020 021public class CompanyTransfer 022 extends PartyTransfer { 023 024 private String companyName; 025 private String isDefault; 026 private String sortOrder; 027 028 /** Creates a new instance of CompanyTransfer */ 029 public CompanyTransfer(String partyName, PartyTypeTransfer partyType, LanguageTransfer preferredLanguage, CurrencyTransfer preferredCurrency, TimeZoneTransfer preferredTimeZone, 030 DateTimeFormatTransfer preferredDateTimeFormat, PersonTransfer person, PartyGroupTransfer partyGroup, String companyName, String isDefault, String sortOrder) { 031 super(partyName, partyType, preferredLanguage, preferredCurrency, preferredTimeZone, preferredDateTimeFormat, person, partyGroup, null); 032 033 this.companyName = companyName; 034 this.isDefault = isDefault; 035 this.sortOrder = sortOrder; 036 } 037 038 public String getCompanyName() { 039 return companyName; 040 } 041 042 public void setCompanyName(String companyName) { 043 this.companyName = companyName; 044 } 045 046 public String getIsDefault() { 047 return isDefault; 048 } 049 050 public void setIsDefault(String isDefault) { 051 this.isDefault = isDefault; 052 } 053 054 public String getSortOrder() { 055 return sortOrder; 056 } 057 058 public void setSortOrder(String sortOrder) { 059 this.sortOrder = sortOrder; 060 } 061 062}