io.sphere.sdk.carts.InventoryMode Maven / Gradle / Ivy
package io.sphere.sdk.carts;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.SphereEnumeration;
/**
* InventoryMode.
*
* For the import and the export of values see also {@link SphereEnumeration}.
*
*/
public enum InventoryMode implements SphereEnumeration {
TRACK_ONLY, RESERVE_ON_ORDER, NONE;
public static InventoryMode defaultValue() {
return InventoryMode.NONE;
}
@JsonCreator
public static InventoryMode ofSphereValue(final String value) {
return SphereEnumeration.findBySphereName(values(), value).get();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy