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.ExpansionPath;
import io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel;
import javax.annotation.Nullable;
public class ShippingInfoExpansionModel extends ExpansionModel {
public ShippingInfoExpansionModel(@Nullable final String parentPath, @Nullable final String path) {
super(parentPath, path);
}
public ExpansionPath taxCategory() {
return expansionPath("taxCategory");
}
public ShippingMethodExpansionModel shippingMethod() {
return new ShippingMethodExpansionModel<>(buildPathExpression(), "shippingMethod");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy