PackageDTO.java
package com.tradecloud.dto.external;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class PackageDTO {
private double length;
private double width;
private double weight;
private double height;
public double getLength() {
return length;
}
public void setLength(double length) {
this.length = length;
}
public double getWidth() {
return width;
}
public void setWidth(double width) {
this.width = width;
}
public double getWeight() {
return weight;
}
public void setWeight(double weight) {
this.weight = weight;
}
public double getHeight() {
return height;
}
public void setHeight(double height) {
this.height = height;
}
@Override
public String toString() {
return "ClassPojo [length = " + length + ", width = " + width + ", weight = " + weight + ", height = " + height + "]";
}
}