io.sphere.sdk.orders.ParcelMeasurementsImpl Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.orders;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import java.lang.Integer;
import java.util.List;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
comments = "Generated from: io.sphere.sdk.orders.ParcelMeasurements"
)
final class ParcelMeasurementsImpl extends Base implements ParcelMeasurements {
private Integer heightInMillimeter;
@Nullable
private List items;
private Integer lengthInMillimeter;
private Integer weightInGram;
private Integer widthInMillimeter;
@JsonCreator
ParcelMeasurementsImpl(final Integer heightInMillimeter, @Nullable final List items,
final Integer lengthInMillimeter, final Integer weightInGram,
final Integer widthInMillimeter) {
this.heightInMillimeter = heightInMillimeter;
this.items = items;
this.lengthInMillimeter = lengthInMillimeter;
this.weightInGram = weightInGram;
this.widthInMillimeter = widthInMillimeter;
}
public Integer getHeightInMillimeter() {
return heightInMillimeter;
}
@Nullable
public List getItems() {
return items;
}
public Integer getLengthInMillimeter() {
return lengthInMillimeter;
}
public Integer getWeightInGram() {
return weightInGram;
}
public Integer getWidthInMillimeter() {
return widthInMillimeter;
}
}