PusOnLocation.java
/*
* Copyright 2005-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.openwms.wms.inventory.api;
import org.openwms.core.units.api.Measurable;
import java.io.Serializable;
/**
* A PusOnLocation.
*
* @author Heiko Scherrer
*/
public class PusOnLocation implements Serializable {
// PU...
private Measurable quantity;
private String transportUnitBK;
private String state;
// Location...
private String actualErpCode;
private String locationGroupName;
// Product...
private String sku;
private String eanLabel;
private String description;
public PusOnLocation() { }
public PusOnLocation(Measurable quantity, String transportUnitBK, String actualErpCode, String locationGroupName,
String sku, String eanLabel, String description, String state) {
this.quantity = quantity;
this.transportUnitBK = transportUnitBK;
this.actualErpCode = actualErpCode;
this.locationGroupName = locationGroupName;
this.sku = sku;
this.eanLabel = eanLabel;
this.description = description;
this.state = state;
}
public Measurable getQuantity() {
return quantity;
}
public void setQuantity(Measurable quantity) {
this.quantity = quantity;
}
public String getTransportUnitBK() {
return transportUnitBK;
}
public void setTransportUnitBK(String transportUnitBK) {
this.transportUnitBK = transportUnitBK;
}
public String getActualErpCode() {
return actualErpCode;
}
public void setActualErpCode(String actualErpCode) {
this.actualErpCode = actualErpCode;
}
public String getLocationGroupName() {
return locationGroupName;
}
public void setLocationGroupName(String locationGroupName) {
this.locationGroupName = locationGroupName;
}
public String getSku() {
return sku;
}
public void setSku(String sku) {
this.sku = sku;
}
public String getEanLabel() {
return eanLabel;
}
public void setEanLabel(String eanLabel) {
this.eanLabel = eanLabel;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
}