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

io.sphere.sdk.reviews.expansion.ReviewExpansionModelImpl Maven / Gradle / Ivy

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