All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.orders.ParcelMeasurements Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.orders;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

@JsonDeserialize(as = ParcelMeasurementsImpl.class)
public interface ParcelMeasurements {
    Integer getHeightInMillimeter();

    Integer getLengthInMillimeter();

    Integer getWidthInMillimeter();

    Integer getWeightInGram();

    static ParcelMeasurements of(final Integer lengthInMillimeter, final Integer widthInMillimeter, final Integer heightInMillimeter, final Integer weightInGram) {
        return new ParcelMeasurementsImpl(lengthInMillimeter, widthInMillimeter, heightInMillimeter, weightInGram);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy