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

io.sphere.sdk.shippingmethods.queries.ShippingMethodsByCartGetImpl Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.shippingmethods.queries;

import com.fasterxml.jackson.core.type.TypeReference;
import io.sphere.sdk.queries.MetaModelGetDslBuilder;
import io.sphere.sdk.queries.MetaModelGetDslImpl;
import io.sphere.sdk.shippingmethods.ShippingMethod;
import io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel;

import java.util.List;

final class ShippingMethodsByCartGetImpl extends MetaModelGetDslImpl, ShippingMethod, ShippingMethodsByCartGetImpl, ShippingMethodExpansionModel> implements ShippingMethodsByCartGet {
    ShippingMethodsByCartGetImpl(final String cartId) {
        super("?cartId=" + cartId, ShippingMethodEndpoint.ENDPOINT.withTypeReference(new TypeReference>() {
            @Override
            public String toString() {
                return "TypeReference>";
            }
        }), ShippingMethodExpansionModel.of(), ShippingMethodsByCartGetImpl::new);
    }

    public ShippingMethodsByCartGetImpl(MetaModelGetDslBuilder, ShippingMethod, ShippingMethodsByCartGetImpl, ShippingMethodExpansionModel> builder) {
        super(builder);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy