io.sphere.sdk.carts.expansion.ShippingInfoExpansionModel Maven / Gradle / Ivy
package io.sphere.sdk.carts.expansion;
import io.sphere.sdk.expansion.ExpansionModel;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel;
import javax.annotation.Nullable;
import java.util.List;
public class ShippingInfoExpansionModel extends ExpansionModel {
public ShippingInfoExpansionModel(final List parentPath, @Nullable final String path) {
super(parentPath, path);
}
public ExpansionPathContainer taxCategory() {
return expansionPath("taxCategory");
}
public ShippingMethodExpansionModel shippingMethod() {
return new ShippingMethodExpansionModel<>(buildPathExpression(), "shippingMethod");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy