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

io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy