io.sphere.sdk.shippingmethods.ShippingMethodDraftBuilder Maven / Gradle / Ivy
package io.sphere.sdk.shippingmethods;
import io.sphere.sdk.cartdiscounts.CartPredicate;
import io.sphere.sdk.models.LocalizedString;
import io.sphere.sdk.models.Reference;
import io.sphere.sdk.models.ResourceIdentifier;
import io.sphere.sdk.taxcategories.TaxCategory;
import javax.annotation.Nullable;
import java.util.List;
public final class ShippingMethodDraftBuilder extends ShippingMethodDraftBuilderBase {
ShippingMethodDraftBuilder(Boolean _default, @Nullable String description, @Nullable String key, @Nullable LocalizedString localizedDescription,
String name, @Nullable String predicate, ResourceIdentifier taxCategory, List zoneRates) {
super(_default, description, key, localizedDescription, name, predicate, taxCategory, zoneRates);
}
public ShippingMethodDraftBuilder predicate(final CartPredicate predicate) {
return super.predicate(predicate.toSphereCartPredicate());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy