io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.shippingmethods.expansion;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import io.sphere.sdk.shippingmethods.ShippingMethod;
import io.sphere.sdk.taxcategories.expansion.TaxCategoryExpansionModel;
import io.sphere.sdk.zones.expansion.ZoneExpansionModel;
import java.util.List;
public interface ShippingMethodExpansionModel extends ExpansionPathContainer {
TaxCategoryExpansionModel taxCategory();
ZoneRateExpansionModel zoneRates();
ZoneRateExpansionModel zoneRates(int index);
ZoneExpansionModel zones();
ZoneExpansionModel zones(int index);
static ShippingMethodExpansionModel of() {
return new ShippingMethodExpansionModelImpl<>();
}
static ShippingMethodExpansionModel of(final List parentPath, final String path) {
return new ShippingMethodExpansionModelImpl<>(parentPath, path);
}
}