io.sphere.sdk.reviews.expansion.ReviewExpansionModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.reviews.expansion;
import io.sphere.sdk.customers.expansion.CustomerExpansionModel;
import io.sphere.sdk.expansion.ExpansionModelImpl;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import io.sphere.sdk.states.expansion.StateExpansionModel;
final class ReviewExpansionModelImpl extends ExpansionModelImpl implements ReviewExpansionModel {
ReviewExpansionModelImpl(final String parentPath, final String path) {
super(parentPath, path);
}
ReviewExpansionModelImpl() {
super();
}
@Override
public CustomerExpansionModel customer() {
return CustomerExpansionModel.of(buildPathExpression(), "customer");
}
@Override
public StateExpansionModel state() {
return StateExpansionModel.of(buildPathExpression(), "state");
}
@Override
public ExpansionPathContainer target() {
return expansionPath("target");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy