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

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

The newest version!
package io.sphere.sdk.orders;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.SphereEnumeration;

/**
 * ShipmentState.
 *
 * For the import and the export of values see also {@link SphereEnumeration}.
 */
public enum ShipmentState implements SphereEnumeration {

    SHIPPED, READY, PENDING, PARTIAL, BACKORDER, DELAYED;

    @JsonCreator
    public static ShipmentState ofSphereValue(final String value) {
        return SphereEnumeration.findBySphereName(values(), value).get();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy