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 io.sphere.sdk.types.CustomFieldsDraft;
import javax.annotation.Nullable;
import java.util.List;
public final class ShippingMethodDraftBuilder extends ShippingMethodDraftBuilderBase {
ShippingMethodDraftBuilder(Boolean _default, @Nullable CustomFieldsDraft customFieldsDraft, @Nullable String description, @Nullable String key, @Nullable LocalizedString localizedDescription,
@Nullable LocalizedString localizedName, String name, @Nullable String predicate, ResourceIdentifier taxCategory, List zoneRates) {
super(_default, customFieldsDraft, description, key, localizedDescription, localizedName, name, predicate, taxCategory, zoneRates);
}
public ShippingMethodDraftBuilder predicate(final CartPredicate predicate) {
return super.predicate(predicate.toSphereCartPredicate());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy