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.customer.common.transfer.CustomerTypeTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class ItemShippingTimeTransfer 023 extends BaseTransfer { 024 025 private ItemTransfer item; 026 private CustomerTypeTransfer customerType; 027 private Long unformattedShippingStartTime; 028 private String shippingStartTime; 029 private Long unformattedShippingEndTime; 030 private String shippingEndTime; 031 032 /** Creates a new instance of ItemShippingTimeTransfer */ 033 public ItemShippingTimeTransfer(ItemTransfer item, CustomerTypeTransfer customerType, Long unformattedShippingStartTime, String shippingStartTime, 034 Long unformattedShippingEndTime, String shippingEndTime) { 035 this.item = item; 036 this.customerType = customerType; 037 this.unformattedShippingStartTime = unformattedShippingStartTime; 038 this.shippingStartTime = shippingStartTime; 039 this.unformattedShippingEndTime = unformattedShippingEndTime; 040 this.shippingEndTime = shippingEndTime; 041 } 042 043 /** 044 * Returns the item. 045 * @return the item 046 */ 047 public ItemTransfer getItem() { 048 return item; 049 } 050 051 /** 052 * Sets the item. 053 * @param item the item to set 054 */ 055 public void setItem(ItemTransfer item) { 056 this.item = item; 057 } 058 059 /** 060 * Returns the customerType. 061 * @return the customerType 062 */ 063 public CustomerTypeTransfer getCustomerType() { 064 return customerType; 065 } 066 067 /** 068 * Sets the customerType. 069 * @param customerType the customerType to set 070 */ 071 public void setCustomerType(CustomerTypeTransfer customerType) { 072 this.customerType = customerType; 073 } 074 075 /** 076 * Returns the unformattedShippingStartTime. 077 * @return the unformattedShippingStartTime 078 */ 079 public Long getUnformattedShippingStartTime() { 080 return unformattedShippingStartTime; 081 } 082 083 /** 084 * Sets the unformattedShippingStartTime. 085 * @param unformattedShippingStartTime the unformattedShippingStartTime to set 086 */ 087 public void setUnformattedShippingStartTime(Long unformattedShippingStartTime) { 088 this.unformattedShippingStartTime = unformattedShippingStartTime; 089 } 090 091 /** 092 * Returns the shippingStartTime. 093 * @return the shippingStartTime 094 */ 095 public String getShippingStartTime() { 096 return shippingStartTime; 097 } 098 099 /** 100 * Sets the shippingStartTime. 101 * @param shippingStartTime the shippingStartTime to set 102 */ 103 public void setShippingStartTime(String shippingStartTime) { 104 this.shippingStartTime = shippingStartTime; 105 } 106 107 /** 108 * Returns the unformattedShippingEndTime. 109 * @return the unformattedShippingEndTime 110 */ 111 public Long getUnformattedShippingEndTime() { 112 return unformattedShippingEndTime; 113 } 114 115 /** 116 * Sets the unformattedShippingEndTime. 117 * @param unformattedShippingEndTime the unformattedShippingEndTime to set 118 */ 119 public void setUnformattedShippingEndTime(Long unformattedShippingEndTime) { 120 this.unformattedShippingEndTime = unformattedShippingEndTime; 121 } 122 123 /** 124 * Returns the shippingEndTime. 125 * @return the shippingEndTime 126 */ 127 public String getShippingEndTime() { 128 return shippingEndTime; 129 } 130 131 /** 132 * Sets the shippingEndTime. 133 * @param shippingEndTime the shippingEndTime to set 134 */ 135 public void setShippingEndTime(String shippingEndTime) { 136 this.shippingEndTime = shippingEndTime; 137 } 138 139 }