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.tax.common.transfer; 018 019import com.echothree.model.control.accounting.common.transfer.GlAccountTransfer; 020import com.echothree.model.control.contact.common.transfer.ContactMechanismPurposeTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class TaxTransfer 024 extends BaseTransfer { 025 026 private String taxName; 027 private ContactMechanismPurposeTransfer contactMechanismPurpose; 028 private GlAccountTransfer glAccount; 029 private String percent; 030 private Boolean isDefault; 031 private Integer sortOrder; 032 private String description; 033 034 /** Creates a new instance of TaxTransfer */ 035 public TaxTransfer(String taxName, ContactMechanismPurposeTransfer contactMechanismPurpose, GlAccountTransfer glAccount, 036 String percent, Boolean isDefault, Integer sortOrder, String description) { 037 this.taxName = taxName; 038 this.contactMechanismPurpose = contactMechanismPurpose; 039 this.glAccount = glAccount; 040 this.percent = percent; 041 this.isDefault = isDefault; 042 this.sortOrder = sortOrder; 043 this.description = description; 044 } 045 046 public String getTaxName() { 047 return taxName; 048 } 049 050 public void setTaxName(String taxName) { 051 this.taxName = taxName; 052 } 053 054 public ContactMechanismPurposeTransfer getContactMechanismPurpose() { 055 return contactMechanismPurpose; 056 } 057 058 public void setContactMechanismPurpose(ContactMechanismPurposeTransfer contactMechanismPurpose) { 059 this.contactMechanismPurpose = contactMechanismPurpose; 060 } 061 062 public GlAccountTransfer getGlAccount() { 063 return glAccount; 064 } 065 066 public void setGlAccount(GlAccountTransfer glAccount) { 067 this.glAccount = glAccount; 068 } 069 070 public String getPercent() { 071 return percent; 072 } 073 074 public void setPercent(String percent) { 075 this.percent = percent; 076 } 077 078 public Boolean getIsDefault() { 079 return isDefault; 080 } 081 082 public void setIsDefault(Boolean isDefault) { 083 this.isDefault = isDefault; 084 } 085 086 public Integer getSortOrder() { 087 return sortOrder; 088 } 089 090 public void setSortOrder(Integer sortOrder) { 091 this.sortOrder = sortOrder; 092 } 093 094 public String getDescription() { 095 return description; 096 } 097 098 public void setDescription(String description) { 099 this.description = description; 100 } 101 102}