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.item.common.transfer; 018 019import com.echothree.model.control.geo.common.transfer.CountryTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class ItemCountryOfOriginTransfer 023 extends BaseTransfer { 024 025 private ItemTransfer item; 026 private CountryTransfer countryGeoCode; 027 private Integer unformattedPercent; 028 private String percent; 029 030 /** Creates a new instance of ItemCountryOfOriginTransfer */ 031 public ItemCountryOfOriginTransfer(ItemTransfer item, CountryTransfer countryGeoCode, Integer unformattedPercent, String percent) { 032 this.item = item; 033 this.countryGeoCode = countryGeoCode; 034 this.unformattedPercent = unformattedPercent; 035 this.percent = percent; 036 } 037 038 /** 039 * Returns the item. 040 * @return the item 041 */ 042 public ItemTransfer getItem() { 043 return item; 044 } 045 046 /** 047 * Sets the item. 048 * @param item the item to set 049 */ 050 public void setItem(ItemTransfer item) { 051 this.item = item; 052 } 053 054 /** 055 * Returns the countryGeoCode. 056 * @return the countryGeoCode 057 */ 058 public CountryTransfer getCountryGeoCode() { 059 return countryGeoCode; 060 } 061 062 /** 063 * Sets the countryGeoCode. 064 * @param countryGeoCode the countryGeoCode to set 065 */ 066 public void setCountryGeoCode(CountryTransfer countryGeoCode) { 067 this.countryGeoCode = countryGeoCode; 068 } 069 070 /** 071 * Returns the unformattedPercent. 072 * @return the unformattedPercent 073 */ 074 public Integer getUnformattedPercent() { 075 return unformattedPercent; 076 } 077 078 /** 079 * Sets the unformattedPercent. 080 * @param unformattedPercent the unformattedPercent to set 081 */ 082 public void setUnformattedPercent(Integer unformattedPercent) { 083 this.unformattedPercent = unformattedPercent; 084 } 085 086 /** 087 * Returns the percent. 088 * @return the percent 089 */ 090 public String getPercent() { 091 return percent; 092 } 093 094 /** 095 * Sets the percent. 096 * @param percent the percent to set 097 */ 098 public void setPercent(String percent) { 099 this.percent = percent; 100 } 101 102}