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.accounting.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class CurrencyTransfer 022 extends BaseTransfer { 023 024 private String currencyIsoName; 025 private String symbol; 026 private SymbolPositionTransfer symbolPosition; 027 private Boolean symbolOnListStart; 028 private Boolean symbolOnListMember; 029 private Boolean symbolOnSubtotal; 030 private Boolean symbolOnTotal; 031 private String groupingSeparator; 032 private Integer groupingSize; 033 private String fractionSeparator; 034 private Integer defaultFractionDigits; 035 private Integer priceUnitFractionDigits; 036 private Integer priceLineFractionDigits; 037 private Integer costUnitFractionDigits; 038 private Integer costLineFractionDigits; 039 private String minusSign; 040 private Boolean isDefault; 041 private Integer sortOrder; 042 private String description; 043 044 /** Creates a new instance of CurrencyTransfer */ 045 public CurrencyTransfer(String currencyIsoName, String symbol, SymbolPositionTransfer symbolPosition, Boolean symbolOnListStart, 046 Boolean symbolOnListMember, Boolean symbolOnSubtotal, Boolean symbolOnTotal, String groupingSeparator, Integer groupingSize, 047 String fractionSeparator, Integer defaultFractionDigits, Integer priceUnitFractionDigits, Integer priceLineFractionDigits, 048 Integer costUnitFractionDigits, Integer costLineFractionDigits, String minusSign, Boolean isDefault, Integer sortOrder, 049 String description) { 050 this.currencyIsoName = currencyIsoName; 051 this.symbol = symbol; 052 this.symbolPosition = symbolPosition; 053 this.symbolOnListStart = symbolOnListStart; 054 this.symbolOnListMember = symbolOnListMember; 055 this.symbolOnSubtotal = symbolOnSubtotal; 056 this.symbolOnTotal = symbolOnTotal; 057 this.groupingSeparator = groupingSeparator; 058 this.groupingSize = groupingSize; 059 this.fractionSeparator = fractionSeparator; 060 this.defaultFractionDigits = defaultFractionDigits; 061 this.priceUnitFractionDigits = priceUnitFractionDigits; 062 this.priceLineFractionDigits = priceLineFractionDigits; 063 this.costUnitFractionDigits = costUnitFractionDigits; 064 this.costLineFractionDigits = costLineFractionDigits; 065 this.minusSign = minusSign; 066 this.isDefault = isDefault; 067 this.sortOrder = sortOrder; 068 this.description = description; 069 } 070 071 /** 072 * Returns the currencyIsoName. 073 * @return the currencyIsoName 074 */ 075 public String getCurrencyIsoName() { 076 return currencyIsoName; 077 } 078 079 /** 080 * Sets the currencyIsoName. 081 * @param currencyIsoName the currencyIsoName to set 082 */ 083 public void setCurrencyIsoName(String currencyIsoName) { 084 this.currencyIsoName = currencyIsoName; 085 } 086 087 /** 088 * Returns the symbol. 089 * @return the symbol 090 */ 091 public String getSymbol() { 092 return symbol; 093 } 094 095 /** 096 * Sets the symbol. 097 * @param symbol the symbol to set 098 */ 099 public void setSymbol(String symbol) { 100 this.symbol = symbol; 101 } 102 103 /** 104 * Returns the symbolPosition. 105 * @return the symbolPosition 106 */ 107 public SymbolPositionTransfer getSymbolPosition() { 108 return symbolPosition; 109 } 110 111 /** 112 * Sets the symbolPosition. 113 * @param symbolPosition the symbolPosition to set 114 */ 115 public void setSymbolPosition(SymbolPositionTransfer symbolPosition) { 116 this.symbolPosition = symbolPosition; 117 } 118 119 /** 120 * Returns the symbolOnListStart. 121 * @return the symbolOnListStart 122 */ 123 public Boolean getSymbolOnListStart() { 124 return symbolOnListStart; 125 } 126 127 /** 128 * Sets the symbolOnListStart. 129 * @param symbolOnListStart the symbolOnListStart to set 130 */ 131 public void setSymbolOnListStart(Boolean symbolOnListStart) { 132 this.symbolOnListStart = symbolOnListStart; 133 } 134 135 /** 136 * Returns the symbolOnListMember. 137 * @return the symbolOnListMember 138 */ 139 public Boolean getSymbolOnListMember() { 140 return symbolOnListMember; 141 } 142 143 /** 144 * Sets the symbolOnListMember. 145 * @param symbolOnListMember the symbolOnListMember to set 146 */ 147 public void setSymbolOnListMember(Boolean symbolOnListMember) { 148 this.symbolOnListMember = symbolOnListMember; 149 } 150 151 /** 152 * Returns the symbolOnSubtotal. 153 * @return the symbolOnSubtotal 154 */ 155 public Boolean getSymbolOnSubtotal() { 156 return symbolOnSubtotal; 157 } 158 159 /** 160 * Sets the symbolOnSubtotal. 161 * @param symbolOnSubtotal the symbolOnSubtotal to set 162 */ 163 public void setSymbolOnSubtotal(Boolean symbolOnSubtotal) { 164 this.symbolOnSubtotal = symbolOnSubtotal; 165 } 166 167 /** 168 * Returns the symbolOnTotal. 169 * @return the symbolOnTotal 170 */ 171 public Boolean getSymbolOnTotal() { 172 return symbolOnTotal; 173 } 174 175 /** 176 * Sets the symbolOnTotal. 177 * @param symbolOnTotal the symbolOnTotal to set 178 */ 179 public void setSymbolOnTotal(Boolean symbolOnTotal) { 180 this.symbolOnTotal = symbolOnTotal; 181 } 182 183 /** 184 * Returns the groupingSeparator. 185 * @return the groupingSeparator 186 */ 187 public String getGroupingSeparator() { 188 return groupingSeparator; 189 } 190 191 /** 192 * Sets the groupingSeparator. 193 * @param groupingSeparator the groupingSeparator to set 194 */ 195 public void setGroupingSeparator(String groupingSeparator) { 196 this.groupingSeparator = groupingSeparator; 197 } 198 199 /** 200 * Returns the groupingSize. 201 * @return the groupingSize 202 */ 203 public Integer getGroupingSize() { 204 return groupingSize; 205 } 206 207 /** 208 * Sets the groupingSize. 209 * @param groupingSize the groupingSize to set 210 */ 211 public void setGroupingSize(Integer groupingSize) { 212 this.groupingSize = groupingSize; 213 } 214 215 /** 216 * Returns the fractionSeparator. 217 * @return the fractionSeparator 218 */ 219 public String getFractionSeparator() { 220 return fractionSeparator; 221 } 222 223 /** 224 * Sets the fractionSeparator. 225 * @param fractionSeparator the fractionSeparator to set 226 */ 227 public void setFractionSeparator(String fractionSeparator) { 228 this.fractionSeparator = fractionSeparator; 229 } 230 231 /** 232 * Returns the defaultFractionDigits. 233 * @return the defaultFractionDigits 234 */ 235 public Integer getDefaultFractionDigits() { 236 return defaultFractionDigits; 237 } 238 239 /** 240 * Sets the defaultFractionDigits. 241 * @param defaultFractionDigits the defaultFractionDigits to set 242 */ 243 public void setDefaultFractionDigits(Integer defaultFractionDigits) { 244 this.defaultFractionDigits = defaultFractionDigits; 245 } 246 247 /** 248 * Returns the priceUnitFractionDigits. 249 * @return the priceUnitFractionDigits 250 */ 251 public Integer getPriceUnitFractionDigits() { 252 return priceUnitFractionDigits; 253 } 254 255 /** 256 * Sets the priceUnitFractionDigits. 257 * @param priceUnitFractionDigits the priceUnitFractionDigits to set 258 */ 259 public void setPriceUnitFractionDigits(Integer priceUnitFractionDigits) { 260 this.priceUnitFractionDigits = priceUnitFractionDigits; 261 } 262 263 /** 264 * Returns the priceLineFractionDigits. 265 * @return the priceLineFractionDigits 266 */ 267 public Integer getPriceLineFractionDigits() { 268 return priceLineFractionDigits; 269 } 270 271 /** 272 * Sets the priceLineFractionDigits. 273 * @param priceLineFractionDigits the priceLineFractionDigits to set 274 */ 275 public void setPriceLineFractionDigits(Integer priceLineFractionDigits) { 276 this.priceLineFractionDigits = priceLineFractionDigits; 277 } 278 279 /** 280 * Returns the costUnitFractionDigits. 281 * @return the costUnitFractionDigits 282 */ 283 public Integer getCostUnitFractionDigits() { 284 return costUnitFractionDigits; 285 } 286 287 /** 288 * Sets the costUnitFractionDigits. 289 * @param costUnitFractionDigits the costUnitFractionDigits to set 290 */ 291 public void setCostUnitFractionDigits(Integer costUnitFractionDigits) { 292 this.costUnitFractionDigits = costUnitFractionDigits; 293 } 294 295 /** 296 * Returns the costLineFractionDigits. 297 * @return the costLineFractionDigits 298 */ 299 public Integer getCostLineFractionDigits() { 300 return costLineFractionDigits; 301 } 302 303 /** 304 * Sets the costLineFractionDigits. 305 * @param costLineFractionDigits the costLineFractionDigits to set 306 */ 307 public void setCostLineFractionDigits(Integer costLineFractionDigits) { 308 this.costLineFractionDigits = costLineFractionDigits; 309 } 310 311 /** 312 * Returns the minusSign. 313 * @return the minusSign 314 */ 315 public String getMinusSign() { 316 return minusSign; 317 } 318 319 /** 320 * Sets the minusSign. 321 * @param minusSign the minusSign to set 322 */ 323 public void setMinusSign(String minusSign) { 324 this.minusSign = minusSign; 325 } 326 327 /** 328 * Returns the isDefault. 329 * @return the isDefault 330 */ 331 public Boolean getIsDefault() { 332 return isDefault; 333 } 334 335 /** 336 * Sets the isDefault. 337 * @param isDefault the isDefault to set 338 */ 339 public void setIsDefault(Boolean isDefault) { 340 this.isDefault = isDefault; 341 } 342 343 /** 344 * Returns the sortOrder. 345 * @return the sortOrder 346 */ 347 public Integer getSortOrder() { 348 return sortOrder; 349 } 350 351 /** 352 * Sets the sortOrder. 353 * @param sortOrder the sortOrder to set 354 */ 355 public void setSortOrder(Integer sortOrder) { 356 this.sortOrder = sortOrder; 357 } 358 359 /** 360 * Returns the description. 361 * @return the description 362 */ 363 public String getDescription() { 364 return description; 365 } 366 367 /** 368 * Sets the description. 369 * @param description the description to set 370 */ 371 public void setDescription(String description) { 372 this.description = description; 373 } 374 375}