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

io.sphere.sdk.carts.expansion.ItemStateExpansionModelImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
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