io.sphere.sdk.shippingmethods.queries.ShippingMethodsByCartGetImpl Maven / Gradle / Ivy
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