io.sphere.sdk.carts.expansion.ItemStateExpansionModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.carts.expansion;
import io.sphere.sdk.expansion.ExpansionModelImpl;
import io.sphere.sdk.states.expansion.StateExpansionModel;
import java.util.List;
final class ItemStateExpansionModelImpl extends ExpansionModelImpl implements ItemStateExpansionModel {
ItemStateExpansionModelImpl(final List parentPath, final String path) {
super(parentPath, path);
}
@Override
public StateExpansionModel state() {
return StateExpansionModel.of(buildPathExpression(), "state");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy