io.sphere.sdk.discountcodes.expansion.DiscountCodeExpansionModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.discountcodes.expansion;
import io.sphere.sdk.cartdiscounts.expansion.CartDiscountExpansionModel;
import io.sphere.sdk.expansion.ExpansionModelImpl;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import javax.annotation.Nullable;
import java.util.List;
final class DiscountCodeExpansionModelImpl extends ExpansionModelImpl implements DiscountCodeExpansionModel {
DiscountCodeExpansionModelImpl(@Nullable final List parentPath, @Nullable final String path) {
super(parentPath, path);
}
DiscountCodeExpansionModelImpl() {
super();
}
@Override
public CartDiscountExpansionModel cartDiscounts() {
return CartDiscountExpansionModel.of(pathExpression(), "cartDiscounts[*]");
}
@Override
public ExpansionPathContainer references() {
return expansionPath("references[*]");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy