ProductMO.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.events;
import org.openwms.core.units.api.Measurable;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* A ProductMO is a message object that represents a {@code Product}.
*
* @author Heiko Scherrer
*/
public class ProductMO implements Serializable {
private String pKey;
private String sku;
private String label;
private String accountId;
private Measurable baseUnit;
private Boolean overbookingAllowed;
private String description;
private String classification;
private String group;
private String stockZone;
private List<String> units;
private Map<String, String> details;
public String getpKey() {
return pKey;
}
public void setpKey(String pKey) {
this.pKey = pKey;
}
public String getSku() {
return sku;
}
public void setSku(String sku) {
this.sku = sku;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public Measurable getBaseUnit() {
return baseUnit;
}
public void setBaseUnit(Measurable baseUnit) {
this.baseUnit = baseUnit;
}
public Boolean getOverbookingAllowed() {
return overbookingAllowed;
}
public void setOverbookingAllowed(Boolean overbookingAllowed) {
this.overbookingAllowed = overbookingAllowed;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getClassification() {
return classification;
}
public void setClassification(String classification) {
this.classification = classification;
}
public String getGroup() {
return group;
}
public void setGroup(String group) {
this.group = group;
}
public String getStockZone() {
return stockZone;
}
public void setStockZone(String stockZone) {
this.stockZone = stockZone;
}
public List<String> getUnits() {
return units;
}
public void setUnits(List<String> units) {
this.units = units;
}
public Map<String, String> getDetails() {
return details;
}
public void setDetails(Map<String, String> details) {
this.details = details;
}
}